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
83d91c52
"git@developer.sourcefind.cn:modelzoo/baichuan-pytorch.git" did not exist on "907320eb5f6cac4ed0cf58a0c8aabeb5b72d558c"
Commit
83d91c52
authored
Mar 08, 2021
by
longpanda
Browse files
support new veket_20
parent
78df21fc
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
0 deletions
+15
-0
IMG/cpio/ventoy/hook/debian/veket-hook.sh
IMG/cpio/ventoy/hook/debian/veket-hook.sh
+7
-0
IMG/cpio/ventoy/hook/debian/ventoy-hook.sh
IMG/cpio/ventoy/hook/debian/ventoy-hook.sh
+6
-0
IMG/cpio/ventoy/ventoy_chain.sh
IMG/cpio/ventoy/ventoy_chain.sh
+2
-0
No files found.
IMG/cpio/ventoy/hook/debian/veket-hook.sh
View file @
83d91c52
...
...
@@ -20,3 +20,10 @@
$SED
'1 apmedia=usbhd'
-i
/init
$SED
"/^ *HAVE_PARTS=/a
\
$BUSYBOX_PATH
/sh
$VTOY_PATH
/hook/debian/veket-disk.sh"
-i
/init
$SED
"/^ *HAVE_PARTS=/a
\
HAVE_PARTS='ventoy|iso9660'"
-i
/init
if
[
-d
/dev
]
;
then
[
-e
/dev/null
]
||
$BUSYBOX_PATH
/mknod /dev/null c 1 3
else
$BUSYBOX_PATH
/mkdir /dev
$BUSYBOX_PATH
/mknod /dev/null c 1 3
fi
IMG/cpio/ventoy/hook/debian/ventoy-hook.sh
View file @
83d91c52
...
...
@@ -28,6 +28,12 @@ ventoy_get_debian_distro() {
fi
fi
if
[
-e
/DISTRO_SPECS
]
;
then
if
$GREP
-q
veket /DISTRO_SPECS
;
then
echo
'veket'
;
return
fi
fi
if
[
-e
/init
]
;
then
if
$GREP
-q
PUPPYSFS /init
;
then
if
$GREP
-q
VEKETSFS /init
;
then
...
...
IMG/cpio/ventoy/ventoy_chain.sh
View file @
83d91c52
...
...
@@ -315,6 +315,8 @@ ventoy_get_os_type() {
if
[
-f
/DISTRO_SPECS
]
;
then
if
$GREP
-q
'[Pp]uppy'
/DISTRO_SPECS
;
then
echo
'debian'
;
return
elif
$GREP
-q
'veket'
/DISTRO_SPECS
;
then
echo
'debian'
;
return
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