Fix Libreelec 12.2.0 fails to boot #3323
Some checks failed
Ventoy CI / build (push) Has been cancelled
Mirror GitHub to Gitee / Sync-GitHub-to-Gitee (push) Has been cancelled

This commit is contained in:
longpanda
2025-08-17 00:05:44 +08:00
parent b9892660b5
commit bb94ec6d6f

View File

@@ -1917,6 +1917,12 @@ function ventoy_img_volumio {
function ventoy_img_openelec { function ventoy_img_openelec {
elec_ver=$1 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_load_cpio $vtoy_path "${vt_chosen_path}" ${vtoy_iso_part} "busybox=$ventoy_busybox_ver"
vt_trailer_cpio ${vtoy_iso_part} "${vt_chosen_path}" noinit vt_trailer_cpio ${vtoy_iso_part} "${vt_chosen_path}" noinit