Commit graph

20 commits

Author SHA1 Message Date
InsanePrawn
1bf397f29f flash.py: use losetup_destroy() before copying shrunk image 2022-08-17 00:50:20 +02:00
InsanePrawn
6cfd8ae1c2 flash.py: use exec.file.get_temp_dir() 2022-08-17 00:50:20 +02:00
InsanePrawn
879fd113f0 exec: migrate exec.py to exec/cmd.py 2022-08-15 17:48:42 +02:00
InsanePrawn
40600855ec flash.py: use exec.run_root_cmd() 2022-08-15 17:48:42 +02:00
InsanePrawn
e288918e58 image.py: make device paths work with cmd_flash() again, add dd debug output 2022-05-08 18:05:15 +02:00
InsanePrawn
3ed8d379dd Add help strings to all click CMDs 2022-02-13 19:57:04 +01:00
InsanePrawn
feadf6f1e8 flash: partprobe the target as well 2022-02-13 18:48:48 +01:00
InsanePrawn
52933e6377 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
InsanePrawn
c9cd26be61 image.py: fix image corruption with partprobe
Partition mappings are initially created with the wrong sectorsize
for whatever reason..
2022-02-07 00:52:18 +01:00
InsanePrawn
94cd4b8331 s/bootimg/aboot/i 2022-02-06 20:36:11 +01:00
jld3103
955546c918 Add separate boot partition 2021-10-26 02:57:58 +02:00
InsanePrawn
7de8803032 flash.py: adjust for Chroot class and paths['images'] 2021-10-25 21:09:35 +02:00
InsanePrawn
81f22e67ae include image size in flavour, centralise fs resizing in image.py 2021-09-30 05:04:42 +02:00
InsanePrawn
f3794f939e Move enforce_wrapper() into appropiate CMDs. This speeds up --help as a side effect! 2021-09-29 23:18:12 +02:00
InsanePrawn
f09deaa9a5 a lot: profiles, some more help strings. partial: exceptions instead of exit()
Signed-off-by: InsanePrawn <insane.prawny@gmail.com>
2021-09-29 02:00:59 +02:00
InsanePrawn
144acee10f WIP: Improve config parsing, make --verbose and --config-file global options
Bonus: Generalize and reuse cmd_ssh()

Signed-off-by: InsanePrawn <insane.prawny@gmail.com>
2021-09-26 17:19:30 +02:00
jld3103
4369df9673 Restructure building images, flashing and booting 2021-08-17 20:57:31 +02:00
jld3103
e1ddf636b7 Fix and improve rootfs flashing 2021-08-14 13:31:04 +02:00
jld3103
98040d8a31 Apply formatting 2021-08-08 18:32:42 +02:00
jld3103
1f5357bca6 WIP: Add rootfs building and flashing and other misc commands 2021-08-05 20:26:48 +02:00