Build bootable image for Arch Linux
Go to file
BigfootACA 1dae233b2c
Merge pull request #2 from anonymix007/publickeys-packages-locales
Add more packages, locales and allow importing repository public key from URL
2024-08-27 17:13:38 +08:00
builder builder: build: filesystem.py: Allow downloading files from predefined url in config 2024-08-25 16:08:15 +03:00
configs configs: repo: Add EndeavourOS 2024-08-25 16:08:15 +03:00
devices/custom Initial commit 2024-05-17 23:04:34 +08:00
external builder: disk: add initial Android Boot Image supports 2024-05-21 11:27:40 +08:00
.gitignore Initial commit 2024-05-17 23:04:34 +08:00
build.py Initial commit 2024-05-17 23:04:34 +08:00
LICENSE Initial commit 2024-05-17 23:04:34 +08:00
README.md builder: component: pacman.py: add pacman mirrors select 2024-05-24 02:55:18 +08:00
requirements.txt requirements.txt: fix yaml dependency 2024-05-20 09:56:01 +08:00

arch-image-builder

A tool to build flashable and bootable image for Arch Linux

Install requirements

Currently only support Arch based distros

Arch Linux

Install required packages

pacman -S p7zip rsync pyalpm python-yaml python-libarchive-c

For cross build (UNTESTED)

pacman -S qemu-user-static-binfmt

Example

python build.py -c target/ayn-odin2-sdcard,locale/zh-cn,desktop/gnome -m bfsu,tuna

Options

Option Description
-C, --clean Clean workspace before build
-m MIRROR, --mirror MIRROR Select mirror to download package
-p PRESET, --preset PRESET Select preset to create package
-c CONFIG, --config CONFIG Select configs to build
-o WORKSPACE, --workspace WORKSPACE Set workspace for builder
-d, --debug Enable debug logging
-G, --no-gpgcheck Disable GPG check
-r, --repack Repack rootfs only

License

SPDX: GPL-3.0-or-later