InsanePrawn
|
6c26260001
|
chroot: add chroot.get_uid(user: str), use in chroot.mount_{ccache,rust} to apply correct ownership
|
2022-08-29 20:20:16 +02:00 |
|
InsanePrawn
|
2ef5f27c6c
|
config: introduce rust cache
|
2022-08-29 04:44:16 +02:00 |
|
InsanePrawn
|
4285cf734c
|
config: introduce per-arch persisted ccache dir
|
2022-08-29 04:44:16 +02:00 |
|
InsanePrawn
|
fd1f759429
|
chroot: add chroot.mount_chroots() to mount /chroot and use in cmd_chroot()
|
2022-08-29 04:44:16 +02:00 |
|
InsanePrawn
|
39b98d30ae
|
chroot.create_user(): add primary_group parameter
|
2022-08-28 07:32:01 +02:00 |
|
InsanePrawn
|
dcccc9bdc8
|
chroot: add chroot.add_sudo_config()
|
2022-08-28 05:49:18 +02:00 |
|
InsanePrawn
|
fc92298100
|
chroot.create_user(): add optional uid and non_unique parameter
|
2022-08-28 02:22:54 +02:00 |
|
InsanePrawn
|
20975feec6
|
chroot.run_cmd(): add switch_user parameter
|
2022-08-28 02:22:54 +02:00 |
|
InsanePrawn
|
bef0efc637
|
global: refactor to use config.{file,runtime}.$member instead of config.file["$member"]
|
2022-08-27 17:06:48 +02:00 |
|
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
|
5eda60c14d
|
chroot/device.py: Use exec.file.get_temp_dir() for pacman.conf
|
2022-08-17 00:50:20 +02:00 |
|
InsanePrawn
|
4ed0b8626b
|
add exec.file.symlink() and use in BuildChroot
|
2022-08-16 03:39:29 +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
|
6593471a8e
|
chroot/*: use exec.run_(root_)cmd
|
2022-08-15 06:32:43 +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
|
6917347219
|
chroot: fix rsync --exclude (use CHROOT_PATHS.values instead of implict keys())
|
2022-05-06 05:27:08 +02:00 |
|
InsanePrawn
|
3874b4e626
|
chroot: cleanups, initialize(): unmount everything except / before create_rootfs()
|
2022-05-06 04:07:41 +02:00 |
|
InsanePrawn
|
686c94c3ad
|
chroot: exclude all CHROOT_PATHS from rsync, keep leading slashes
|
2022-05-05 21:22:53 +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 |
|
InsanePrawn
|
6a1e301693
|
chroot.py: add Chroot stub class to please mypy
|
2022-02-17 19:41:54 +01:00 |
|
InsanePrawn
|
c7bebf0f15
|
Split chroot.py into subdir
|
2022-02-17 19:41:54 +01:00 |
|