diff options
author | Brad Bishop <bradleyb@fuzziesquirrel.com> | 2020-08-11 02:58:36 +0300 |
---|---|---|
committer | Brad Bishop <bradleyb@fuzziesquirrel.com> | 2020-08-14 02:27:55 +0300 |
commit | 4041ba5ab0def1674beec43663d984c8b3c49fc6 (patch) | |
tree | 6a3e4c0f6ca7f995302a448b5324906d1a46221b /meta-phosphor/classes | |
parent | 91728496d053cacdc7c290e0d5323171c7d36194 (diff) | |
download | openbmc-4041ba5ab0def1674beec43663d984c8b3c49fc6.tar.xz |
obmc-phosphor-image: move rootfs cmds to recipe
Similar to IMAGE_FEATURES, move the rootfs modifications to the image
recipe to open up the possibility of other image recipes using
obmc-phosphor-image.bbclass. Leave the rootfs command definitions in
the class for use by other image recipes.
(From meta-phosphor rev: 1e92fefdf8c8da253a4ed0ae35256af7592da0b6)
Change-Id: I814f73e24fda19c7fd5393252b660b20079e66c7
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
Diffstat (limited to 'meta-phosphor/classes')
-rw-r--r-- | meta-phosphor/classes/obmc-phosphor-image.bbclass | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/meta-phosphor/classes/obmc-phosphor-image.bbclass b/meta-phosphor/classes/obmc-phosphor-image.bbclass index 079495b15..797aab087 100644 --- a/meta-phosphor/classes/obmc-phosphor-image.bbclass +++ b/meta-phosphor/classes/obmc-phosphor-image.bbclass @@ -69,21 +69,11 @@ CORE_IMAGE_EXTRA_INSTALL_append = " bash \ OBMC_IMAGE_EXTRA_INSTALL ?= "" -# The /etc/version file is misleading and not useful. Remove it. -# Users should instead rely on /etc/os-release. remove_etc_version() { rm ${IMAGE_ROOTFS}${sysconfdir}/version } -ROOTFS_POSTPROCESS_COMMAND += "remove_etc_version ; " -# Disable the pager to prevent systemd injecting control characters into the -# output stream that are not interpreted by busybox tools. disable_systemd_pager() { echo "SYSTEMD_PAGER=" >> ${IMAGE_ROOTFS}${sysconfdir}/profile echo "export SYSTEMD_PAGER" >> ${IMAGE_ROOTFS}${sysconfdir}/profile } -ROOTFS_POSTPROCESS_COMMAND += "disable_systemd_pager ; " - -# The shadow recipe provides the binaries(like useradd, usermod) needed by the -# phosphor-user-manager. -ROOTFS_RO_UNNEEDED_remove = "shadow" |