Hi
2017-09-13 23:20 GMT+02:00 Stefan Agner <[email protected]>: > > I guess / is a bit different here since it just uses /dev/root, in the end > the mmcblk comes from the boot arguments (root=). > > One could probably just define the proper mmcblkX with the --disk argument, > but that does not work since mmcblk devices are not stable. E.g. if you use > the second SDHC controller for an eMMC, and the first SDHC controller is > available externally for SD cards, you root device is mmcblk0 if there is no > SD card available, and mmcblk1 if there is one available.. At least on > mainline that is the case. There are patches floating around which provide a > more stable block device name. But the official answer is PARTUUID. So I > guess one would have to teach wks PARTUUID support for fstab generation... > > Personally I also like to have /boot mounted to the partition where the > kernels are, even if that is an external FAT partition... That is also the > case on regular Linux distros booting with UEFI. > > But Max approach would work around that issue for now until PARTUUID support > is available... > > -- > Stefan As said in the patch this commit to oe-core changed the behaviour of wic. http://cgit.openembedded.org/openembedded-core/commit/scripts/lib/wic/plugins/imager/direct.py?id=2376b05512ddb8c4ec3aaf1df11071f536a76bd9 Before that wic added a line to fstab for each partition which had a mountpoint set if the mountpoint was not '/' or '/boot'. With the patch only '/' is not added to to fstab. And the commit text clearly states that this exception is removed because a user who does not want that entry can simply omit the mountpoint in the kickstarter file. Which is why I created a new kickstarter file which does exactly what the commit text proposes. Max -- _______________________________________________ meta-freescale mailing list [email protected] https://lists.yoctoproject.org/listinfo/meta-freescale
