# Debian Installer Image Builder for RockPro64 RK3399 A shell script that automates downloading and combining Debian installer images for arm64 boards, supporting both release and daily builds. ## Table of Contents - [Features](#features) - [Requirements](#requirements) - [Usage](#usage) - [Configuration](#configuration) - [Output Files](#output-files) - [License](#license) ## Features - Downloads firmware and partition images from official Debian repositories - Supports both release and daily build versions - Automatically combines downloaded images - Timestamp-based naming for daily builds - Cleans up old image files ## Requirements - Bash shell - wget utility - zcat utility (part of gzip package) ## Usage Save the script as `debian-image-builder.sh`, make it executable, and run: ```bash chmod +x debian-image-builder.sh ./debian-image-builder.sh ``` ## Configuration The script uses the following variables: ```bash BOARD=rockpro64-rk3399 # Hardware board identifier RELEASE=forky # Debian release (bookworm/trixie/forky) IMAGE_TYPE=daily # Type of image (daily/release) TIMESTAMP=$(date "+%Y%m%d%H%M%S") ``` Where BOARD can be: * a64-olinuxino * firefly-rk3399 * nanopi_neo2 * none * orangepi_one_plus * orangepi_zero_plus2 * pine64_plus * pinebook-pro-rk3399 * pinebook * puma-rk3399 * rock-pi-4-rk3399 * rock64-rk3328 * rockpro64-rk3399 * teres_i ## Output Files Based on the : - Release builds: `${BOARD}-${RELEASE}_combined-image.img` - Daily builds: `${BOARD}-${TIMESTAMP}-${RELEASE}_combined-image.img` Old combined images are moved to the directory. ## License [MIT License](LICENSE)