* [Patch v2] sysvinit: make pidof usuable in a standalone setting
@ 2011-05-31 9:19 Koen Kooi
2011-05-31 11:44 ` Richard Purdie
0 siblings, 1 reply; 2+ messages in thread
From: Koen Kooi @ 2011-05-31 9:19 UTC (permalink / raw)
To: openembedded-core; +Cc: Koen Kooi
Currently it's a symlink to killall5:
$ dpkg-deb -c sysvinit-pidof_2.88dsf-r1_armv7a.ipk | grep pidof
lrwxrwxrwx root/root 0 2011-05-27 11:05 ./bin/pidof.sysvinit -> /sbin/killall5
The point of the pidof subpackage was to have a pidof without needing sysvinit, this restores that behaviour.
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
---
meta/recipes-core/sysvinit/sysvinit_2.88dsf.bb | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/meta/recipes-core/sysvinit/sysvinit_2.88dsf.bb b/meta/recipes-core/sysvinit/sysvinit_2.88dsf.bb
index 7d5e936..2cb650e 100644
--- a/meta/recipes-core/sysvinit/sysvinit_2.88dsf.bb
+++ b/meta/recipes-core/sysvinit/sysvinit_2.88dsf.bb
@@ -5,7 +5,7 @@ SECTION = "base"
LICENSE = "GPLv2+"
LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe \
file://COPYRIGHT;endline=15;md5=349c872e0066155e1818b786938876a4"
-PR = "r1"
+PR = "r3"
# USE_VT and SERIAL_CONSOLE are generally defined by the MACHINE .conf.
# Set PACKAGE_ARCH appropriately.
@@ -47,9 +47,11 @@ ALTERNATIVE_PRIORITY = "50"
PACKAGES =+ "sysvinit-pidof sysvinit-sulogin"
FILES_${PN} += "${base_sbindir}/* ${base_bindir}/*"
-FILES_sysvinit-pidof = "${base_bindir}/pidof.sysvinit"
+FILES_sysvinit-pidof = "${base_bindir}/pidof.sysvinit ${base_sbindir}/killall5"
FILES_sysvinit-sulogin = "${base_sbindir}/sulogin"
+RDEPENDS_${PN} += "sysvinit-pidof"
+
CFLAGS_prepend = "-D_GNU_SOURCE "
export LCRYPT = "-lcrypt"
EXTRA_OEMAKE += "'base_bindir=${base_bindir}' \
--
1.6.6.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [Patch v2] sysvinit: make pidof usuable in a standalone setting
2011-05-31 9:19 [Patch v2] sysvinit: make pidof usuable in a standalone setting Koen Kooi
@ 2011-05-31 11:44 ` Richard Purdie
0 siblings, 0 replies; 2+ messages in thread
From: Richard Purdie @ 2011-05-31 11:44 UTC (permalink / raw)
To: Patches and discussions about the oe-core layer; +Cc: Koen Kooi
On Tue, 2011-05-31 at 11:19 +0200, Koen Kooi wrote:
> Currently it's a symlink to killall5:
>
> $ dpkg-deb -c sysvinit-pidof_2.88dsf-r1_armv7a.ipk | grep pidof
> lrwxrwxrwx root/root 0 2011-05-27 11:05 ./bin/pidof.sysvinit -> /sbin/killall5
>
> The point of the pidof subpackage was to have a pidof without needing sysvinit, this restores that behaviour.
>
> Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
> ---
> meta/recipes-core/sysvinit/sysvinit_2.88dsf.bb | 6 ++++--
> 1 files changed, 4 insertions(+), 2 deletions(-)
Merged to master, thanks.
Richard
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-05-31 12:17 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-05-31 9:19 [Patch v2] sysvinit: make pidof usuable in a standalone setting Koen Kooi
2011-05-31 11:44 ` Richard Purdie
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox