summaryrefslogtreecommitdiff
path: root/meta/lib/oe
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2015-09-06 15:25:39 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-09-07 16:56:35 +0100
commitacf90b6c299afe9e9c8fa33c3c6992bfcf40fbbf (patch)
tree16a0712063dd5c1fff493b835b3e1d8e8f87887c /meta/lib/oe
parent10c2c484d5916ad476ad7717c3629f6684f01e6d (diff)
downloadopenembedded-core-acf90b6c299afe9e9c8fa33c3c6992bfcf40fbbf.tar.gz
openembedded-core-acf90b6c299afe9e9c8fa33c3c6992bfcf40fbbf.tar.bz2
openembedded-core-acf90b6c299afe9e9c8fa33c3c6992bfcf40fbbf.zip
rootfs: Do not uninstall update-rc.d
update-rc.d is now needed by systemd to interact with sysv scripts, so if we have a mixed system, then we can not uninstall update-rc.d as it is going to break systemd functionality Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib/oe')
-rw-r--r--meta/lib/oe/rootfs.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/meta/lib/oe/rootfs.py b/meta/lib/oe/rootfs.py
index 76950ec77a..692edb1e29 100644
--- a/meta/lib/oe/rootfs.py
+++ b/meta/lib/oe/rootfs.py
@@ -240,8 +240,7 @@ class Rootfs(object):
pkgs_installed = installed_pkgs.read().splitlines()
for pkg_installed in pkgs_installed[:]:
pkg = pkg_installed.split()[0]
- if pkg in ["update-rc.d",
- "base-passwd",
+ if pkg in ["base-passwd",
"shadow",
"update-alternatives",
self.d.getVar("ROOTFS_BOOTSTRAP_INSTALL", True)