[yocto] Can't boot to initramfs
Burton, Ross
ross.burton at intel.com
Fri Jul 12 07:42:50 PDT 2019
On Fri, 12 Jul 2019 at 15:38, Moritz Porst <moritz.porst at gmx.de> wrote:
> If I use the .wic image, APPEND is ignored. You need to write your own
> kickstart file for this and include --append option. This usually means
> copy what you need from existing files (check license compliance) and
> add what you need. See the yocto manual on kickstart files:
> https://www.yoctoproject.org/docs/latest/mega-manual/mega-manual.html#ref-kickstart
This is a bug in the wic files, and if they're still broken in master
then please send a patch.
Notably this was the fix I did for the wic files in meta-intel:
--- a/wic/systemd-bootdisk-microcode.wks
+++ b/wic/systemd-bootdisk-microcode.wks.in
@@ -10,4 +10,4 @@ part / --source rootfs --ondisk sda --fstype=ext4
--label platform --align 1024
-bootloader --ptable gpt --timeout=5 --append="rootwait
rootfstype=ext4 console=ttyS0,115200 console=tty0"
+bootloader --ptable gpt --timeout=5 --append="rootfstype=ext4 ${APPEND}"
Easy! :)
Ross
More information about the yocto
mailing list