mirror of
https://git.yoctoproject.org/poky
synced 2026-06-02 01:19:52 +00:00
init-install-efi: fix script for gummiboot loader
After running gummiboot loader install option, the installed target storage device boot parameter for root=PARTUUID is empty causing boot failure. This issue is only observed with gummiboot and not with GRUB loader. This fix assign the rootuuid of the rootfs partition for gummiboot loader. [YOCTO #8709] (From OE-Core rev: 0b9f31452a65d1a8d8392b4ba9c335bd32860a6a) Signed-off-by: Ng, Mei Yeen <mei.yeen.ng@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
c3087bd977
commit
8ad2bcca49
@@ -223,6 +223,7 @@ if [ -f /run/media/$1/EFI/BOOT/grub.cfg ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -d /run/media/$1/loader ]; then
|
if [ -d /run/media/$1/loader ]; then
|
||||||
|
rootuuid=$(blkid -o value -s PARTUUID ${rootfs})
|
||||||
GUMMIBOOT_CFGS="/boot/loader/entries/*.conf"
|
GUMMIBOOT_CFGS="/boot/loader/entries/*.conf"
|
||||||
# copy config files for gummiboot
|
# copy config files for gummiboot
|
||||||
cp -dr /run/media/$1/loader /boot
|
cp -dr /run/media/$1/loader /boot
|
||||||
|
|||||||
Reference in New Issue
Block a user