summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Eggleton <paul.eggleton@linux.intel.com>2013-04-14 20:43:02 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-04-15 09:30:52 +0100
commit6c972598c6da17fbec7a4582eb593c31f4283275 (patch)
tree46a4060d59a50da83c6d826e4a16a0ecc58f5513
parentbe218292ee3f05afe47545aa8e1625452e0cd614 (diff)
downloadopenembedded-core-6c972598c6da17fbec7a4582eb593c31f4283275.tar.gz
openembedded-core-6c972598c6da17fbec7a4582eb593c31f4283275.tar.bz2
openembedded-core-6c972598c6da17fbec7a4582eb593c31f4283275.zip
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@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-devtools/rpm/rpm-postinsts.bb1
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 a5310b53bf..3d2d05d19a 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