From: David Vincent Date: Wed, 26 Apr 2017 09:30:39 +0000 (+0200) Subject: image.bbclass: Set ROOTFS_RO_UNNEEDED correctly X-Git-Tag: uninative-1.7~902 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=aeec0b2ccdf8566dd07961f8c4c44fcff13b70c8;p=openembedded-core.git image.bbclass: Set ROOTFS_RO_UNNEEDED correctly Use a weak assignment for ROOTFS_RO_UNNEEDED to let users define their own list overriding defaults. Signed-off-by: David Vincent Signed-off-by: Ross Burton --- diff --git a/meta/classes/image.bbclass b/meta/classes/image.bbclass index 405fd73c04..58cd608d14 100644 --- a/meta/classes/image.bbclass +++ b/meta/classes/image.bbclass @@ -33,7 +33,7 @@ ROOTFS_BOOTSTRAP_INSTALL = "run-postinsts" # These packages will be removed from a read-only rootfs after all other # packages have been installed -ROOTFS_RO_UNNEEDED = "update-rc.d base-passwd shadow ${VIRTUAL-RUNTIME_update-alternatives} ${ROOTFS_BOOTSTRAP_INSTALL}" +ROOTFS_RO_UNNEEDED ??= "update-rc.d base-passwd shadow ${VIRTUAL-RUNTIME_update-alternatives} ${ROOTFS_BOOTSTRAP_INSTALL}" # packages to install from features FEATURE_INSTALL = "${@' '.join(oe.packagegroup.required_packages(oe.data.typed_value('IMAGE_FEATURES', d), d))}"