From: longpanda Date: Sun, 12 May 2024 04:37:12 +0000 (+0800) Subject: bugfix X-Git-Tag: v1.0.98~20 X-Git-Url: https://glassweightruler.freedombox.rocks/gitweb/Ventoy.git/commitdiff_plain/b77ef718b433d1f9b463b99cbad2ab4ae6678a89?ds=sidebyside bugfix --- diff --git a/IMG/cpio/ventoy/hook/aryalinux/ventoy-hook.sh b/IMG/cpio/ventoy/hook/aryalinux/ventoy-hook.sh index 557566f..1900fd0 100644 --- a/IMG/cpio/ventoy/hook/aryalinux/ventoy-hook.sh +++ b/IMG/cpio/ventoy/hook/aryalinux/ventoy-hook.sh @@ -20,7 +20,7 @@ . $VTOY_PATH/hook/ventoy-os-lib.sh $BUSYBOX_PATH/mkdir /dev -$BUSYBOX_PATH/mknod -m 660 /dev/console b 5 1 +$BUSYBOX_PATH/mknod -m 660 /dev/console c 5 1 $SED "/for device in/i $BUSYBOX_PATH/sh $VTOY_PATH/hook/aryalinux/disk_hook.sh" -i /init #$SED "/for device in/i exec $BUSYBOX_PATH/sh" -i /init diff --git a/IMG/cpio/ventoy/hook/suse/ventoy-hook.sh b/IMG/cpio/ventoy/hook/suse/ventoy-hook.sh index da1eb2c..3618871 100644 --- a/IMG/cpio/ventoy/hook/suse/ventoy-hook.sh +++ b/IMG/cpio/ventoy/hook/suse/ventoy-hook.sh @@ -60,7 +60,7 @@ fi if [ -e /etc/initrd.functions ] && $GREP -q 'HPIP' /etc/initrd.functions; then echo "HPIP" >> $VTLOG $BUSYBOX_PATH/mkdir /dev - $BUSYBOX_PATH/mknod -m 660 /dev/console b 5 1 + $BUSYBOX_PATH/mknod -m 660 /dev/console c 5 1 $SED "/CD_DEVICES=/a $BUSYBOX_PATH/sh $VTOY_PATH/hook/suse/disk_hook.sh" -i /etc/initrd.functions $SED "/CD_DEVICES=/a CD_DEVICES=\"/dev/ventoy \$CD_DEVICES\"" -i /etc/initrd.functions elif [ -f /scripts/udev_setup ]; then