Commit graph

18 commits

Author SHA1 Message Date
InsanePrawn
33f4a81981 config: move code from __init__.py into cli.py 2022-11-09 20:19:04 +01:00
InsanePrawn
746e42a4f6 chroot: clean up the copy_base instance var mess 2022-11-09 20:19:04 +01:00
InsanePrawn
8a31a98946 chroots: clean up get_*chroot() function signatures 2022-11-09 20:19:04 +01:00
InsanePrawn
f705e39ca1 chroot.mount_{ccache,rust}: use config.get_path() to resolve %cache_dir% 2022-11-09 20:19:04 +01:00
InsanePrawn
6cce302dcc chroot: add chroot.get_uid(user: str), use in chroot.mount_{ccache,rust} to apply correct ownership 2022-11-09 19:39:59 +01:00
InsanePrawn
a3ec35bcd6 config: introduce rust cache 2022-11-09 19:39:59 +01:00
InsanePrawn
47e74fb415 config: introduce per-arch persisted ccache dir 2022-11-09 19:39:59 +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
4ed0b8626b add exec.file.symlink() and use in BuildChroot 2022-08-16 03:39:29 +02:00
InsanePrawn
707c61f026 replace os.makedirs with exec.{root_,}makedir where applicable 2022-08-16 02:35:40 +02:00
InsanePrawn
cc29b60f9f use exec.file.{root_write_file,remove_file} where appropiate 2022-08-16 02:35:40 +02:00
InsanePrawn
879fd113f0 exec: migrate exec.py to exec/cmd.py 2022-08-15 17:48:42 +02:00
InsanePrawn
6593471a8e chroot/*: use exec.run_(root_)cmd 2022-08-15 06:32:43 +02:00
InsanePrawn
6917347219 chroot: fix rsync --exclude (use CHROOT_PATHS.values instead of implict keys()) 2022-05-06 05:27:08 +02:00
InsanePrawn
686c94c3ad chroot: exclude all CHROOT_PATHS from rsync, keep leading slashes 2022-05-05 21:22:53 +02:00
InsanePrawn
9ff6f24489 chroot/: fix class vars vs instance vars
looking at you, Chroot.active_mounts = []
2022-03-03 16:54:43 +01:00
InsanePrawn
7a324555da Type annotate all the things! 2022-02-18 06:32:04 +01:00
InsanePrawn
d13392b2b8 chroot: break up into subclasses 2022-02-17 21:49:24 +01:00