Skip to contentSkip to conversation

rootfs.py: Also uninstall update-alternatives and shadow for read-only-rootfs

PATCH New Andreas Oberritter 1 participant 1 message Mar 23, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

---
 meta/lib/oe/rootfs.py | 2 ++
 1 file changed, 2 insertions(+)
meta/lib/oe/rootfs.py +2 -0
index 4e4e6eb..6fb749f 100644
@@ -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)
Signature · 1 line
1.9.1