Igor Pecovnik fedf25c05e
Some checks failed
Help forks / 📢 Run repository dispatch on fork (push) Has been cancelled
feat: keep multiple versions of critical packages in repository
Add ability to preserve multiple versions of kernel, dtb, u-boot, headers,
and libc packages while maintaining single-version policy for other packages.

This enables:
- Kernel rollback scenarios by keeping multiple linux-image-* versions
- DTB rollback with multiple linux-dtb-* versions
- Bootloader flexibility with multiple u-boot-* versions
- Development stability with multiple linux-headers-* versions
- Library compatibility with multiple libc6/libc-dev versions

Changes:
- Add KEEP_MULTIPLE_VERSIONS global variable (enabled by default)
- Add package name pattern matching for critical packages
- Add -m/--multiple-versions command-line option
- Enhance deduplication logic to skip removal for matched packages
- Update configuration display and help text

Note: armbian-bsp packages continue to use single-version policy to avoid
dependency conflicts.

Signed-off-by: Igor Pecovnik <igor@armbian.com>
2026-03-15 18:41:40 +01:00
2014-10-08 10:14:29 +02:00
2025-12-01 22:01:46 +01:00

Armbian logo

Purpose of This Repository

The Armbian Linux Build Framework creates customizable OS images based on Debian or Ubuntu for single-board computers (SBCs) and embedded devices.

It builds a complete Linux system including kernel, bootloader, and root filesystem, giving you control over versions, configuration, firmware, device trees, and system optimizations.

The framework supports native, cross, and containerized builds for multiple architectures (x86_64, aarch64, armhf, riscv64) and is suitable for development, testing, production, or automation.

Looking for prebuilt images? Use Armbian Imager — the easiest way to download and flash Armbian to your SD card or USB drive. Available for Linux, macOS, and Windows.

Quick Start

git clone https://github.com/armbian/build
cd build
./compile.sh

Build demonstration

Build Host Requirements

Hardware

  • RAM: ≥8GB (less with KERNEL_BTF=no)
  • Disk: ~50GB free space
  • Architecture: x86_64, aarch64, or riscv64

Operating System

  • Native builds: Armbian or Ubuntu 24.04 (Noble)
  • Containerized: Any Docker-capable Linux
  • Windows: WSL2 with Armbian/Ubuntu 24.04

Software

  • Superuser privileges (sudo or root)
  • Up-to-date system (outdated Docker or other tools can cause failures)

Resources

  • Documentation — Comprehensive guides for building, configuring, and customizing
  • Website — News, features, and board information
  • Blog — Development updates and technical articles
  • Forums — Community support and discussions

Contributing

We welcome contributions! See CONTRIBUTING.md for guidelines on reporting issues, submitting changes, and contributing code.

Support

Community Forums

Get help from users and contributors on troubleshooting, configuration, and development. 👉 forum.armbian.com

Real-time Chat

Join discussions with developers and community members on Discord, IRC, or Matrix. 👉 Community Chat

Paid Consultation

For commercial projects, guaranteed response times, or advanced needs, paid support is available from Armbian maintainers. 👉 Contact us

Contributors

Thank you to everyone who has contributed to Armbian!

Contributors

Armbian Partners

Our partnership program supports Armbian's development and community. Learn more about our Partners.

Description
Languages
Shell 71.2%
Python 8.9%
GSC 8.5%
Batchfile 4%
Makefile 1.7%
Other 5.6%