Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
dadigang
Ventoy
Commits
b77ef718
Commit
b77ef718
authored
May 12, 2024
by
longpanda
Browse files
bugfix
parent
72f5710b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
IMG/cpio/ventoy/hook/aryalinux/ventoy-hook.sh
IMG/cpio/ventoy/hook/aryalinux/ventoy-hook.sh
+1
-1
IMG/cpio/ventoy/hook/suse/ventoy-hook.sh
IMG/cpio/ventoy/hook/suse/ventoy-hook.sh
+1
-1
No files found.
IMG/cpio/ventoy/hook/aryalinux/ventoy-hook.sh
View file @
b77ef718
...
@@ -20,7 +20,7 @@
...
@@ -20,7 +20,7 @@
.
$VTOY_PATH
/hook/ventoy-os-lib.sh
.
$VTOY_PATH
/hook/ventoy-os-lib.sh
$BUSYBOX_PATH
/mkdir /dev
$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
$BUSYBOX_PATH
/sh
$VTOY_PATH
/hook/aryalinux/disk_hook.sh"
-i
/init
#$SED "/for device in/i exec $BUSYBOX_PATH/sh" -i /init
#$SED "/for device in/i exec $BUSYBOX_PATH/sh" -i /init
IMG/cpio/ventoy/hook/suse/ventoy-hook.sh
View file @
b77ef718
...
@@ -60,7 +60,7 @@ fi
...
@@ -60,7 +60,7 @@ fi
if
[
-e
/etc/initrd.functions
]
&&
$GREP
-q
'HPIP'
/etc/initrd.functions
;
then
if
[
-e
/etc/initrd.functions
]
&&
$GREP
-q
'HPIP'
/etc/initrd.functions
;
then
echo
"HPIP"
>>
$VTLOG
echo
"HPIP"
>>
$VTLOG
$BUSYBOX_PATH
/mkdir /dev
$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
$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
$SED
"/CD_DEVICES=/a CD_DEVICES=
\"
/dev/ventoy
\$
CD_DEVICES
\"
"
-i
/etc/initrd.functions
elif
[
-f
/scripts/udev_setup
]
;
then
elif
[
-f
/scripts/udev_setup
]
;
then
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment