mirror of
https://github.com/BigfootACA/arch-image-builder.git
synced 2024-09-21 14:40:54 +08:00
add README.md
Signed-off-by: BigfootACA <bigfoot@classfun.cn>
This commit is contained in:
parent
067ee2d341
commit
b07ca0c63b
41
README.md
Normal file
41
README.md
Normal file
@ -0,0 +1,41 @@
|
|||||||
|
# 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
|
||||||
|
|
||||||
|
```commandline
|
||||||
|
pacman -S rsync pyalpm python-yaml python-libarchive-c
|
||||||
|
```
|
||||||
|
|
||||||
|
For cross build (UNTESTED)
|
||||||
|
|
||||||
|
```commandline
|
||||||
|
pacman -S qemu-user-static-binfmt
|
||||||
|
```
|
||||||
|
|
||||||
|
## Example
|
||||||
|
|
||||||
|
```commandline
|
||||||
|
python build.py -c target/ayn-odin2-sdcard,locale/zh-cn,desktop/gnome
|
||||||
|
```
|
||||||
|
|
||||||
|
## Options
|
||||||
|
|
||||||
|
| Option | Description |
|
||||||
|
|-------------------------------------|---------------------------|
|
||||||
|
| -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
|
Loading…
Reference in New Issue
Block a user