From: Steffen Sledz <sledz@dresearch.de>
To: openembedded-devel@lists.openembedded.org
Subject: Re: [PATCH] busybox/syslogs: use update-alternatives for syslog selection
Date: Fri, 07 May 2010 17:04:27 +0200 [thread overview]
Message-ID: <4BE42BFB.2020806@dresearch.de> (raw)
In-Reply-To: <20100507144927.GH3204@jama>
Am 07.05.2010 16:49, Martin Jansa wrote:
>> +pkg_preinst_${PN}-syslog () {
>> + # this is needed to avoid sysmlink errors,
>> + # because update-rc.d runs before pkg_postinst :(
>> + touch {sysconfdir}/init.d/syslog
>
> missing $
<Grrrr>
> touch: cannot touch `{sysconfdir}/init.d/syslog': No such file or directory
>
> but even when I add $ here it should fail like
> update-alternatives: Error: not linking //usr/bin/time to ../../bin/busybox since //usr/bin/time exists and is not a link
>
> but fails a bit different
>
> Configuring busybox-syslog.
> update-rc.d: /etc/init.d/syslog: file does not exist
> update-alternatives: Linking //etc/init.d/syslog to syslog.busybox
Are you sure that you run the patched version? It looks like
running a version without touch in pkg_preinst.
> ...
>> -INITSCRIPT_NAME = "sysklogd"
>> -INITSCRIPT_PARAMS = "start 39 S 1 2 3 . stop 99 0 6 ."
>
> params not needed anymore?
Fall back to the defaults like in all the other syslog recipes.
Regards,
Steffen
next prev parent reply other threads:[~2010-05-07 15:07 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-05-06 6:04 All the syslogs Steffen Sledz
2010-05-06 6:13 ` Koen Kooi
2010-05-07 7:46 ` Steffen Sledz
2010-05-07 10:59 ` Steffen Sledz
2010-05-07 11:09 ` Martin Jansa
2010-05-07 13:02 ` Steffen Sledz
2010-05-07 13:08 ` Martin Jansa
2010-05-07 14:04 ` Steffen Sledz
2010-05-07 14:20 ` [PATCH] busybox/syslogs: use update-alternatives for syslog selection Steffen Sledz
2010-05-07 14:49 ` Martin Jansa
2010-05-07 15:04 ` Steffen Sledz [this message]
2010-05-10 8:30 ` Martin Jansa
2010-05-07 14:58 ` Martin Jansa
2010-05-07 15:08 ` Steffen Sledz
2010-05-07 15:34 ` [PATCH v2] " Steffen Sledz
2010-05-07 14:52 ` All the syslogs Martin Jansa
2010-05-12 12:10 ` [PATCH v3] busybox/syslogs: use update-alternatives for syslog selection Steffen Sledz
2010-05-12 12:21 ` Martin Jansa
2010-05-12 12:50 ` [PATCH v4] " Steffen Sledz
2010-05-13 18:55 ` Sledz, Steffen
2010-05-17 11:11 ` Martin Jansa
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4BE42BFB.2020806@dresearch.de \
--to=sledz@dresearch.de \
--cc=openembedded-devel@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.