[meta-freescale] [PATCH] wks: add a kickstart file with vfat boot and ext4 rootfs partition

Max Krummenacher max.oss.09 at gmail.com
Wed Sep 13 08:23:12 PDT 2017


Hi Otavio

2017-09-13 16:55 GMT+02:00 Otavio Salvador <otavio.salvador at ossystems.com.br>:
> Hello Max,
>
> On Wed, Sep 13, 2017 at 11:41 AM, Max Krummenacher <max.oss.09 at gmail.com> wrote:
> ...
>> Its systemd which makes the difference, with SysVinit (or something
>> else in a poky setup)
>> the not mountable fstab line seems to be simply ignored.
>> If using systemd init gets delayed by a 1.5 minute waiting for the
>> device and then you get
>> something like this:
>>
>>     Welcome to emergency mode! After Press Enter for maintenance
>>     (or press Control-D to continue):
>>
>> /etc/fstab looks like this:
...
>>     /dev/mmcblkp1    /boot    vfat    defaults    0    0
>>
>> On the Colibri iMX6 the boot partition would be /dev/mmcblk1p1, on the
>> Nitrogen6x /dev/mmcblk0p1.
>> By using the add kickstarter file wic does not modify fstab and the
>> last entry is simply not there.
>
> Right so we need to fix the root cause of it and not drop the
> partition set. Fabio please try to reproduce it and see if we can
> provide the right fstab for boot. The wic command line we added to not
> change the fstab, as well as a well defined fstab on base-files should
> do the trick.
>

Actually I'd prefer not adding the boot partition to fstab at all, at least
not having wic adding it in some magic python code after the rootfs got created.

If a machine wants this in fstab, it should inject its own fstab file
with a bbappend to base-files.

Max


More information about the meta-freescale mailing list