Openembedded Core Discussions
 help / color / mirror / Atom feed
From: Paul Eggleton <paul.eggleton@linux.intel.com>
To: Brandon Stafford <brandon@rascalmicro.com>
Cc: openembedded-core@lists.openembedded.org
Subject: Re: /sbin/init not found in oe-core
Date: Wed, 30 May 2012 22:04 +0100	[thread overview]
Message-ID: <1958256.11pGnIIT8O@helios> (raw)
In-Reply-To: <CA+b4E8ySAPZM7c4g5ZVqG-5L0ZtE1nbWRN7zy1mg+RYzxC4nzw@mail.gmail.com>

On Wednesday 30 May 2012 16:48:00 Brandon Stafford wrote:
> On Fri, May 25, 2012 at 5:55 PM, Mark Hatle <mark.hatle@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@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.

Almost certainly the latter rather than the former - inheriting image rather 
than core-image is perfectly OK, but without task-core-basic there's a whole 
heap of things you won't get including task-core-initscripts which includes 
sysvinit.

Sorry you had to go through pain here but glad you solved it in the end :)

Cheers,
Paul

-- 

Paul Eggleton
Intel Open Source Technology Centre



      reply	other threads:[~2012-05-30 21:14 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-05-25 20:22 /sbin/init not found in oe-core Brandon Stafford
2012-05-25 20:30 ` Mark Hatle
2012-05-25 20:52   ` Brandon Stafford
2012-05-25 21:55     ` Mark Hatle
2012-05-30 20:48       ` Brandon Stafford
2012-05-30 21:04         ` Paul Eggleton [this message]

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=1958256.11pGnIIT8O@helios \
    --to=paul.eggleton@linux.intel.com \
    --cc=brandon@rascalmicro.com \
    --cc=openembedded-core@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox