mirror of
https://github.com/linuxboot/heads.git
synced 2025-01-18 02:39:59 +00:00
bin/kexec-iso-init: Add support for Arch iso support requirements (found at https://mbusb.aguslr.com/howto.html)
This commit is contained in:
parent
3e526aea27
commit
acf709184f
@ -25,7 +25,7 @@ mount -t iso9660 -o loop $MOUNTED_ISO_PATH /boot \
|
||||
|| die '$MOUNTED_ISO_PATH: Unable to mount /boot'
|
||||
|
||||
DEV_UUID=`blkid $DEV | tail -1 | tr " " "\n" | grep UUID | cut -d\" -f2`
|
||||
ADD="fromiso=/dev/disk/by-uuid/$DEV_UUID/$ISO_PATH iso-scan/filename=/${ISO_PATH}"
|
||||
ADD="fromiso=/dev/disk/by-uuid/$DEV_UUID/$ISO_PATH img_dev=/dev/disk/by-uuid/$DEV_UUID iso-scan/filename=/${ISO_PATH} img_loop=$ISO_PATH"
|
||||
REMOVE=""
|
||||
|
||||
paramsdir="/media/kexec_iso/$ISO_PATH"
|
||||
|
Loading…
Reference in New Issue
Block a user