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
58d387f7
Commit
58d387f7
authored
Mar 24, 2021
by
longpanda
Browse files
supoort veket 20.10
parent
2e10aabe
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
3 deletions
+11
-3
IMG/cpio/ventoy/hook/debian/veket-disk.sh
IMG/cpio/ventoy/hook/debian/veket-disk.sh
+11
-3
No files found.
IMG/cpio/ventoy/hook/debian/veket-disk.sh
View file @
58d387f7
...
...
@@ -37,9 +37,17 @@ ventoy_os_install_dmsetup_by_fuse() {
mount
-t
iso9660
$VTOY_PATH
/mnt/fuse/ventoy.iso
$VTOY_PATH
/mnt/iso
sfsfile
=
$(
ls
$VTOY_PATH
/mnt/iso/adrv_veket
*
.sfs
)
mount
-t
squashfs
$sfsfile
$VTOY_PATH
/mnt/squashfs
for
sfsfile
in
$(
ls
$VTOY_PATH
/mnt/iso/
*
drv_veket
*
.sfs
)
;
do
mount
-t
squashfs
$sfsfile
$VTOY_PATH
/mnt/squashfs
if
[
-d
$VTOY_PATH
/mnt/squashfs/lib/modules
]
;
then
KoName
=
$(
ls
$VTOY_PATH
/mnt/squashfs/lib/modules/
$2
/kernel/drivers/md/dm-mod.ko
*
)
if
[
-n
"
$KoName
"
-a
-f
$KoName
]
;
then
break
fi
fi
umount
$VTOY_PATH
/mnt/squashfs
done
KoName
=
$(
ls
$VTOY_PATH
/mnt/squashfs/lib/modules/
$2
/kernel/drivers/dax/dax.ko
*
)
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