]> glassweightruler.freedombox.rocks Git - Ventoy.git/commitdiff
Fix the boot issue for pfSense 2.7.x (#2775)
authorlongpanda <admin@ventoy.net>
Thu, 20 Feb 2025 16:29:38 +0000 (00:29 +0800)
committerlongpanda <admin@ventoy.net>
Thu, 20 Feb 2025 16:29:38 +0000 (00:29 +0800)
INSTALL/grub/grub.cfg
INSTALL/ventoy/ventoy_unix.cpio
Unix/ventoy_unix/pfSense/geom_ventoy_ko/14.x/64/geom_ventoy.ko.xz [new file with mode: 0644]

index d1fb2b4e3d4330a9a179d735b6df3304a2cbde3d..5bb87aa4a5f5dc1d16c9a5cb8ba5c3d404aaef1f 100644 (file)
@@ -516,6 +516,13 @@ function ventoy_freebsd_proc {
         fi
     fi
 
+    if [ "$vt_freebsd_ver" = "14.x" ]; then
+        if [ -e (loop)/boot/lua/brand-pfSense.lua ]; then
+            set vtFreeBsdDistro=pfSense
+        fi
+    fi
+
+
     if [ -n "${vtdebug_flag}" ]; then
         echo "This is $vtFreeBsdDistro $vt_freebsd_ver ${vt_freebsd_bit}bit"
     fi
index 630a5af643c6fcadbd7c816c06d4b1f9092bdc82..5432c16422614631fada6e41267915b708adf18a 100644 (file)
Binary files a/INSTALL/ventoy/ventoy_unix.cpio and b/INSTALL/ventoy/ventoy_unix.cpio differ
diff --git a/Unix/ventoy_unix/pfSense/geom_ventoy_ko/14.x/64/geom_ventoy.ko.xz b/Unix/ventoy_unix/pfSense/geom_ventoy_ko/14.x/64/geom_ventoy.ko.xz
new file mode 100644 (file)
index 0000000..204c39c
Binary files /dev/null and b/Unix/ventoy_unix/pfSense/geom_ventoy_ko/14.x/64/geom_ventoy.ko.xz differ