[oe-commits] Paul Eggleton : rpm-postinsts: remove erroneous call to /etc/default/rcS

git at git.openembedded.org git at git.openembedded.org
Mon Apr 15 14:55:21 UTC 2013


Module: openembedded-core.git
Branch: master
Commit: 6c972598c6da17fbec7a4582eb593c31f4283275
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=6c972598c6da17fbec7a4582eb593c31f4283275

Author: Paul Eggleton <paul.eggleton at linux.intel.com>
Date:   Sun Apr 14 20:43:02 2013 +0100

rpm-postinsts: remove erroneous call to /etc/default/rcS

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>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

---

 meta/recipes-devtools/rpm/rpm-postinsts.bb |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

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





More information about the Openembedded-commits mailing list