InsanePrawn
|
cc1b4b3ee2
|
packages/build: redirect output from stderr to stdout
|
2023-03-17 16:34:20 +01:00 |
|
InsanePrawn
|
a8e8ddc4b4
|
typecheck: add --check-untyped-defs and fix some associated type errors
|
2022-11-09 20:19:04 +01:00 |
|
InsanePrawn
|
82a87e7ea9
|
implement explicit Optional type hints for =None parameters
Thanks https://github.com/hauntsaninja/no_implicit_optional
|
2022-11-09 20:19:04 +01:00 |
|
InsanePrawn
|
71e33ab8e1
|
chroot/abstract: remove leftover print statement
|
2022-11-09 20:19:04 +01:00 |
|
InsanePrawn
|
33f4a81981
|
config: move code from __init__.py into cli.py
|
2022-11-09 20:19:04 +01:00 |
|
InsanePrawn
|
9fbb2dec46
|
chroot: remove initialize=False arg from Chroot()
|
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
|
07a8c3c79a
|
chroot/abstract: clean up
|
2022-11-09 20:19:04 +01:00 |
|
InsanePrawn
|
1d0a97560b
|
chroot.mount_pacman_cache(): use /var/cache/pacman/pkg to avoid problems while pacstrapping, adjust pacman.conf generator
|
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
|
c0fd1f51b5
|
chroot: add chroot.mount_chroots() to mount /chroot and use in cmd_chroot()
|
2022-11-09 19:39:59 +01:00 |
|
InsanePrawn
|
b6239a45ce
|
chroot.create_user(): add primary_group parameter
|
2022-11-09 19:39:59 +01:00 |
|
InsanePrawn
|
1cac36b73a
|
chroot: add chroot.add_sudo_config()
|
2022-11-09 19:39:59 +01:00 |
|
InsanePrawn
|
5329f7a5b0
|
chroot.create_user(): add optional uid and non_unique parameter
|
2022-11-09 19:39:59 +01:00 |
|
InsanePrawn
|
17669ea8d2
|
chroot.run_cmd(): add switch_user parameter
|
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
|
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 |
|