aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Oberritter <obi@opendreambox.org>2015-03-23 19:59:30 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-03-24 10:07:20 +0000
commitf4932e2e640764d16f1f6d398390ebfb376f4cf1 (patch)
tree07e454bd398b7957dfa043b2b3a5037ee6ca8ce1
parent0a51f024e8212f011bb8b03d81f18bcd9aa6aa1f (diff)
downloadopenembedded-core-f4932e2e640764d16f1f6d398390ebfb376f4cf1.tar.gz
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@opendreambox.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/lib/oe/rootfs.py2
1 files changed, 2 insertions, 0 deletions
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)