Commit graph

  • 041b2d7dc5 integration_tests.py: add kbs.main in import raihan2000/pipinstall raihan2000 2024-10-20 20:49:47 +05:30
  • 7560af89f0 kbs.chroot.device: add cast to satisfy typecheker raihan2000 2024-10-20 20:21:19 +05:30
  • 31cd87cea7 kbs.net.ssh: add definition Chroot raihan2000 2024-10-19 19:41:34 +05:30
  • e55fa49f31 kupferbootstrap: add typed marker and convert non-relative imports prawn/pipinstall InsanePrawn 2024-10-07 19:57:28 +02:00
  • d71a33bb33 docs: WIP InsanePrawn 2024-03-17 17:39:44 +01:00
  • 3ffe702301 WIP CHANGES InsanePrawn 2024-03-17 17:38:30 +01:00
  • 5e10565c70 gitlab-ci: add sanity check for docker images by running kbs --help InsanePrawn 2024-02-24 17:32:10 +01:00
  • 49bae9d1f9 integration_tests: adapt to pip installation InsanePrawn 2024-02-24 17:18:20 +01:00
  • a193a3f6b6 fix docker wrapper InsanePrawn 2024-02-24 16:39:59 +01:00
  • 6419a29dd0 docker: install kbs via pip InsanePrawn 2024-02-24 14:00:17 +01:00
  • 93685499fa gitlab-ci: update to install kbs via pip InsanePrawn 2024-02-24 13:59:49 +01:00
  • 2edea4ca5c make kupferbootstrap package installable InsanePrawn 2024-02-24 13:51:26 +01:00
  • d3b8452146 fix imports with sed InsanePrawn 2024-02-24 13:21:29 +01:00
  • adeec7a6e3 move kbs libary files to src/ InsanePrawn 2024-02-24 12:45:49 +01:00
  • 5c4b1cb052 chroot/base: Create chroot indicator file for use with boot-deploy syboxez/chroot-indicator-file Syboxez Blank 2024-04-23 14:27:11 -05:00
  • aaf94de0ac packages/build: add pkg signing prawn/keyrings InsanePrawn 2024-04-02 12:24:39 +02:00
  • 07436a0ad2 chroot/build: add mount_gpg() InsanePrawn 2024-04-02 12:23:52 +02:00
  • 871c4f27c7 chroot/abstract: run_cmd(): use unshare --pid to get rid of leftover processes InsanePrawn 2024-04-02 12:22:50 +02:00
  • 166a8620a7 config: add gpg folder and signing options InsanePrawn 2024-04-02 12:22:22 +02:00
  • 6f09fe4403 packages/build: pass try_download to build_enable_qemu_binfmt() InsanePrawn 2024-04-02 02:49:18 +02:00
  • 4a48e78ec0 config: add gpg dir to chroot paths InsanePrawn 2024-04-02 01:39:01 +02:00
  • 3034afe5a8 distro/gpg: add initialisation script for key files and gpghome InsanePrawn 2024-04-01 23:50:44 +02:00
  • e79859b0a0 distro/gpg: add helpers for generating secret keys InsanePrawn 2024-04-01 21:46:22 +02:00
  • 3e957254f5 distro/keyring: use vanilla pacman-key now that --gpgdir is merged InsanePrawn 2024-04-01 17:57:12 +02:00
  • d2e0fad436 utils: remove BackwardsReadablestream InsanePrawn 2023-04-18 00:38:45 +02:00
  • 38b23de9ad distro/keyrings: extraction works InsanePrawn 2023-04-17 21:57:42 +02:00
  • c576dc8a51 utils: handle zstd compressed tarfiles InsanePrawn 2023-04-17 21:57:30 +02:00
  • 30c3fa77fd WIP: keyrings 2 InsanePrawn 2023-04-17 18:56:24 +02:00
  • a982f8c966 utils: add decompress_if_zstd InsanePrawn 2023-04-17 18:56:11 +02:00
  • 38edce080f WIP: keyring init done(?) InsanePrawn 2023-04-17 17:29:20 +02:00
  • e068b3587e WIP: keyring init InsanePrawn 2023-04-17 16:27:36 +02:00
  • 0c56038ed6 distro/package: BinaryPackage.acquire(): return (path: str, changed: bool) InsanePrawn 2023-04-17 07:17:12 +02:00
  • d527769473 distro/package: add acquire() parameters to Distro interface: dest_dir: Optional[str], filename: Optional[str] InsanePrawn 2023-04-17 07:01:47 +02:00
  • ba5aa209dd exec/file: add copy_file() InsanePrawn 2023-04-17 07:00:35 +02:00
  • 7666b91efc distro/package: acquire(): allow overriding filename and use utils.download_file() InsanePrawn 2023-04-17 06:21:34 +02:00
  • a28550825f image/image: tolerate pub-key copying to fail during image build dev InsanePrawn 2024-03-20 20:56:17 +01:00
  • a176fad05a net/ssh: copy_ssh_keys(): pass chroot for uid resolution InsanePrawn 2024-03-20 16:43:08 +01:00
  • a4cfc3c3e5 exec/file: makedir(): add mode=None arg InsanePrawn 2024-03-20 16:42:19 +01:00
  • cebac83186 packages/pkgbuild: parse_pkgbuild(): Reuse pkgbase's makedepends as dependencies Syboxez Blank 2024-03-23 17:48:38 +00:00
  • 89ed8860c9 constants: change default luks label to kupfer_cryptroot prawn/cryptsetup InsanePrawn 2023-07-09 22:20:48 +02:00
  • bcf07f980e image: bump /boot default size to 200MB InsanePrawn 2023-07-10 04:24:30 +02:00
  • f848474b08 image: pass sector_size to partition_device() InsanePrawn 2023-07-09 21:52:03 +02:00
  • 3d3002114f image: don't pass block size to mkfs.ext* InsanePrawn 2023-07-09 21:51:10 +02:00
  • 5ae07ab0ea image/image: rename losetup_rootfs_image() to losetup_setup_image() InsanePrawn 2023-07-09 21:49:12 +02:00
  • 7d9e48a652 image: use IMG_FILE_BOOT_DEFAULT_SIZE to calculate shrunk boot partition size InsanePrawn 2023-07-09 19:57:24 +02:00
  • 68bf43d53a config/cli: init PKGBUILDs after main config is complete InsanePrawn 2023-07-09 07:16:06 +02:00
  • 6a7bfbb49b image: add LUKS support and --[no-]encryption CLI flag to build & inspect subcommands InsanePrawn 2023-07-09 03:20:33 +02:00
  • 39b9cebc54 image: add new module: cryptsetup InsanePrawn 2023-07-08 18:43:28 +02:00
  • df4a60620c config/scheme: add Profile.encryption and Profile.encryption_password InsanePrawn 2023-07-08 18:46:46 +02:00
  • 686191c388 exec/cmd: run_cmd(): add new params: stdin, stdin_input, check asddsadsa InsanePrawn 2023-07-08 18:45:09 +02:00
  • 1f9682f5de config/state: remove superflous attrs from Profile, as they already exist in SparseProfile InsanePrawn 2023-07-08 18:38:45 +02:00
  • aacca2ff48 chroot/abstract: add switch_user param to chroot.run_cmd()'s signature InsanePrawn 2023-07-08 15:16:46 +02:00
  • 943d5f0675 image/image: move CLI methods to image/cli.py InsanePrawn 2023-07-08 14:13:19 +02:00
  • f05de7738a integration_tests: test importing main.cli InsanePrawn 2024-01-08 04:25:42 +01:00
  • b006cd8f4d packages/pkgbuild: support new key "_crossdirect" to enable/disable crossdirect for single packages InsanePrawn 2024-01-08 02:30:57 +01:00
  • 4b2150940d packages/build: use copy && remove_file() instead of shutil.move() InsanePrawn 2023-12-22 05:07:55 +01:00
  • eaac9195ea packages/build: build_enable_qemu_binfmt(): also build gcc package if available InsanePrawn 2023-12-20 03:36:13 +01:00
  • c074fbe42c packages/pkgbuild: parse_pkgbuild(): inherit depends, makedepends, provides, replaces from pkgbase unless overriden InsanePrawn 2023-12-20 03:33:28 +01:00
  • a75f32b4b1 chroot/build: mount_crossdirect(): fix symlink creation if link exists InsanePrawn 2023-12-20 01:55:16 +01:00
  • 4cce7e57ae constants: use ALARM's aarch64 gcc that we package InsanePrawn 2023-12-20 00:28:26 +01:00
  • 95147cecea docs: convert absolute links to relative InsanePrawn 2023-12-19 23:34:33 +01:00
  • e783ec6632 image/image.py: Fix off-by-one error when creating boot partition in full image syboxez/cryptsetup-bugfix Syboxez Blank 2023-12-14 21:00:06 -06:00
  • ff8a529690 docs: move usage guides to usage/, add quickstart and porting InsanePrawn 2023-12-11 16:37:48 +01:00
  • 2e504b7b00 dictscheme: fix type hinting InsanePrawn 2023-12-11 12:49:28 +01:00
  • a0c4036390 packages: try_download_package(): check pacman cache if file in db but doesn't exist in db folder InsanePrawn 2023-10-29 16:32:36 +01:00
  • 4c5609423e constants: change default luks label to kupfer_cryptroot InsanePrawn 2023-07-09 22:20:48 +02:00
  • 4792eafe80 image: bump /boot default size to 200MB InsanePrawn 2023-07-10 04:24:30 +02:00
  • d2942945e4 image: pass sector_size to partition_device() InsanePrawn 2023-07-09 21:52:03 +02:00
  • fbe43456f8 image: don't pass block size to mkfs.ext* InsanePrawn 2023-07-09 21:51:10 +02:00
  • 03c95dcb6a image/image: rename losetup_rootfs_image() to losetup_setup_image() InsanePrawn 2023-07-09 21:49:12 +02:00
  • 095ecb672f image: use IMG_FILE_BOOT_DEFAULT_SIZE to calculate shrunk boot partition size InsanePrawn 2023-07-09 19:57:24 +02:00
  • dd4a4212a3 config/cli: init PKGBUILDs after main config is complete InsanePrawn 2023-07-09 07:16:06 +02:00
  • a9cd8178c8 image: add LUKS support and --[no-]encryption CLI flag to build & inspect subcommands InsanePrawn 2023-07-09 03:20:33 +02:00
  • 6de8137c90 image: add new module: cryptsetup InsanePrawn 2023-07-08 18:43:28 +02:00
  • 370510e09f config/scheme: add Profile.encryption and Profile.encryption_password InsanePrawn 2023-07-08 18:46:46 +02:00
  • d6900172fe exec/cmd: run_cmd(): add new params: stdin, stdin_input, check asddsadsa InsanePrawn 2023-07-08 18:45:09 +02:00
  • 1e446e6f80 config/state: remove superflous attrs from Profile, as they already exist in SparseProfile InsanePrawn 2023-07-08 18:38:45 +02:00
  • 829d80ede0 chroot/abstract: add switch_user param to chroot.run_cmd()'s signature InsanePrawn 2023-07-08 15:16:46 +02:00
  • 8437613e6e image/image: move CLI methods to image/cli.py InsanePrawn 2023-07-08 14:13:19 +02:00
  • 4c5fe2cb1c config/cli: prompt_choice(): fix change detection logical inversion InsanePrawn 2023-08-29 02:13:41 +02:00
  • 6bcd132b53 docs: update device names in profiles Hacker1245 2023-07-12 18:23:30 +00:00
  • c70b52e5c1 utils: color_mark_selected: fix msg_items tuple size to 2 InsanePrawn 2023-07-09 03:13:54 +02:00
  • 60b38d895c devices, flavours, config: add "inherited from ABC" to "selected by XYZ" output v0.2.0-rc3 InsanePrawn 2023-06-25 16:04:35 +02:00
  • 7425356f10 devices/device: extract sanitize_device_name() into own function InsanePrawn 2023-06-25 16:04:00 +02:00
  • bfce7c466d utils: add color_mark_selected() to add ">>> selected by profile" msgs InsanePrawn 2023-06-25 16:03:08 +02:00
  • 16f351a41c docker, gitlab-ci: use pip --break-system-packages until we figure out pip packaging InsanePrawn 2023-06-25 03:58:27 +02:00
  • 8376725652 test_requirements.txt: add formatters and mypy for easier development InsanePrawn 2023-06-25 03:58:09 +02:00
  • 5b2f36c74d config/cli: highlight currently selected devices InsanePrawn 2023-06-25 03:55:06 +02:00
  • 0951865868 config/profile: add resolve_profile_attr() InsanePrawn 2023-06-25 03:45:26 +02:00
  • e6f4a68c6b utils: add color_mark_selected() InsanePrawn 2023-06-25 03:44:26 +02:00
  • 1374e2be74 wrapper/docker: fix logging of docker build failures InsanePrawn 2023-06-25 03:43:45 +02:00
  • 9bd2bd46a9 wrapper/wrapper: handle unset self.wrapped_config_path InsanePrawn 2023-06-25 03:43:10 +02:00
  • 8b0ca115a7 config/cli: prompt_profile_{flavour,device}: improve device/flavour printing and wrapper-mode warning InsanePrawn 2023-06-25 00:18:23 +02:00
  • fc690eca8a packages: build_enable_qemu_binfmt(): only show message and enable when not already active InsanePrawn 2023-05-01 03:32:10 +02:00
  • eb2b0a6c75 binfmt/cli: add cmd_status(), improve logging InsanePrawn 2023-05-01 05:28:54 +02:00
  • fd4495dd58 binfmt: improve logging InsanePrawn 2023-05-01 05:28:34 +02:00
  • 933b7c42ef binfmt: binfmt_ensure_mounted(): use chroot.mount() with chroots InsanePrawn 2023-05-01 05:25:32 +02:00
  • c86ce577d1 binfmt: move to own module, add cmd_register(), cmd_unregister() to cli InsanePrawn 2022-12-22 02:14:56 +01:00
  • 46507f8dbe binfmt: rename {,un}register() to binfmt_{,un}register() InsanePrawn 2022-12-22 01:33:30 +01:00
  • 0d866c6287 binfmt: pass through chroot properly InsanePrawn 2022-12-22 01:27:33 +01:00