Introduce unified image flashing tool for Armbian (#705)

* Modules for flashing images to block device
* Use redi_url instead of direct image
This commit is contained in:
Igor
2025-12-05 20:26:53 +01:00
committed by GitHub
parent ee1b5ae016
commit 7586009515
8 changed files with 2550 additions and 3 deletions

View File

@@ -22,7 +22,7 @@ jobs:
section: "default"
priority: "optional"
compile: "tools/config-assemble.sh -p"
depends: "bash, jq, whiptail, sudo, procps, systemd, lsb-release, iproute2, debconf, libtext-iconv-perl, gpg"
depends: "bash, jq, whiptail, sudo, procps, systemd, lsb-release, iproute2, debconf, libtext-iconv-perl, gpg, xz-utils, pv"
description: "Armbian config: The Next Generation"
secrets:

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

View File

View File

@@ -0,0 +1,7 @@
What can this tool do?
- Install Armbian onto internal **eMMC, SSD, or other storage**
- Create **bootable SD cards or USB drives** for any supported board
- Recover a system by **re-flashing a clean image**
- Switch between different **OS variants, kernel branches, or preinstalled applications**
- Accelerate development with **fast, repeatable deployments** for testing and automation

View File

@@ -1 +1,5 @@
This section provides an option to transfer the live running Armbian system from an SD card to internal storage devices such as eMMC, SATA, NVMe, or USB drives. It prepares the target storage, copies the active system, adjusts bootloader settings, and ensures the system can boot independently without requiring reinstallation.
- Clones your current live OS installation
- Keeps your settings, configuration, installed packages, and user data
- Essentially “transfer my existing system to internal/external storage”
Use this option to **transfer your current live Armbian system** to another storage device (eMMC, SSD, USB, etc.). This copies your existing installation exactly as it is — including settings, installed packages, and user data.

View File

@@ -91,7 +91,8 @@
"sub": [
{
"id": "STO001",
"description": "Install",
"description": "Copy the running Armbian system to another device",
"short": "Install",
"module": "module_generic",
"command": [
"armbian-install"
@@ -100,6 +101,30 @@
"author": "@igorpecovnik",
"condition": "[[ -f /sbin/armbian-install || -f /usr/bin/armbian-install ]]"
},
{
"id": "FLASH1",
"description": "Download a fresh, official Armbian OS image and write it to a device",
"short": "Download and flash",
"module": "module_images",
"command": [
"module_images install"
],
"status": "Preview",
"author": "@igorpecovnik",
"condition": "module_images status >/dev/null"
},
{
"id": "FLASH2",
"description": "Remove all downloaded Armbian images",
"short": "Remove cached images",
"module": "module_images",
"command": [
"module_images remove"
],
"status": "Preview",
"author": "@igorpecovnik",
"condition": "module_images cache-status"
},
{
"id": "ROO001",
"description": "Enable read only filesystem",

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff