]> code.ossystems Code Review - openembedded-core.git/commitdiff
rootfs.py: Also uninstall update-alternatives and shadow for read-only-rootfs
authorAndreas Oberritter <obi@opendreambox.org>
Mon, 23 Mar 2015 18:59:30 +0000 (19:59 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 24 Mar 2015 10:07:20 +0000 (10:07 +0000)
This brings back commit d41097a970e9bfa553cd4bc3c9fad4b9073d7bd5,
which got lost during transition from image.bbclass to rootfs.py.

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/lib/oe/rootfs.py

index 4e4e6ebe390ade3f8069de7e1aa6578a0a0fa437..6fb749f049b5f86f60af840d79ab314efa114ba9 100644 (file)
@@ -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)