rpm-postinsts: remove erroneous call to /etc/default/rcS
authorPaul Eggleton <paul.eggleton@linux.intel.com>
Sun, 14 Apr 2013 19:43:02 +0000 (20:43 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 15 Apr 2013 08:35:40 +0000 (09:35 +0100)
This doesn't work when the initscripts package is not installed (e.g.
when using systemd only) and is not even needed.

(From OE-Core rev: 6c972598c6da17fbec7a4582eb593c31f4283275)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/rpm/rpm-postinsts.bb

index a5310b5..3d2d05d 100644 (file)
@@ -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