This commit is contained in:
Tobias Powalowski 2023-02-11 13:57:15 +01:00
parent 03bb81cb57
commit e403db6724
2 changed files with 6 additions and 6 deletions

View file

@ -9,7 +9,7 @@ FILES=()
# SETUP
#
# Please change the hooks only if you know what you are doing.
HOOKS=(archboot_init)
HOOKS=(archboot_init keyboard)
# COMPRESSION
# Use this to compress the initramfs image. By default, gzip compression

View file

@ -78,14 +78,14 @@ _create_iso() {
for i in *.iso; do
if echo "${i}" | grep -v local | grep -vq latest; then
isoinfo -R -i "${i}" -x /efi.img 2>/dev/null > "efi.img"
mcopy -m -i "${i}" ::/"${_AMD_UCODE}" ./"${_AMD_UCODE}"
mcopy -m -i efi.img ::/"${_AMD_UCODE}" ./"${_AMD_UCODE}"
[[ "${_ARCH}" == "aarch64" ]] || mcopy -m -i "${i}" ::/"${_INTEL_UCODE}" ./"${_INTEL_UCODE}"
mcopy -m -i "${i}" ::/"${_INITRAMFS}" ./"${_INITRAMFS}"
mcopy -m -i "${i}" ::/"${_KERNEL}" ./"${_KERNEL_ARCHBOOT}"
mcopy -m -i efi.img ::/"${_INITRAMFS}" ./"${_INITRAMFS}"
mcopy -m -i efi.img ::/"${_KERNEL}" ./"${_KERNEL_ARCHBOOT}"
elif echo "${i}" | grep -q latest; then
mcopy -m -i "${i}" ::/"${_INITRAMFS}" ./"${_INITRAMFS_LATEST}"
mcopy -m -i efi.img ::/"${_INITRAMFS}" ./"${_INITRAMFS_LATEST}"
elif echo "${i}" | grep -q local; then
mcopy -m -i "${i}" ::/"${_INITRAMFS}" ./"${_INITRAMFS_LOCAL}"
mcopy -m -i efi,img ::/"${_INITRAMFS}" ./"${_INITRAMFS_LOCAL}"
fi
done
echo "Generating Unified Kernel Images..."