This symlink is helpful to have

This commit is contained in:
brl 2018-02-12 22:10:54 -05:00
parent 01826e053d
commit e097b9c351

View File

@ -6,8 +6,7 @@ SYSTEMD_DEFAULT_TARGET = "graphical.target"
require citadel-image-base.bb require citadel-image-base.bb
ROOTFS_POSTPROCESS_COMMAND += "set_citadel_user_password; symlink_lib64; "
ROOTFS_POSTPROCESS_COMMAND += "set_citadel_user_password; "
#IMAGE_FSTYPES += "ext2" #IMAGE_FSTYPES += "ext2"
IMAGE_FSTYPES = "ext2" IMAGE_FSTYPES = "ext2"
@ -24,3 +23,7 @@ set_citadel_user_password() {
# crypt("citadel", "aa") # crypt("citadel", "aa")
sed -i 's%^citadel:!:%citadel:aadg8rGtZzOY6:%' ${IMAGE_ROOTFS}/etc/shadow sed -i 's%^citadel:!:%citadel:aadg8rGtZzOY6:%' ${IMAGE_ROOTFS}/etc/shadow
} }
symlink_lib64() {
ln -s /usr/lib ${IMAGE_ROOTFS}/lib64
}