[OE-core] /sbin/init not found in oe-core

Brandon Stafford brandon at rascalmicro.com
Wed May 30 20:48:00 UTC 2012


On Fri, May 25, 2012 at 5:55 PM, Mark Hatle <mark.hatle at windriver.com> wrote:
>
> On 5/25/12 3:52 PM, Brandon Stafford wrote:
>>
>> On Fri, May 25, 2012 at 4:30 PM, Mark Hatle<mark.hatle at windriver.com>  wrote:
>>
>>>> >>  Has the boot process changed? What should I be doing instead of
>>>> >>  calling /sbin/init?
>>>
>>> >
>>> >
>>> >  You should check your new rootfs.  is there anything called init on it, even
>>> >  in a different directory?
>>
>> So far as I can tell, there is no file named init in the filesystem.
>>
>>> >  Are you using meta-oe and systemd?
>>
>> meta-oe: yes
>> systemd: only if it is enabled by default, so I don't think so. I can
>> still see /etc/rc[0-5].d, so I think that means Sys V is still in
>> place.
>
>
> meta-oe may have systemd enabled by default, but I'm not sure.  I haven't used it recently enough to know for sure.
>
>>> >  You should have some type of an init in the new filesystem.. if not, then
>>> >  something is wrong with your image and you'll need to diagnose that first.
>>
>> Sounds like I have something amiss with my filesystem.

Just to wrap this up for the sake of future googlers: in my image
recipe, I was doing this:

    inherit image

instead of:

    inherit core-image

I had also omitted task-core-basic from my IMAGE_INSTALL list. I'm not
certain which solved the problem, but /sbin/init definitely now
exists.

Cheers,
Brandon




More information about the Openembedded-core mailing list