* [PATCH] rpm-postinsts: remove erroneous call to /etc/default/rcS
@ 2013-04-14 19:43 Paul Eggleton
2013-04-14 22:37 ` Khem Raj
0 siblings, 1 reply; 2+ messages in thread
From: Paul Eggleton @ 2013-04-14 19:43 UTC (permalink / raw)
To: openembedded-core
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>
---
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
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] rpm-postinsts: remove erroneous call to /etc/default/rcS
2013-04-14 19:43 [PATCH] rpm-postinsts: remove erroneous call to /etc/default/rcS Paul Eggleton
@ 2013-04-14 22:37 ` Khem Raj
0 siblings, 0 replies; 2+ messages in thread
From: Khem Raj @ 2013-04-14 22:37 UTC (permalink / raw)
To: Paul Eggleton; +Cc: openembedded-core
Tested-By: Khem Raj <raj.khem@gmail.com>
Now I see that posinsts are running. But they are running forever probably thats a separate problem
On Apr 14, 2013, at 12:43 PM, Paul Eggleton <paul.eggleton@linux.intel.com> wrote:
> 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>
> ---
> 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
>
>
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-04-14 22:54 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-04-14 19:43 [PATCH] rpm-postinsts: remove erroneous call to /etc/default/rcS Paul Eggleton
2013-04-14 22:37 ` Khem Raj
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.