Commit graph

758 commits

Author SHA1 Message Date
InsanePrawn
a28550825f image/image: tolerate pub-key copying to fail during image build 2024-03-23 17:53:59 +00:00
InsanePrawn
a176fad05a net/ssh: copy_ssh_keys(): pass chroot for uid resolution 2024-03-23 17:53:59 +00:00
InsanePrawn
a4cfc3c3e5 exec/file: makedir(): add mode=None arg 2024-03-23 17:53:59 +00:00
Syboxez Blank
cebac83186 packages/pkgbuild: parse_pkgbuild(): Reuse pkgbase's makedepends as dependencies
Authored-by: InsanePrawn <insane.prawny@gmail.com>
2024-03-23 17:48:38 +00:00
InsanePrawn
f05de7738a integration_tests: test importing main.cli 2024-01-08 04:25:42 +01:00
InsanePrawn
b006cd8f4d packages/pkgbuild: support new key "_crossdirect" to enable/disable crossdirect for single packages 2024-01-08 03:04:43 +01:00
InsanePrawn
4b2150940d packages/build: use copy && remove_file() instead of shutil.move() 2023-12-22 05:07:55 +01:00
InsanePrawn
eaac9195ea packages/build: build_enable_qemu_binfmt(): also build gcc package if available 2023-12-20 03:36:13 +01:00
InsanePrawn
c074fbe42c packages/pkgbuild: parse_pkgbuild(): inherit depends, makedepends, provides, replaces from pkgbase unless overriden 2023-12-20 03:33:28 +01:00
InsanePrawn
a75f32b4b1 chroot/build: mount_crossdirect(): fix symlink creation if link exists 2023-12-20 01:56:27 +01:00
InsanePrawn
4cce7e57ae constants: use ALARM's aarch64 gcc that we package 2023-12-20 01:56:27 +01:00
InsanePrawn
95147cecea docs: convert absolute links to relative 2023-12-19 23:34:33 +01:00
InsanePrawn
ff8a529690 docs: move usage guides to usage/, add quickstart and porting 2023-12-11 17:13:11 +01:00
InsanePrawn
2e504b7b00 dictscheme: fix type hinting 2023-12-11 12:53:03 +01:00
InsanePrawn
a0c4036390 packages: try_download_package(): check pacman cache if file in db but doesn't exist in db folder 2023-12-11 12:49:17 +01:00
InsanePrawn
4c5fe2cb1c config/cli: prompt_choice(): fix change detection logical inversion 2023-08-29 02:13:41 +02:00
Hacker1245
6bcd132b53 docs: update device names in profiles 2023-07-12 18:23:30 +00:00
InsanePrawn
c70b52e5c1 utils: color_mark_selected: fix msg_items tuple size to 2 2023-07-09 03:21:33 +02:00
InsanePrawn
60b38d895c devices, flavours, config: add "inherited from ABC" to "selected by XYZ" output 2023-06-25 16:04:35 +02:00
InsanePrawn
7425356f10 devices/device: extract sanitize_device_name() into own function 2023-06-25 16:04:00 +02:00
InsanePrawn
bfce7c466d utils: add color_mark_selected() to add ">>> selected by profile" msgs 2023-06-25 16:03:08 +02:00
InsanePrawn
16f351a41c docker, gitlab-ci: use pip --break-system-packages until we figure out pip packaging 2023-06-25 04:03:03 +02:00
InsanePrawn
8376725652 test_requirements.txt: add formatters and mypy for easier development 2023-06-25 04:03:03 +02:00
InsanePrawn
5b2f36c74d config/cli: highlight currently selected devices 2023-06-25 04:03:03 +02:00
InsanePrawn
0951865868 config/profile: add resolve_profile_attr() 2023-06-25 04:03:03 +02:00
InsanePrawn
e6f4a68c6b utils: add color_mark_selected() 2023-06-25 04:03:03 +02:00
InsanePrawn
1374e2be74 wrapper/docker: fix logging of docker build failures 2023-06-25 04:03:03 +02:00
InsanePrawn
9bd2bd46a9 wrapper/wrapper: handle unset self.wrapped_config_path 2023-06-25 04:03:03 +02:00
InsanePrawn
8b0ca115a7 config/cli: prompt_profile_{flavour,device}: improve device/flavour printing and wrapper-mode warning 2023-06-25 00:19:09 +02:00
InsanePrawn
fc690eca8a packages: build_enable_qemu_binfmt(): only show message and enable when not already active 2023-06-14 09:24:58 +00:00
InsanePrawn
eb2b0a6c75 binfmt/cli: add cmd_status(), improve logging 2023-06-14 09:24:58 +00:00
InsanePrawn
fd4495dd58 binfmt: improve logging 2023-06-14 09:24:58 +00:00
InsanePrawn
933b7c42ef binfmt: binfmt_ensure_mounted(): use chroot.mount() with chroots 2023-06-14 09:24:58 +00:00
InsanePrawn
c86ce577d1 binfmt: move to own module, add cmd_register(), cmd_unregister() to cli 2023-06-14 09:24:58 +00:00
InsanePrawn
46507f8dbe binfmt: rename {,un}register() to binfmt_{,un}register() 2023-06-14 09:24:58 +00:00
InsanePrawn
0d866c6287 binfmt: pass through chroot properly 2023-06-14 09:24:58 +00:00
InsanePrawn
3c9b96f03f image: rename aboot to abootimg and rootfs to full 2023-06-12 01:10:54 +02:00
InsanePrawn
407d8893a3 image/cli: cmd_flash: improve log messages and order of partitions in CLI help 2023-06-12 01:00:24 +02:00
InsanePrawn
379e951526 packages/cli: cmd_list(): print package mode 2023-06-10 20:19:33 +02:00
InsanePrawn
ad80b3e889 image/flash: give user output while copying image for shrinking 2023-04-30 16:58:56 +02:00
InsanePrawn
efe4bf085d image: shrink_filesystem(): align file end to 4096b
otherwise fastboot seems to get upset
2023-04-30 16:58:56 +02:00
InsanePrawn
de76641fa1 image: dump_file_from_image(): try to detect debugfs failure
Try to detect missing file after supposedly dumping it since debugfs doesn't always error out correctly
2023-04-30 16:58:56 +02:00
InsanePrawn
edcad72f7a image: use correct deviceinfo value for device sector size 2023-04-30 16:58:56 +02:00
InsanePrawn
33e1214aef image/fastboot: add --confirm option and generalize fastboot_erase{_dtbo,}() 2023-04-30 05:04:57 +02:00
InsanePrawn
4ba5f87f1e image: factor out get_fs_size() from shrink_fs() 2023-04-30 00:00:32 +02:00
InsanePrawn
3ac8fc0689 image/flash: actually use --split-size 2023-04-26 14:21:51 +02:00
InsanePrawn
6648a77822 image/cli: add --sector-size option 2023-04-26 14:21:50 +02:00
InsanePrawn
69b7ea9db2 image/flash: implement fastboot rootfs image flashing, add --no-shrink
Use fastboot by default instead of jumpdrive, respecting the deviceinfo
2023-04-26 14:20:37 +02:00
InsanePrawn
8a266f9149 image/fastboot: use exec.cmd.run_cmd() for loggability 2023-04-26 14:20:37 +02:00
InsanePrawn
604f123067 image/fastboot: flash_image(): add optional sparse_size parameter 2023-04-26 14:20:37 +02:00