mirror of
https://github.com/armbian/configng.git
synced 2026-01-06 10:37:41 -08:00
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:
2
.github/workflows/debian.yml
vendored
2
.github/workflows/debian.yml
vendored
@@ -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:
|
||||
|
||||
BIN
tools/include/images/FLASH1.png
Normal file
BIN
tools/include/images/FLASH1.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 20 KiB |
0
tools/include/markdown/FLASH1-footer.md
Normal file
0
tools/include/markdown/FLASH1-footer.md
Normal file
7
tools/include/markdown/FLASH1-header.md
Normal file
7
tools/include/markdown/FLASH1-header.md
Normal 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
|
||||
@@ -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.
|
||||
|
||||
@@ -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",
|
||||
|
||||
1254
tools/modules/software/module_images.sh
Normal file
1254
tools/modules/software/module_images.sh
Normal file
File diff suppressed because it is too large
Load Diff
1257
tools/modules/software/module_images.sh_
Normal file
1257
tools/modules/software/module_images.sh_
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user