[OE-core] Always install initramfs-framework-base in case of linux-yocto & INITRAMFS_IMAGE_BUNDLE=1

Alexey Brodkin alexey.brodkin at synopsys.com
Fri Feb 8 06:41:51 UTC 2019


Hi Andrea,

> -----Original Message-----
> From: Andrea Adami <andrea.adami at gmail.com>
> Sent: Thursday, February 7, 2019 5:26 PM
> To: Alexey Brodkin <alexey.brodkin at synopsys.com>
> Cc: Leon Woestenberg <leon at sidebranch.com>; Patches and discussions about the oe-core layer
> <openembedded-core at lists.openembedded.org>
> Subject: Re: [OE-core] Always install initramfs-framework-base in case of linux-yocto &
> INITRAMFS_IMAGE_BUNDLE=1
> 
> On Wed, Feb 6, 2019 at 4:54 PM Alexey Brodkin
> <alexey.brodkin at synopsys.com> wrote:
> >
> > Hi Leon,
> >
> > > -----Original Message-----
> > > From: Leon Woestenberg <leon at sidebranch.com>
> > > Sent: Friday, February 1, 2019 12:18 AM
> > > To: Alexey Brodkin <alexey.brodkin at synopsys.com>
> > > Cc: Patches and discussions about the oe-core layer <openembedded-core at lists.openembedded.org>
> > > Subject: Re: [OE-core] Always install initramfs-framework-base in case of linux-yocto &
> > > INITRAMFS_IMAGE_BUNDLE=1
> > >
> > > On Tue, Jan 29, 2019 at 9:01 PM Alexey Brodkin
> > > <alexey.brodkin at synopsys.com> wrote:
> > > > --------------------------->8----------------------
> > > > /dev/console is missing or not a character device!
> > > > Please ensure your rootfs is properly configured
> > > > --------------------------->8----------------------
> > >
> > > I thought /dev/console could also be created by the kernel itself onto
> > > a "temporary filesystem for device nodes" (DEVTMPFS).
> > > I am not sure, but here is a similar case:
> > > https://urldefense.proofpoint.com/v2/url?u=http-3A__lists.busybox.net_pipermail_buildroot_2015-
> > >
> 2DMarch_123309.html&d=DwIBaQ&c=DPL6_X_6JkXFx7AXWqB0tg&r=lqdeeSSEes0GFDDl656eViXO7breS55ytWkhpk5R81I&m=
> > > 9xab_6OSIxhk6sCiqSFEwTUASBIaA_-C_wGiSMfJn3o&s=SJ9X7QVWrd1gCdyBsL9fdY841I4qG2y47VH3Sw-IRF4&e=
> > >
> > > Is your (other) kernel configured with CONFIG_DEVTMPFS=y?
> >
> > Indeed it is.
> >
> > The problem is devtmpfs is auto-mounted in prepare_namespace() which
> > is not executed in case of initramfs because in case of initramfs we
> > expect its "/init" will do everything itself, see [1].
> 
> Hi,
> I jump in because I was at the same point years ago [1]: the issue
> here is basically the linux-yocto specific patch adding the check for
> console.
> It was simply reverted in our case...

See this is fixed in linux-yocto now by [1].

[1] http://git.yoctoproject.org/cgit.cgi/linux-yocto/commit/?id=11e0e616ed095bb8012e1b4a231254c9656a0193&h=master

-Alexey


More information about the Openembedded-core mailing list