Compare commits
2 Commits
597ececb69
...
2b4b7f4b1a
Author | SHA1 | Date |
---|---|---|
BodgeMaster | 2b4b7f4b1a | |
BodgeMaster | ce19ca2f1a |
|
@ -289,11 +289,11 @@ chmod 744 /mnt/target/opt/void-usb/grub-config
|
|||
# run_in_target /opt/void-usb/grub-config
|
||||
|
||||
wget --output-document=/mnt/target/etc/kernel.d/pre-install/99-void-usb https://lostcave.ddnss.de/git/BodgeMaster/void-minecraft-usb/raw/branch/master/kernel.d/pre-install/99-void-usb
|
||||
chmod 744 /mnt/target/kernel.d/pre-install/99-void-usb
|
||||
chmod 744 /mnt/target/etc/kernel.d/pre-install/99-void-usb
|
||||
wget --output-document=/mnt/target/etc/kernel.d/post-install/99-void-usb https://lostcave.ddnss.de/git/BodgeMaster/void-minecraft-usb/raw/branch/master/kernel.d/post-install/99-void-usb
|
||||
chmod 744 /mnt/target/kernel.d/post-install/99-void-usb
|
||||
chmod 744 /mnt/target/etc/kernel.d/post-install/99-void-usb
|
||||
wget --output-document=/mnt/target/etc/kernel.d/post-remove/99-void-usb https://lostcave.ddnss.de/git/BodgeMaster/void-minecraft-usb/raw/branch/master/kernel.d/post-remove/99-void-usb
|
||||
chmod 744 /mnt/target/kernel.d/post-remove/99-void-usb
|
||||
chmod 744 /mnt/target/etc/kernel.d/post-remove/99-void-usb
|
||||
|
||||
run_in_target xbps-reconfigure -fa
|
||||
|
||||
|
|
|
@ -11,12 +11,14 @@ if [ ! -f "$DEFAULT_LINUX" ]; then
|
|||
# in cases where it’s a .gz or .xz or whatever
|
||||
DEFAULT_LINUX=$(find /boot -type l -name "vmlinu*" 2>/dev/null | sort | head -n1)
|
||||
fi
|
||||
DEFAULT_LINUX="$(sed 's|^/boot/||' <<< "$DEFAULT_LINUX")"
|
||||
|
||||
DEFAULT_INITRAMFS=/boot/initramfs.img
|
||||
if [ ! -f "$DEFAULT_INITRAMFS" ]; then
|
||||
# hope to find anything named initramfs or initrd
|
||||
DEFAULT_INITRAMFS=$(find /boot -type l -name "init*" 2>/dev/null | sort | head -n1)
|
||||
fi
|
||||
DEFAULT_INITRAMFS="$(sed 's|^/boot/||' <<< "$DEFAULT_INITRAMFS")"
|
||||
|
||||
function make_menuentry {
|
||||
# $1 is the kernel path
|
||||
|
|
Loading…
Reference in New Issue