]> glassweightruler.freedombox.rocks Git - Ventoy.git/blobdiff - INSTALL/grub/grub.cfg
1.1.07 release
[Ventoy.git] / INSTALL / grub / grub.cfg
index 5b1e300740b0601ae4ee7788e0079e1de510eaeb..ca1e3c52ab742bf34b12db3ff92b03a023e91e0b 100644 (file)
@@ -35,12 +35,10 @@ function ventoy_debug_pause {
 
 
 function ventoy_max_resolution {
-    #Skip this for VM
+    #Skip this for VirtualBox
     smbios -t 1 -s 0x05 --set=system_product;
-    for vtPdt in "VMware"  "VirtualBox"; then
-        if vt_str_casebegin "$system_product"  "$vtPdt"; then
-            return
-        fi
+    if vt_str_casebegin "$system_product"  "VirtualBox"; then
+        return
     fi
 
     vt_enum_video_mode
@@ -1919,6 +1917,12 @@ function ventoy_img_volumio {
 function ventoy_img_openelec {
     elec_ver=$1
     
+    if [ "$elec_ver" = "LibreELEC" ]; then
+        if vt_strstr "$vt_chosen_name" "x86_64"; then
+            set ventoy_busybox_ver=64
+        fi
+    fi
+    
     vt_load_cpio  $vtoy_path  "${vt_chosen_path}" ${vtoy_iso_part} "busybox=$ventoy_busybox_ver"
     vt_trailer_cpio ${vtoy_iso_part} "${vt_chosen_path}" noinit
 
@@ -2427,7 +2431,7 @@ function mimg_common_menuentry {
 #############################################################
 #############################################################
 
-set VENTOY_VERSION="1.1.05"
+set VENTOY_VERSION="1.1.07"
 
 #ACPI not compatible with Window7/8, so disable by default
 set VTOY_PARAM_NO_ACPI=1