Commit graph

33 commits

Author SHA1 Message Date
InsanePrawn
013a7a88d1 image.py: fix building (remove incorrect inode reservation) 2021-10-26 05:41:22 +02:00
jld3103
955546c918 Add separate boot partition 2021-10-26 02:57:58 +02:00
InsanePrawn
fa427f2a17 image.py: adjust for Chroot class and paths['images'] 2021-10-25 21:09:34 +02:00
InsanePrawn
525c012d9c cmd_image_inspect(): add --shell/-s 2021-10-25 20:45:23 +02:00
InsanePrawn
4643cc499a fixup image.py enough to run kupferbootstrap... 2021-10-25 01:51:03 +02:00
jld3103
0e07a33968 Add packages sideload feature 2021-10-18 09:00:11 +02:00
jld3103
b191e307aa Write correct pacman.conf after image is built 2021-10-16 10:46:27 +02:00
jld3103
37b5ecb34b Add phosh flavour and repository 2021-10-14 20:10:32 +02:00
jld3103
c70db11d64 Fix resize2fs 2021-10-10 21:21:46 +02:00
jld3103
77ebd48eab Fix image building 2021-10-08 15:22:02 +02:00
InsanePrawn
0b2caa02af Split up repos by arches, always add already-built packages to repo file again, don't use repo-add --new, ...
Signed-off-by: InsanePrawn <insane.prawny@gmail.com>
2021-10-04 20:16:27 +02:00
InsanePrawn
d85c00fa12 Move mounting code to utils.py, move a lot of chroot-logic from packages to chroot.py, cmd_chroot
also moar crossdirect

Signed-off-by: InsanePrawn <insane.prawny@gmail.com>
2021-10-01 18:30:01 +02:00
jld3103
acf59d35e8 Fix exit code handling of e2fsck 2021-10-01 12:32:44 +02:00
InsanePrawn
482c5f8111 Get rid of /app hardcodes
Signed-off-by: InsanePrawn <insane.prawny@gmail.com>
2021-09-30 17:18:32 +02:00
InsanePrawn
0e21f9060d small fixes 2021-09-30 05:05:30 +02:00
InsanePrawn
81f22e67ae include image size in flavour, centralise fs resizing in image.py 2021-09-30 05:04:42 +02:00
InsanePrawn
a3d85cda8c config.get_path(), wrapper: remove --config/-C from wrapper args 2021-09-30 03:50:47 +02:00
InsanePrawn
1d172ad635 reactive image inspect cmd since we're now no longer forced to wrap in docker 2021-09-29 23:21:19 +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
f6678181b8 let's break all the things! (use distros to generate repos)
Signed-off-by: InsanePrawn <insane.prawny@gmail.com>
2021-09-29 16:54:26 +02:00
InsanePrawn
becde79172 images: repo typo (comma goes tuple), logging/exception handling 2021-09-29 02:35:53 +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
3b69c2235b Crosscompile is borked, host-compile seems working
Signed-off-by: InsanePrawn <insane.prawny@gmail.com>
2021-09-26 17:19:30 +02:00
InsanePrawn
04cce26ca0 chroots: use path from config
Signed-off-by: InsanePrawn <insane.prawny@gmail.com>
2021-09-26 17:19:30 +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
da8a437341 Make it possible to use local prebuilts 2021-08-14 11:55:54 +02:00
jld3103
98040d8a31 Apply formatting 2021-08-08 18:32:42 +02:00
jld3103
bd751e539f Only add user to chroot when needed 2021-08-08 18:18:36 +02:00
jld3103
158bdad40b Fix location of local etc and bin files 2021-08-08 13:15:48 +02:00
InsanePrawn
cde685f06e provide /bin/pacman_aarch64 wrapper script, chroot: handle extra repos in pacman.conf
Signed-off-by: InsanePrawn <insane.prawny@gmail.com>
2021-08-06 05:24:06 +02:00
InsanePrawn
1364a97ddb image: factor out create_chroot into its own file
Signed-off-by: InsanePrawn <insane.prawny@gmail.com>
2021-08-06 02:21:50 +02:00
jld3103
1f5357bca6 WIP: Add rootfs building and flashing and other misc commands 2021-08-05 20:26:48 +02:00