Commit graph

16 commits

Author SHA1 Message Date
InsanePrawn
3952892029 generator.generate_pacman_conf_body(): add in_chroot=False param to use config.get_path('pacman') if necessary 2022-08-23 21:41:41 +02:00
InsanePrawn
4e4e12b6b9 chroot.run_cmd(): don't blindly import outer env into chroot, avoiding a bunch of spam. 2022-08-17 00:50:20 +02:00
InsanePrawn
25ea4afe9b chroot/: make devicechroot pacstrap work without docker wrapper 2022-08-16 02:35:40 +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
66ac56d715 chroot: extract run_cmd() to new exec.py, use in utils.py and chroot/abstract.py 2022-08-15 06:17:26 +02:00
InsanePrawn
fe6fd7dfb5 config: introduce pacman.check_space, use it in chroot.write_pacman_conf() 2022-08-10 15:28:17 +02:00
InsanePrawn
a746e938cd Chroot.deactivate(ignore_rootfs=True): also ignore /boot 2022-05-07 13:34:14 +02:00
InsanePrawn
3874b4e626 chroot: cleanups, initialize(): unmount everything except / before create_rootfs() 2022-05-06 04:07:41 +02:00
InsanePrawn
560b5bcd45 chroot: fix accidental static Chroot members, add uuid 2022-05-05 20:43:03 +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
0c38fabf11 format: clean up leftovers 2022-02-18 06:49:23 +01:00
InsanePrawn
7a324555da Type annotate all the things! 2022-02-18 06:32:04 +01:00
InsanePrawn
a7da033845 distro: fix type annotations to please mypy 2022-02-18 03:30:21 +01:00
InsanePrawn
d13392b2b8 chroot: break up into subclasses 2022-02-17 21:49:24 +01:00