mirror of
https://github.com/ventoy/Ventoy.git
synced 2025-12-20 18:46:17 +00:00
Add support for AerynOS. (#3433)
This commit is contained in:
@@ -70,6 +70,12 @@ function ventoy_acpi_param {
|
||||
fi
|
||||
}
|
||||
|
||||
function vt_vcfg_pre_proc {
|
||||
vt_img_sector "${vtoy_iso_part}${vt_chosen_path}"
|
||||
vt_load_cpio $vtoy_path "${vt_chosen_path}" ${vtoy_iso_part} "busybox=$ventoy_busybox_ver"
|
||||
vt_trailer_cpio $vtoy_iso_part "$vt_chosen_path"
|
||||
}
|
||||
|
||||
function ventoy_vcfg_proc {
|
||||
if vt_check_custom_boot "${1}" vt_vcfg; then
|
||||
set vtoy_chosen_path="${1}"
|
||||
@@ -422,6 +428,16 @@ function distro_specify_initrd_file_phase2 {
|
||||
vt_linux_specify_initrd_file /initramfs-linux.img
|
||||
elif [ -f (loop)/boot/isolinux/initrd.gz ]; then
|
||||
vt_linux_specify_initrd_file /boot/isolinux/initrd.gz
|
||||
elif vt_str_begin "$vt_volume_id" "AERYNOS"; then
|
||||
vt_vcfg_pre_proc
|
||||
|
||||
loopback va "${vtoy_iso_part}${vt_chosen_path}"
|
||||
loopback vb (va)/EFI/Boot/efiboot.img
|
||||
|
||||
set root=(vb)
|
||||
vt_systemd_menu (vb) vt_sys_menu_mem vt_linux_initrd
|
||||
configfile "mem:${vt_sys_menu_mem_addr}:size:${vt_sys_menu_mem_size}"
|
||||
|
||||
fi
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user