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
07693bf8
Commit
07693bf8
authored
Apr 09, 2022
by
longpanda
Browse files
cc
parent
b4a059dd
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
IMG/cpio/ventoy/hook/suse/disk_hook.sh
IMG/cpio/ventoy/hook/suse/disk_hook.sh
+2
-1
No files found.
IMG/cpio/ventoy/hook/suse/disk_hook.sh
View file @
07693bf8
...
@@ -32,7 +32,8 @@ ventoy_os_install_dmsetup_by_fuse() {
...
@@ -32,7 +32,8 @@ ventoy_os_install_dmsetup_by_fuse() {
mount
-t
iso9660
$VTOY_PATH
/mnt/fuse/ventoy.iso
$VTOY_PATH
/mnt/iso
mount
-t
iso9660
$VTOY_PATH
/mnt/fuse/ventoy.iso
$VTOY_PATH
/mnt/iso
mount
-t
squashfs
$VTOY_PATH
/mnt/iso/system/squashfs_sys.img
$VTOY_PATH
/mnt/squashfs
[
-f
$VTOY_PATH
/mnt/iso/system/squashfs_sys.img
]
&&
mount
-t
squashfs
$VTOY_PATH
/mnt/iso/system/squashfs_sys.img
$VTOY_PATH
/mnt/squashfs
[
-f
$VTOY_PATH
/mnt/iso/system/squashfs.img
]
&&
mount
-t
squashfs
$VTOY_PATH
/mnt/iso/system/squashfs.img
$VTOY_PATH
/mnt/squashfs
KoName
=
$(
ls
$VTOY_PATH
/mnt/squashfs/lib/modules/
$2
/kernel/drivers/md/dm-mod.ko
*
)
KoName
=
$(
ls
$VTOY_PATH
/mnt/squashfs/lib/modules/
$2
/kernel/drivers/md/dm-mod.ko
*
)
vtlog
"insmod
$KoName
"
vtlog
"insmod
$KoName
"
...
...
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