mirror of
https://git.yoctoproject.org/git/poky
synced 2026-01-04 16:10:04 +00:00
initrdscripts: init-install-efi.sh install extra files for ESP
Currently the install script copy only few hard coded item while setting up target ESP, kernel artifacts, all .efi in EFI/BOOT, grub & boot cfg and loader.conf. While ESP can be much complex, eg: contain multiple initrd. Add a ESP folder to carry any other files to setup onto ESP. (From OE-Core rev: 47cf6739ab182e66d1b73cd99bab961d06f41336) Signed-off-by: Chee Yang Lee <chee.yang.lee@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 6eaca9cf20c42501fba27dea3a6446bad948e859) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
d5d6286a66
commit
1874f7f505
|
|
@ -279,6 +279,11 @@ fi
|
|||
|
||||
umount /tgt_root
|
||||
|
||||
# copy any extra files needed for ESP
|
||||
if [ -d /run/media/$1/esp ]; then
|
||||
cp -r /run/media/$1/esp/* /boot
|
||||
fi
|
||||
|
||||
# Copy kernel artifacts. To add more artifacts just add to types
|
||||
# For now just support kernel types already being used by something in OE-core
|
||||
for types in bzImage zImage vmlinux vmlinuz fitImage; do
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user