2017-12-12 20:24:34 +00:00
|
|
|
|
|
|
|
SUMMARY = "Subgraph OS Citadel image builder"
|
|
|
|
LICENSE = "MIT"
|
|
|
|
|
2018-01-18 23:22:23 +00:00
|
|
|
SYSTEMD_DEFAULT_TARGET = "graphical.target"
|
|
|
|
|
2017-12-12 20:24:34 +00:00
|
|
|
require citadel-image-base.bb
|
2018-01-18 23:22:23 +00:00
|
|
|
|
|
|
|
|
|
|
|
ROOTFS_POSTPROCESS_COMMAND += "set_citadel_user_password; "
|
|
|
|
|
|
|
|
#IMAGE_FSTYPES += "ext2"
|
|
|
|
IMAGE_FSTYPES = "ext2"
|
|
|
|
|
|
|
|
IMAGE_INSTALL += "\
|
|
|
|
packagegroup-citadel-desktop \
|
|
|
|
"
|
|
|
|
|
|
|
|
set_blank_user_password() {
|
|
|
|
sed -i 's%^citadel:!:%citadel::%' ${IMAGE_ROOTFS}/etc/shadow
|
|
|
|
}
|
|
|
|
|
|
|
|
set_citadel_user_password() {
|
|
|
|
# crypt("citadel", "aa")
|
|
|
|
sed -i 's%^citadel:!:%citadel:aadg8rGtZzOY6:%' ${IMAGE_ROOTFS}/etc/shadow
|
|
|
|
}
|