Compare commits

..

No commits in common. "2b4b7f4b1a4078fab22d1ce3bd7b4462c20a17db" and "597ececb69f932f181725bb7109bc48455f87fb9" have entirely different histories.

2 changed files with 3 additions and 5 deletions

View File

@ -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/etc/kernel.d/pre-install/99-void-usb
chmod 744 /mnt/target/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/etc/kernel.d/post-install/99-void-usb
chmod 744 /mnt/target/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/etc/kernel.d/post-remove/99-void-usb
chmod 744 /mnt/target/kernel.d/post-remove/99-void-usb
run_in_target xbps-reconfigure -fa

View File

@ -11,14 +11,12 @@ if [ ! -f "$DEFAULT_LINUX" ]; then
# in cases where its 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