chmod +x userpatches/customize-image.sh After build:
./compile.sh BOARD=orangepi5 BRANCH=current RELEASE=noble Create a custom hook script userpatches/customize-image.sh : armbian iso
Would you like a ready‑to‑use customize-image.sh that hardens the image for production servers? chmod +x userpatches/customize-image
xorriso -as mkisofs -r -V "ArmbianCustom" \ -J -joliet-long \ -isohybrid-mbr /usr/lib/ISOLINUX/isohdpfx.bin \ -eltorito-boot boot/grub/efi.img \ -no-emul-boot -boot-load-size 4 -boot-info-table \ -o armbian_custom.iso ./image_folder/ But this is rarely needed for actual ARM hardware. | Component | Requirement | |-----------|-------------| | Bootloader | Verified (u-boot + extlinux) | | Kernel | Signed (optional) | | Rootfs | Read‑only overlay (overlayroot) | | Logs | Journald persistent | | Network | Netplan / NetworkManager fixed | | Security | SSH key‑only, fail2ban, unattended‑upgrades | If you truly need
BOARD="orangepi5" BRANCH="current" RELEASE="noble" BUILD_DESKTOP="no" BUILD_MINIMAL="no" KERNEL_ONLY="no" KERNEL_CONFIGURE="no" COMPRESS_OUTPUTIMAGE="xz" EXTRA_BUILD_DEPS="curl,git,htop" Build with:
#!/bin/bash # Runs inside chroot during build apt update apt install -y docker.io fail2ban ufw useradd -m -s /bin/bash myuser echo "myuser:securepassword" | chpasswd Make it executable:
output/images/Armbian_24.11.0_Orangepi5_noble_current_6.1.75_minimal.img.xz : ✅ Checksummed (SHA256) ✅ Verified boot (u-boot + signed FIT image if enabled) ✅ Production packages (no dev leftovers) ✅ Can be flashed with balenaEtcher / dd 6. If you truly need .iso for ARM (non‑standard) You can wrap the .img into a hybrid ISO for some UEFI ARM64 systems: