elif [ -e (loop)/bin/freebsd-version ]; then
set vtoy_os=Unix
set vt_unix_type=FreeBSD
+ elif vt_str_begin "$vt_system_id" "DragonFly"; then
+ set vtoy_os=Unix
+ set vt_unix_type=DragonFly
elif [ -e (loop)/boot/kernel/kernel ]; then
if [ -f (loop)/EFI/BOOT/bootx64.efi ]; then
vt_cpio_busybox64 "64h"
fi
-
+ elif [ -f (loop)/boot/initfs.x86_64-efi ]; then
+ vt_linux_specify_initrd_file /boot/initfs.x86_64-efi
+ if [ -f (loop)/boot/initfs.i386-pc ]; then
+ vt_linux_specify_initrd_file /boot/initfs.i386-pc
+ fi
+ elif [ -f (loop)/antiX/initrd.gz ]; then
+ vt_linux_specify_initrd_file /antiX/initrd.gz
+
fi
}
vt_unix_replace_conf FreeBSD "${1}${chosen_path}"
}
+function ventoy_dragonfly_proc {
+
+ unset vt_unix_mod_path
+ for file in "/boot/kernel/initrd.img.gz"; do
+ if [ -e (loop)${file} ]; then
+ set vt_unix_mod_path=${file}
+ break
+ fi
+ done
+
+ vt_unix_replace_ko $vt_unix_mod_path ${vtoy_path}/dragonfly.mfs.xz
+ vt_unix_fill_image_desc
+ vt_unix_gzip_new_ko
+ vt_unix_replace_conf DragonFly "${1}${chosen_path}"
+}
+
function ventoy_unix_comm_proc {
vt_unix_reset
if [ "$vt_unix_type" = "FreeBSD" ]; then
ventoy_freebsd_proc "$1" "${chosen_path}"
+ elif [ "$vt_unix_type" = "DragonFly" ]; then
+ ventoy_dragonfly_proc "$1" "${chosen_path}"
elif [ "$vt_unix_type" = "NetBSD" ]; then
echo "NetBSD not supported"
-
else
if [ -n "${vtdebug_flag}" ]; then
echo "Unknown unix type"
#############################################################
#############################################################
-set VENTOY_VERSION="1.0.30"
+set VENTOY_VERSION="1.0.32"
#ACPI not compatible with Window7/8, so disable by default
set VTOY_PARAM_NO_ACPI=1