summaryrefslogtreecommitdiff
path: root/meta-phosphor/recipes-phosphor/images
diff options
context:
space:
mode:
authorWilliam A. Kennington III <wak@google.com>2019-09-23 22:27:48 +0300
committerBrad Bishop <bradleyb@fuzziesquirrel.com>2019-09-25 03:03:03 +0300
commit60301251ca16e8886300e599cbdc11e7cd6acfa4 (patch)
treecc53d4dc93323de2d915bc3730b346626dcd2db0 /meta-phosphor/recipes-phosphor/images
parente2c0ef5f8b0e0e717a19171cd94bf62a16d9fa5e (diff)
downloadopenbmc-60301251ca16e8886300e599cbdc11e7cd6acfa4.tar.xz
obmc-phosphor-initramfs: Add read-only-rootfs feature
This reduces the number of files that end up in the image like the opkg alternatives files that only get removed if the image class sees the image featurs are set to read-only. (From meta-phosphor rev: a04a0a57b5dd3b0d5f7d3c6b7058ff2ccfafeb92) Change-Id: I07aaf9dd9fbfcd8770bb8ed23236ac0e4eabe4f3 Signed-off-by: William A. Kennington III <wak@google.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
Diffstat (limited to 'meta-phosphor/recipes-phosphor/images')
-rw-r--r--meta-phosphor/recipes-phosphor/images/obmc-phosphor-initramfs.bb2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta-phosphor/recipes-phosphor/images/obmc-phosphor-initramfs.bb b/meta-phosphor/recipes-phosphor/images/obmc-phosphor-initramfs.bb
index 3f0b3c16f..739aab50b 100644
--- a/meta-phosphor/recipes-phosphor/images/obmc-phosphor-initramfs.bb
+++ b/meta-phosphor/recipes-phosphor/images/obmc-phosphor-initramfs.bb
@@ -5,7 +5,7 @@ first 'init' program more efficiently."
PACKAGE_INSTALL = "${VIRTUAL-RUNTIME_base-utils} base-passwd ${ROOTFS_BOOTSTRAP_INSTALL} obmc-phosphor-initfs"
# Do not pollute the initrd image with rootfs features
-IMAGE_FEATURES = ""
+IMAGE_FEATURES = "read-only-rootfs"
export IMAGE_BASENAME = "obmc-phosphor-initramfs"
IMAGE_LINGUAS = ""