rpm-postinsts: remove erroneous call to /etc/default/rcS
PATCH 1/1 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 <[email protected]>
--- meta/recipes-devtools/rpm/rpm-postinsts.bb | 1 - 1 file changed, 1 deletion(-)
meta/recipes-devtools/rpm/rpm-postinsts.bb +0 -1
@@ -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
Signature · 1 line
1.7.10.4
Tested-by Khem Raj <[email protected]>
Now I see that posinsts are running. But they are running forever probably thats a separate problem
Quoted 28 lines · Paul Eggleton
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 <[email protected]>---
meta/recipes-devtools/rpm/rpm-postinsts.bb | 1 -1 file changed, 1 deletion(-)meta/recipes-devtools/rpm/rpm-postinsts.bb +0
-1@@ -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 inls /etc/rpm-postinsts/; doi=/etc/rpm-postinsts/$iSignature · 7 lines
1.7.10.4 _______________________________________________ Openembedded-core mailing list [email protected] http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core