]> glassweightruler.freedombox.rocks Git - Ventoy.git/commitdiff
Fix Libreelec 12.2.0 fails to boot #3323
authorlongpanda <admin@ventoy.net>
Sat, 16 Aug 2025 16:05:44 +0000 (00:05 +0800)
committerlongpanda <admin@ventoy.net>
Sat, 16 Aug 2025 16:05:44 +0000 (00:05 +0800)
INSTALL/grub/grub.cfg

index d1b7c96023b2137a33b1d7179b4cd360f9a5a4ff..346bcbfb57129a35085227824420680ad5e9abd5 100644 (file)
@@ -1917,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