[oe] Issues with the system startup when the IMAGE_TYPE is squashfs

Thomas Kunze thommycheck at gmx.de
Thu Nov 13 11:46:01 UTC 2008


Christian Pössinger schrieb:
> Hello,
>
> I'm currently building a rootfs that will be stored in a squashfs
> container. The file is properly created by OpenEmbedded, but I noticed
> some issues:
>
> First of all, when I boot an OE generated rootfs for the first time, a
> file called /etc/volatile.cache will be generated. As of the fact that
> squashfs is read-only this file can't be created.
>
> The second issue comes with the kernel modules. Again, the first system
> startup will create the modules.dep file inside the /lib/modules/$(uname
> -a) directory. But as stated before, this is not possible on a read-only
> filesystem.
>
>   
I did this some time ago: http://bugs.openembedded.net/show_bug.cgi?id=3714
I guess you can do something like this with /etc/volatile.cache too.
> Is there any way within OpenEmbedded to create those files before the
> actual rootfs image is packed?
>
>
> Best regards,
>
> Christian Pössinger
> Software Development
>
> Mixed Mode GmbH
> Lochhamer Schlag 17
> D-82166 Gräfelfing/München
> Tel.        +49 / 89 / 89 86 8-200
> Fax        +49 / 89 / 89 86 8-222
> Mobil        +49 / 172 /
> http://www.mixed-mode.de
>
>
>
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel at lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>   





More information about the Openembedded-devel mailing list