[oe-commits] Andreas Oberritter : rootfs.py: Also uninstall update-alternatives and shadow for read-only-rootfs

git at git.openembedded.org git at git.openembedded.org
Thu Apr 2 11:03:44 UTC 2015


Module: openembedded-core.git
Branch: master-next-1.9
Commit: f4932e2e640764d16f1f6d398390ebfb376f4cf1
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=f4932e2e640764d16f1f6d398390ebfb376f4cf1

Author: Andreas Oberritter <obi at opendreambox.org>
Date:   Mon Mar 23 19:59:30 2015 +0100

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 <obi at opendreambox.org>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

---

 meta/lib/oe/rootfs.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta/lib/oe/rootfs.py b/meta/lib/oe/rootfs.py
index 4e4e6eb..6fb749f 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)



More information about the Openembedded-commits mailing list