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
61f289aa
"git@developer.sourcefind.cn:orangecat/ollama.git" did not exist on "658e60cf7331dfd12672de1195a8c10ca1d82f08"
Commit
61f289aa
authored
Jun 14, 2022
by
longpanda
Browse files
Fix a bug when booting daphile-21.01
parent
b099547a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
1 deletion
+6
-1
IMG/cpio/ventoy/hook/daphile/disk_hook.sh
IMG/cpio/ventoy/hook/daphile/disk_hook.sh
+5
-0
IMG/cpio/ventoy/hook/daphile/ventoy-hook.sh
IMG/cpio/ventoy/hook/daphile/ventoy-hook.sh
+1
-1
No files found.
IMG/cpio/ventoy/hook/daphile/disk_hook.sh
View file @
61f289aa
...
...
@@ -19,6 +19,8 @@
.
/ventoy/hook/ventoy-hook-lib.sh
/sbin/mdev
-s
# Just for KVM test environment
$BUSYBOX_PATH
/modprobe virtio_blk 2>/dev/null
$BUSYBOX_PATH
/modprobe virtio_pci 2>/dev/null
...
...
@@ -34,3 +36,6 @@ for i in 0 1 2 3 4 5 6 7 8 9; do
done
ventoy_udev_disk_common_hook
"
${
vtdiskname
#/dev/
}
2"
"noreplace"
$BUSYBOX_PATH
/rm
-f
/dev/dm-
*
IMG/cpio/ventoy/hook/daphile/ventoy-hook.sh
View file @
61f289aa
...
...
@@ -19,6 +19,6 @@
.
$VTOY_PATH
/hook/ventoy-os-lib.sh
$SED
"/mount_boot
/i
\
$BUSYBOX_PATH
/sh
$VTOY_PATH
/hook/
gentoo
/disk_hook.sh"
-i
/init
$SED
"/mount_boot
[^(]*
$
/
i
\
$BUSYBOX_PATH
/sh
$VTOY_PATH
/hook/
daphile
/disk_hook.sh"
-i
/init
$SED
"s#'
\.\*
/block/mmcblk[^ ]*'#'
\.\*
/block/dm-[0-9]*'#"
-i
/init
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