[OE-core] [PATCH] busybox: Add inetd related files

Mark Hatle mark.hatle at windriver.com
Fri Jul 27 20:59:57 UTC 2012


On 7/27/12 3:26 PM, Cooper Jr., Franklin wrote:
> The section you mentioned is within the file inetd which I am adding to the SRC_URI list in the busybox_1.19.4.bb file. The variable ${sbindir} won't be expanded.
>
> -----Original Message-----
> From: Phil Blundell [mailto:philb at gnu.org]
> Sent: Friday, July 27, 2012 3:02 PM
> To: Patches and discussions about the oe-core layer
> Cc: Cooper Jr., Franklin
> Subject: Re: [OE-core] [PATCH] busybox: Add inetd related files
>
> On Fri, 2012-07-27 at 14:52 -0500, Franklin S Cooper Jr wrote:
>> +if ! [ -x /usr/sbin/inetd ]; then
>> +       exit 0
>> +fi
>
> That should be ${sbindir}.

Inline sed of the initscript may be the easiest way to do this.

You need to expand it, you can not rely on /usr/sbin/inetd, as OE-Core expressly 
permits people to change the bindir and sbindir locations.  (Generally if 
someone does, they change from /usr/sbin to /sbin, and /usr/bin to /bin...)

--Mark

> p.
>
>
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core at lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
>





More information about the Openembedded-core mailing list