I have an issue that generally initramfs is not detecting/mapping crypto_LUKS rootfs partition. I'm setting parameters to my grub like below:
root=LABEL=${label} rd.luks.uuid=${partuuid}
where label is the label name of ext4 partition located on encrypted luks partition and partuuid is a partuuid of crypto_LUKS partition, even though there is no systemd-cryptsetup-generator binary in my initramfs so I have added systemd to my PACKAGE_INSTALL of my initramfs image recipe but still I'm getting error that /dev/disk/by-label/${label} doesn't exist or does not contain a /dev and it should first try to decrypt the encrypted partition which is not...
Do you have some solution to this? I know that initramfs generated by dracut or mkinitcpio has already features like that but yocto initramfs images are not being built with those.
I have an issue that generally initramfs is not detecting/mapping crypto_LUKS rootfs partition. I'm setting parameters to my grub like below:
where
label
is the label name of ext4 partition located on encrypted luks partition andpartuuid
is a partuuid of crypto_LUKS partition, even though there is nosystemd-cryptsetup-generator
binary in my initramfs so I have addedsystemd
to myPACKAGE_INSTALL
of my initramfs image recipe but still I'm getting error that/dev/disk/by-label/${label}
doesn't exist or does not contain a/dev
and it should first try to decrypt the encrypted partition which is not...Do you have some solution to this? I know that initramfs generated by dracut or mkinitcpio has already features like that but yocto initramfs images are not being built with those.