aboutsummaryrefslogtreecommitdiffstats
path: root/meta/classes/image.bbclass
diff options
context:
space:
mode:
authorDavid Vincent <freesilicon@gmail.com>2017-04-26 11:30:39 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-05-16 14:08:15 +0100
commitaeec0b2ccdf8566dd07961f8c4c44fcff13b70c8 (patch)
tree710ebdfa63da0d5e7b76f91b36b9d3a82983d804 /meta/classes/image.bbclass
parenta6bef2fa065f8bb74d0084e44dd0ca47d7859113 (diff)
downloadopenembedded-core-contrib-aeec0b2ccdf8566dd07961f8c4c44fcff13b70c8.tar.gz
openembedded-core-contrib-aeec0b2ccdf8566dd07961f8c4c44fcff13b70c8.tar.bz2
openembedded-core-contrib-aeec0b2ccdf8566dd07961f8c4c44fcff13b70c8.zip
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 <freesilicon@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'meta/classes/image.bbclass')
-rw-r--r--meta/classes/image.bbclass2
1 files changed, 1 insertions, 1 deletions
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))}"