Commit graph

18 commits

Author SHA1 Message Date
InsanePrawn
7ab4904cbc main.py: always print at least the beginning and end of the stack trace 2022-11-09 20:19:04 +01:00
InsanePrawn
8ad18c00a6 global: refactor to use config.{file,runtime}.$member instead of config.file["$member"] 2022-11-09 19:39:59 +01:00
InsanePrawn
5e4c038ed0 main: add -w to *enforce* wrapping 2022-11-02 00:38:18 +01:00
InsanePrawn
61476aae62 main.py: add -E alias for --error-shell 2022-01-26 17:53:53 +01:00
InsanePrawn
f90bf1006a Fixup error shell, exception log level in main() and arch checking before docker wrapping in cmd_build() 2021-10-05 17:34:43 +02:00
InsanePrawn
c1ece2d616 main.py: add error shell flag for popping a shell on exceptions 2021-10-04 20:16:59 +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
InsanePrawn
0b134257cc make main.py _the_ entry point, also chmod +x 2021-09-30 17:19:55 +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
18c689f897 Add config init, currently broken due to docker wrapping 2021-09-29 22:57:26 +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
d52a615774 Make main.py the main entrypoint again and call docker wrapper enforcement from cli() callback
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
4df7e93655 Add telnet command 2021-08-17 20:47:24 +02:00
jld3103
1f5357bca6 WIP: Add rootfs building and flashing and other misc commands 2021-08-05 20:26:48 +02:00
jld3103
f9ba5a3cfd Initial commit 2021-08-04 18:36:37 +02:00