[OE-core] [PATCH 2/4] rootfs: Do not uninstall update-rc.d
Khem Raj
raj.khem at gmail.com
Sun Sep 6 15:25:39 UTC 2015
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 at gmail.com>
---
meta/lib/oe/rootfs.py | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/meta/lib/oe/rootfs.py b/meta/lib/oe/rootfs.py
index c29843b..4ef16c4 100644
--- a/meta/lib/oe/rootfs.py
+++ b/meta/lib/oe/rootfs.py
@@ -238,8 +238,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)
--
2.5.1
More information about the Openembedded-core
mailing list