[OE-core] [PATCH] rpm-postinsts: remove erroneous call to /etc/default/rcS
Paul Eggleton
paul.eggleton at linux.intel.com
Sun Apr 14 19:43:02 UTC 2013
This doesn't work when the initscripts package is not installed (e.g.
when using systemd only) and is not even needed.
Signed-off-by: Paul Eggleton <paul.eggleton at linux.intel.com>
---
meta/recipes-devtools/rpm/rpm-postinsts.bb | 1 -
1 file changed, 1 deletion(-)
diff --git a/meta/recipes-devtools/rpm/rpm-postinsts.bb b/meta/recipes-devtools/rpm/rpm-postinsts.bb
index a5310b5..3d2d05d 100644
--- a/meta/recipes-devtools/rpm/rpm-postinsts.bb
+++ b/meta/recipes-devtools/rpm/rpm-postinsts.bb
@@ -36,7 +36,6 @@ if [ "x$D" != "x" ] && [ -f $D/var/lib/rpm/Packages ]; then
install -d $D/${sysconfdir}/rcS.d
cat > $D${sysconfdir}/rcS.d/S${POSTINSTALL_INITPOSITION}run-postinsts << "EOF"
#!/bin/sh
-. /etc/default/rcS
[ -d /etc/rpm-postinsts ] && for i in `ls /etc/rpm-postinsts/`; do
i=/etc/rpm-postinsts/$i
--
1.7.10.4
More information about the Openembedded-core
mailing list