summaryrefslogtreecommitdiffstats
path: root/meta/lib/oe/rootfs.py
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-25 12:39:38 +0000
commitce9226f97c7955d7c1b795ca490b8c54a371b552 (patch)
tree8ceb7f74ce1bc40a7126b20e736c288302f7e50e /meta/lib/oe/rootfs.py
parent349f3ab5195c8cba5942d7486b6e9045d6106d7e (diff)
downloadpoky-ce9226f97c7955d7c1b795ca490b8c54a371b552.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. (From OE-Core rev: f4932e2e640764d16f1f6d398390ebfb376f4cf1) Signed-off-by: Andreas Oberritter <obi@opendreambox.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib/oe/rootfs.py')
-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):
190 pkg = pkg_installed.split()[0] 190 pkg = pkg_installed.split()[0]
191 if pkg in ["update-rc.d", 191 if pkg in ["update-rc.d",
192 "base-passwd", 192 "base-passwd",
193 "shadow",
194 "update-alternatives",
193 self.d.getVar("ROOTFS_BOOTSTRAP_INSTALL", True) 195 self.d.getVar("ROOTFS_BOOTSTRAP_INSTALL", True)
194 ]: 196 ]:
195 pkgs_to_remove.append(pkg) 197 pkgs_to_remove.append(pkg)