Package- and image building tool for Kupfer Linux. Documentation: https://kupfer.gitlab.io/kupferbootstrap
Find a file
2022-09-16 19:45:25 +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: add chroot.get_uid(user: str), use in chroot.mount_{ccache,rust} to apply correct ownership 2022-08-29 20:20:16 +02:00
config config/scheme: move DataClass to dataclass.py 2022-09-16 19:45:25 +02:00
distro global: refactor to use config.{file,runtime}.$member instead of config.file["$member"] 2022-08-27 17:06:48 +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: makedir() accept Union[str, int] for user and group 2022-08-29 20:20:16 +02:00
local/bin Dockerfile: clean up pkgconfig-aarch64 leftover 2022-08-29 04:54:05 +02:00
packages add_package_to_repo: create foreign arch repo dir before copying foreign-arch packages 2022-09-16 19:45:25 +02:00
wrapper wrapper/docker: create volume dirs ourselfes for better permissions and podman compat 2022-09-16 19:45:25 +02:00
.gitignore Initial commit 2021-08-04 18:36:37 +02:00
.gitlab-ci.yml gitlab-ci: generate test coverage 2022-08-20 05:59:31 +02:00
binfmt.py constants: add QEMU_ARCHES 2022-08-26 22:55:08 +02:00
boot.py image.py: use Device instead of the device name from config 2022-09-16 19:45:25 +02:00
cache.py use exec.file.{root_write_file,remove_file} where appropiate 2022-08-16 02:35:40 +02:00
constants.py constants.py: remove DEVICES array, now comes from pkgbuilds.git 2022-09-16 19:45:25 +02:00
dataclass.py dataclass.resolve_type_hint(): add conversion from str to [int,float] if str not in types 2022-09-16 19:45:25 +02:00
Dockerfile Dockerfile: clean up pkgconfig-aarch64 leftover 2022-08-29 04:54:05 +02:00
fastboot.py small cleanups 2022-02-20 19:23:28 +01:00
flash.py image.py: use Device instead of the device name from config 2022-09-16 19:45:25 +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 global: refactor to use config.{file,runtime}.$member instead of config.file["$member"] 2022-08-27 17:06:48 +02:00
image.py image.py: use Device instead of the device name from config 2022-09-16 19:45:25 +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 global: refactor to use config.{file,runtime}.$member instead of config.file["$member"] 2022-08-27 17:06:48 +02:00
pytest.sh gitlab-ci: generate test coverage 2022-08-20 05:59:31 +02:00
README.md config: add data schemas based on munch in scheme.py, add unit tests 2022-08-18 02:44:54 +02:00
requirements.txt requirements.txt: add setuptools required by munch 2022-08-29 19:05:02 +02:00
setup.cfg Add formatting 2021-08-08 18:24:56 +02:00
ssh.py global: refactor to use config.{file,runtime}.$member instead of config.file["$member"] 2022-08-27 17:06:48 +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: show error codes 2022-08-27 03:46:07 +02:00
utils.py utils.programs_available(): add cache 2022-08-20 04:32:33 +02:00
version.txt Initial commit 2021-08-04 18:36:37 +02:00
wrapper_su_helper.py wrapper_su_helper.py: use su -P to allocate a pseudo-TTY 2022-08-28 07:38:52 +02:00

kupferbootstrap

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

Installation

Install Docker, Python 3 with the libraries from requirements.txt 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.