From f4932e2e640764d16f1f6d398390ebfb376f4cf1 Mon Sep 17 00:00:00 2001 From: Andreas Oberritter Date: Mon, 23 Mar 2015 19:59:30 +0100 Subject: rootfs.py: Also uninstall update-alternatives and shadow for read-only-rootfs This brings back commit d41097a970e9bfa553cd4bc3c9fad4b9073d7bd5, which got lost during transition from image.bbclass to rootfs.py. Signed-off-by: Andreas Oberritter Signed-off-by: Richard Purdie --- meta/lib/oe/rootfs.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'meta/lib') diff --git a/meta/lib/oe/rootfs.py b/meta/lib/oe/rootfs.py index 4e4e6ebe39..6fb749f049 100644 --- a/meta/lib/oe/rootfs.py +++ b/meta/lib/oe/rootfs.py @@ -190,6 +190,8 @@ class Rootfs(object): pkg = pkg_installed.split()[0] if pkg in ["update-rc.d", "base-passwd", + "shadow", + "update-alternatives", self.d.getVar("ROOTFS_BOOTSTRAP_INSTALL", True) ]: pkgs_to_remove.append(pkg) -- cgit v1.2.3