mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-20 03:50:37 +02:00
add kernel to /boot
This commit is contained in:
parent
b373b83728
commit
3fdc203cc6
1 changed files with 2 additions and 2 deletions
|
@ -174,8 +174,8 @@ _prepare_uefi_image() {
|
|||
mkfs.vfat --invariant -C "${VFAT_IMAGE}" "${IMGSZ}" >/dev/null
|
||||
## Copying all files to UEFI vfat image
|
||||
mcopy -m -i "${VFAT_IMAGE}" -s "${_ISODIR}"/EFI "${_ISODIR}"/boot ::/
|
||||
# leave EFI/ for virtualbox and other restricted VM emulators
|
||||
find "${_ISODIR} "/boot ! -name "${_ISODIR}"/boot/vmlinuz-${_ARCH} -delete
|
||||
# leave EFI/ and /boot/kernel for virtualbox and other restricted VM emulators :(
|
||||
find "${_ISODIR}"/boot/* ! -name "${_ISODIR}"/boot/vmlinuz-${_ARCH} -delete
|
||||
}
|
||||
|
||||
_prepare_extlinux_conf() {
|
||||
|
|
Loading…
Reference in a new issue