X-Git-Url: https://glassweightruler.freedombox.rocks/gitweb/Ventoy.git/blobdiff_plain/6fbc08cfcbfdf97fa2457739f47dced84d857799..4790dedbb19821794c1cf4bfeb671c5be8c19043:/INSTALL/grub/grub.cfg diff --git a/INSTALL/grub/grub.cfg b/INSTALL/grub/grub.cfg index d1b7c96..346bcbf 100644 --- a/INSTALL/grub/grub.cfg +++ b/INSTALL/grub/grub.cfg @@ -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