[OE-core] [PATCH 2/8] initramfs-framework: create /dev/console

Patrick Ohly patrick.ohly at intel.com
Fri Sep 4 07:08:32 UTC 2015


On Thu, 2015-09-03 at 14:34 -0700, Khem Raj wrote:
> > On Sep 3, 2015, at 11:42 AM, Patrick Ohly <patrick.ohly at intel.com> wrote:
> > 
> >     install -m 0755 ${WORKDIR}/debug ${D}/init.d/00-debug
> > +
> > +    # Create device nodes expected by some kernels in initramfs
> > +    # before even executing /init.
> > +    install -d ${D}/dev
> > +    mknod -m 622 ${D}/dev/console c 5 1
> > }
> > 
> 
> may be just use USE_DEVFS = “0” instead if we are not letting devtmpfs into initrd image

The fix above is meant for the case were devfs is enabled (USE_DEVFS =
"1"). In my observation, a completely empty /dev then prevents booting
under qemu (see the "qemu + initramfs" mail thread).

-- 
Best Regards, Patrick Ohly

The content of this message is my personal opinion only and although
I am an employee of Intel, the statements I make here in no way
represent Intel's position on the issue, nor am I authorized to speak
on behalf of Intel on this matter.






More information about the Openembedded-core mailing list