Remove shadow package from initramfs
Remove shadow package from initramfs. This also
removes it's dependencies like pam modules, which was
increasing the initramfs size. shadow package will come
from obmc-phosphor-image.
(From meta-phosphor rev: 17d1d721121f1d3c08be4e6fc9c1265d4c4a1189)
Change-Id: Id08d49ac6f2ba631d167163f6dad23d924e61c15
Signed-off-by: Richard Marian Thomaiyar <richard.marian.thomaiyar@linux.intel.com>
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
diff --git a/meta-phosphor/recipes-phosphor/images/obmc-phosphor-initramfs.bb b/meta-phosphor/recipes-phosphor/images/obmc-phosphor-initramfs.bb
index b68048a..d77f92c 100644
--- a/meta-phosphor/recipes-phosphor/images/obmc-phosphor-initramfs.bb
+++ b/meta-phosphor/recipes-phosphor/images/obmc-phosphor-initramfs.bb
@@ -18,4 +18,6 @@
IMAGE_ROOTFS_SIZE = "8192"
IMAGE_ROOTFS_EXTRA_SPACE = "0"
+PACKAGE_INSTALL_remove = "shadow"
+PACKAGE_EXCLUDE = "shadow"
BAD_RECOMMENDATIONS += "busybox-syslog"