Package- and image building tool for Kupfer Linux. Documentation: https://kupfer.gitlab.io/kupferbootstrap
Find a file
2022-08-17 00:50:20 +02: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
chroot chroot.run_cmd(): don't blindly import outer env into chroot, avoiding a bunch of spam. 2022-08-17 00:50:20 +02:00
distro distro/repo.py: add Repo.__repr__() 2022-08-16 03:40:28 +02:00
docs docs/config: add description of work paths to File Location, improve profile config example 2022-08-12 15:54:09 +02:00
exec exec/file: add get_temp_dir() (for tempdirs without sticky bits) and chmod() 2022-08-17 00:50:20 +02:00
local remove unused local/etc/ 2022-02-17 03:00:21 +01:00
packages packages.build_enable_qemu(): fixup for usage without wrapper, drop buildchroot requirement 2022-08-16 03:38:33 +02:00
wrapper wrapper: add -W shorthand for --no-wrapper 2022-08-16 03:41:26 +02:00
.gitignore Initial commit 2021-08-04 18:36:37 +02:00
.gitlab-ci.yml add shellscript for running pytest, shellcheck *.sh 2022-08-17 00:50:20 +02:00
binfmt.py exec: migrate exec.py to exec/cmd.py 2022-08-15 17:48:42 +02:00
boot.py replace os.makedirs with exec.{root_,}makedir where applicable 2022-08-16 02:35:40 +02:00
cache.py use exec.file.{root_write_file,remove_file} where appropiate 2022-08-16 02:35:40 +02:00
config.py config.py: silence new click mypy error 2022-08-15 23:12:59 +02:00
constants.py constants.py: add oneplus-fajita device to support OP6T 2022-07-04 21:37:12 +00:00
Dockerfile Remove leftovers, please the formatter. 2022-02-17 06:42:15 +01:00
fastboot.py small cleanups 2022-02-20 19:23:28 +01:00
flash.py flash.py: use losetup_destroy() before copying shrunk image 2022-08-17 00:50:20 +02:00
format.sh add shellscript for running pytest, shellcheck *.sh 2022-08-17 00:50:20 +02:00
forwarding.py ssh: make alloc_tty=True default for run_ssh_command() 2022-08-16 15:50:14 +02:00
generator.py Type annotate all the things! 2022-02-18 06:32:04 +01:00
image.py image.py: remove iflag=direct from dd argv as it errors out on tmpfs 2022-08-17 00:50:20 +02:00
LICENSE LICENSE: Add GPLv3 as was decided ages ago on Matrix. 2022-02-28 04:26:08 +01:00
logger.py logger.setup_logging(): add log_setup parameter to disable log output from setup 2022-08-15 06:17:26 +02:00
main.py main.py: add -E alias for --error-shell 2022-01-26 17:53:53 +01:00
pytest.sh add shellscript for running pytest, shellcheck *.sh 2022-08-17 00:50:20 +02:00
README.md Update README.md with new dependencies 2022-05-21 18:45:56 -05:00
requirements.txt logger: add colors 2022-05-07 15:28:06 +02:00
setup.cfg Add formatting 2021-08-08 18:24:56 +02:00
ssh.py ssh: make alloc_tty=True default for run_ssh_command() 2022-08-16 15:50:14 +02:00
telnet.py Add help strings to all click CMDs 2022-02-13 19:57:04 +01:00
tox.ini tox.ini: specify maximum line length 2022-08-08 02:49:16 +02:00
typecheck.sh typecheck.sh: deduplicate files 2022-07-15 06:14:33 +02:00
utils.py utils: add get_{user,group}_name() and get_{uid,gid}() 2022-08-15 23:12:59 +02:00
version.txt Initial commit 2021-08-04 18:36:37 +02: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, typing_extentions, and coloredlogs and put bin/ into your PATH. Then use kupferbootstrap.

Usage

  1. Initialize 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.