Package- and image building tool for Kupfer Linux. Documentation: https://kupfer.gitlab.io/kupferbootstrap
Find a file
2022-02-07 01:20:38 +01:00
.vscode Add formatting 2021-08-08 18:24:56 +02:00
bin Make main.py the main entrypoint again and call docker wrapper enforcement from cli() callback 2021-09-26 17:19:30 +02:00
local new dependency generation algorithm, dynamic chroot paths [almost] everywhere 2021-09-26 17:19:30 +02:00
.gitignore Initial commit 2021-08-04 18:36:37 +02:00
.gitlab-ci.yml CI: add docker image build and upload 2021-08-09 01:33:02 +02:00
binfmt.py refactor packages.py, register qemu-binfmt manually 2021-10-10 18:29:44 +02:00
boot.py s/bootimg/aboot/i 2022-02-06 20:36:11 +01:00
cache.py partially add config.file['paths']['images'] (mostly taken from c5c8104a60) 2021-10-25 17:48:51 +02:00
chroot.py packages, chroot: make sure chroots are initialised and /prebuilts is mounted 2022-01-29 07:51:38 +01:00
config.py pacman.conf: make ParallelDownloads configurable 2021-12-29 21:30:06 +01:00
constants.py constants.py: raise phosh-flavour image size to 4GB 2022-02-07 00:21:11 +01:00
distro.py Migrate leftovers to CHROOT_PATHS 2022-01-26 17:50:08 +01:00
Dockerfile Migrate leftovers to CHROOT_PATHS 2022-01-26 17:50:08 +01:00
fastboot.py fastboot.py: add logging 2021-10-26 06:02:55 +02:00
flash.py image, flash: refactor get_image_{name,path} to not rely on a chroot instance, introduce per-partition image files 2022-02-07 00:56:27 +01:00
format.sh format.sh: add --check 2021-08-09 00:29:38 +02:00
forwarding.py Fix forwarding and ssh 2021-10-01 12:31:08 +02:00
generator.py generator.py: use constants.Arch type 2022-02-06 19:22:53 +01:00
image.py image.py: specify blocksize when creating filesystems (mke2fs -b) 2022-02-07 01:20:38 +01:00
logger.py let's break all the things! (use distros to generate repos) 2021-09-29 16:54:26 +02:00
main.py main.py: add -E alias for --error-shell 2022-01-26 17:53:53 +01:00
packages.py packages.py: --skipgpgcheck because we don't have the keys in our keyring usually 2022-02-06 19:22:53 +01:00
README.md README: add usage instructions 2022-02-06 04:37:42 +01:00
requirements.txt image.py: fix building (remove incorrect inode reservation) 2021-10-26 05:41:22 +02:00
setup.cfg Add formatting 2021-08-08 18:24:56 +02:00
ssh.py ssh: don't fail if a possible key's pubkey file doesn't exist 2021-10-25 20:47:17 +02:00
telnet.py Don't wrap in docker for little wrappers like ssh and telnet if the tool is available on the host 2021-09-29 23:49:46 +02:00
utils.py Utils: add check_findmnt(), log_or_exception(), add PathLike type hint 2022-01-26 13:28:22 +01:00
version.txt Initial commit 2021-08-04 18:36:37 +02:00
wrapper.py Migrate leftovers to CHROOT_PATHS 2022-01-26 17:50:08 +01:00

kupferbootstrap

Kupfer Linux bootstrapping tool - drives pacstrap, makepkg, mkfs and fastboot, just to name a few.

Installation

Install Docker, Python 3 with libraries click, appdirs, joblib, toml and put bin/ into your PATH. Then use kupferbootstrap.

Usage

  1. Initialise config with defaults: kupferbootstrap config init -N
  2. Configure your device profile: kupferbootstrap config profile init
  3. Build an image and packages along the way: kupferbootstrap image build

Development

Put dev into version.txt to always rebuild kupferboostrap from this directory and use kupferbootstrap as normal.