我有同样的问题,然后是这里的帖子。我创建了一个文件cryptsetup_%.bbappend
。我已经尝试了以下每一行:
#PACKAGECONFIG[xz] = "--enable-xz,xz"
#PACKAGECONFIG[cryptsetup] = "--enable-libcryptsetup,cryptsetup"
#EXTRA_OECONF = "cryptsetup"
PACKAGECONFIG="xz cryptosetup"
我仍然没有cryptsetup service
任何crypttab
文件。
rootfs$ find . -type f -iname "*cryptsetup*"
./usr/lib/libcryptsetup.so.4.7.0
./usr/sbin/cryptsetup
rootfs$ ll etc/
total 192
drwxr-xr-x. 31 user user 4096 Jan 31 14:05 ./
drwxr-xr-x. 17 user user 177 Jan 31 14:04 ../
-rw-r--r--. 1 user user 5281 Jan 15 11:03 asound.conf
drwxr-xr-x. 2 user user 44 Jan 31 14:04 bluetooth/
-rw-r--r--. 1 user user 2529 Jan 15 11:21 busybox.links.nosuid
-rw-r--r--. 1 user user 91 Jan 15 11:21 busybox.links.suid
drwxr-xr-x. 2 user user 94 Jan 31 14:05 core-lsb/
drwxr-xr-x. 3 user user 61 Jan 31 14:05 dbus-1/
drwxr-xr-x. 3 user user 104 Jan 31 14:05 default/
drwxr-xr-x. 2 user user 6 Jan 15 11:05 depmod.d/
drwxr-xr-x. 3 user user 34 Jan 31 14:03 dnf/
-rw-r--r--. 1 user user 3963 Jan 15 11:04 eGTouchL.ini
-rw-r--r--. 1 user user 38 Jan 29 15:46 filesystems
drwxr-xr-x. 2 user user 125 Jan 31 14:05 firmware/
drwxr-xr-x. 3 user user 38 Jan 15 10:38 fonts/
-rw-r--r--. 1 user user 637 Jan 29 15:46 fstab
...
我正在使用以下配置:
BB_VERSION = "1.38.0"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING = "ubuntu-16.04"
TARGET_SYS = "arm-eol-linux-gnueabi"
MACHINE = "xxx"
DISTRO = "xxx"
DISTRO_VERSION = "4.14-sumo"
TUNE_FEATURES = "arm armv7a vfp neon callconvention-hard cortexa9"
TARGET_FPU = "hard"
有没有人有任何想法或遇到类似的问题?谢谢!
问候