Commit graph

18 commits

Author SHA1 Message Date
InsanePrawn
2ece1f288c move pacman.conf body to generator.py, fix check_space for build chroots
with check_space=True, build chroots fail to pacman -S anything, because their rootfs is not a mountpoint,
hence pacman's space calculations will fail and return not enough free space.
We do want these space checks when pacstrapping device rootfilesystems though.
2022-02-17 02:32:50 +01:00
InsanePrawn
a687287c04 generate_pacman_conf(): default check_space to True 2022-02-14 18:32:37 +01:00
InsanePrawn
a0a5a5a677 Migrate leftovers to CHROOT_PATHS 2022-01-26 17:50:08 +01:00
InsanePrawn
b65823bc10 Introduce constants.CHROOT_PATHS to spec paths _inside_ chroots 2022-01-26 15:50:41 +01:00
InsanePrawn
863fbc1df0 pacman.conf: make ParallelDownloads configurable 2021-12-29 21:30:06 +01:00
InsanePrawn
8e8cd4eafa distro.py: remove leftover line 2021-12-02 15:10:55 +01:00
InsanePrawn
1d9f8239a0 distro.py: don't scan repos by default 2021-12-01 20:30:55 +01:00
InsanePrawn
f5e6590e29 distro.py: add $repo.db parsing 2021-12-01 20:07:09 +01:00
jld3103
90366e0a85 Simplify generation of pacman.conf 2021-10-16 10:45:43 +02:00
InsanePrawn
0b2caa02af Split up repos by arches, always add already-built packages to repo file again, don't use repo-add --new, ...
Signed-off-by: InsanePrawn <insane.prawny@gmail.com>
2021-10-04 20:16:27 +02:00
InsanePrawn
181643e6c0 Make pacman cache arch-specific 2021-10-01 18:28:50 +02:00
InsanePrawn
0e21f9060d small fixes 2021-09-30 05:05:30 +02:00
InsanePrawn
a3d85cda8c config.get_path(), wrapper: remove --config/-C from wrapper args 2021-09-30 03:50:47 +02:00
InsanePrawn
dad46d3655 Unbreak some of the things!
Signed-off-by: InsanePrawn <insane.prawny@gmail.com>
2021-09-29 16:59: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
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
d08e25fe1b Add distros.get_base_distros() 2021-09-26 17:19:30 +02:00
InsanePrawn
232df81901 WIP: Add scaffolding for arch-agnostic base-distro handling 2021-09-26 17:19:30 +02:00