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
e1d161af
Commit
e1d161af
authored
May 02, 2022
by
longpanda
Browse files
Fix a issue when booting easyos 3.4.3+
parent
9baa9535
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
3 deletions
+5
-3
IMG/cpio/ventoy/loop/easyos/ventoy-disk.sh
IMG/cpio/ventoy/loop/easyos/ventoy-disk.sh
+2
-2
INSTALL/grub/grub.cfg
INSTALL/grub/grub.cfg
+3
-1
No files found.
IMG/cpio/ventoy/loop/easyos/ventoy-disk.sh
View file @
e1d161af
...
@@ -27,8 +27,8 @@ vtlog "####### $0 $* ########"
...
@@ -27,8 +27,8 @@ vtlog "####### $0 $* ########"
VTPATH_OLD
=
$PATH
;
PATH
=
$BUSYBOX_PATH
:
$VTOY_PATH
/tool:
$PATH
VTPATH_OLD
=
$PATH
;
PATH
=
$BUSYBOX_PATH
:
$VTOY_PATH
/tool:
$PATH
$BUSYBOX_PATH
/insmod
$VTOY_PATH
/modules/dax.ko
[
-f
$VTOY_PATH
/modules/dax.ko
]
&&
$BUSYBOX_PATH
/insmod
$VTOY_PATH
/modules/dax.ko
$BUSYBOX_PATH
/insmod
$VTOY_PATH
/modules/dm-mod.ko
[
-f
$VTOY_PATH
/modules/dm-mod.ko
]
&&
$BUSYBOX_PATH
/insmod
$VTOY_PATH
/modules/dm-mod.ko
wait_for_usb_disk_ready
wait_for_usb_disk_ready
...
...
INSTALL/grub/grub.cfg
View file @
e1d161af
...
@@ -1640,7 +1640,9 @@ function ventoy_img_easyos {
...
@@ -1640,7 +1640,9 @@ function ventoy_img_easyos {
if [ -n "$vt_module_ver" ]; then
if [ -n "$vt_module_ver" ]; then
for mod in "kernel/drivers/md/dm-mod.ko" "kernel/drivers/dax/dax.ko"; do
for mod in "kernel/drivers/md/dm-mod.ko" "kernel/drivers/dax/dax.ko"; do
vt_img_extra_initrd_append (easysfs)/lib/modules/$vt_module_ver/$mod
if [ -e (easysfs)/lib/modules/$vt_module_ver/$mod ]; then
vt_img_extra_initrd_append (easysfs)/lib/modules/$vt_module_ver/$mod
fi
done
done
fi
fi
...
...
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