"vscode:/vscode.git/clone" did not exist on "32f614432355ed5fa2ba4a7ec58f634571ac60f6"
Commit 83d91c52 authored by longpanda's avatar longpanda
Browse files

support new veket_20

parent 78df21fc
......@@ -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
......@@ -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
......
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment