Commit graph

518 commits

Author SHA1 Message Date
InsanePrawn
ec1e5fa300 distro.py: cache get_kupfer_{local,https}() results 2022-08-11 07:24:48 +02:00
InsanePrawn
1a58b136e3 distro: add Distro.{scan,is_scanned}() 2022-08-11 07:24:48 +02:00
InsanePrawn
bcf7450235 image.install_rootfs(): write /etc/hostname 2022-08-11 07:24:48 +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
97c1bd1f74 {image,packages}.cmd_build(): document the HTTPS download behaviour
and minor cleanups for cli params
2022-08-10 01:38:45 +02:00
InsanePrawn
5003225409 distro: clean up merging dicts in distro.get_packages() 2022-08-10 01:38:45 +02:00
InsanePrawn
85b4463da4 repo.py: remove unnecessary config import 2022-08-10 01:38:45 +02:00
InsanePrawn
5f3e43a922 image.py: autoformat cmd_build() parameter decorators 2022-08-10 01:05:49 +02:00
InsanePrawn
d8e754cdd9 image.cmd_build(): add --no-download-pkgs; clean up other params 2022-08-09 00:10:58 +02:00
InsanePrawn
80f72b2711 packages: make sure that repos are initialized before building or downloading pkgs 2022-08-09 00:09:26 +02:00
InsanePrawn
6a7a0d6d17 pkgbuild.py: fix subpackages being swallowed 2022-08-08 23:52:55 +02:00
InsanePrawn
06b8536915 fixups: properly propagate distro.scan and try_download 2022-08-08 22:58:08 +02:00
InsanePrawn
597390c1e6 distro: fixup package repo downloading and scanning 2022-08-08 22:13:49 +02:00
InsanePrawn
ea7df92b7f pkgdownload: fixups and typechecks 2022-08-08 16:56:46 +02:00
InsanePrawn
657ada4c73 packages: finish pkg downloads: add --no-download flag, wire it up 2022-08-08 16:49:58 +02:00
InsanePrawn
07c8e178fb packages: add downloading packages 2022-08-08 16:39:41 +02:00
InsanePrawn
d249504151 packages.get_unbuilt_package_levels(): optimize if statement checking whether packages need to be [re]built 2022-08-08 16:38:54 +02:00
InsanePrawn
0d05d3ca26 distro/repo: add repo.resolve_url(self) instance method 2022-08-08 16:35:47 +02:00
InsanePrawn
6bff3c3c83 get_unbuilt_package_levels: don't write dependants into the packages set 2022-08-08 14:26:22 +02:00
InsanePrawn
1019e8d30c packages cmd_build(): make --rebuild-dependants add dependants to the dependency chain 2022-08-08 02:53:52 +02:00
InsanePrawn
cec145232e packages cmd_build: add --rebuild-dependants, default to False 2022-08-08 02:49:24 +02:00
InsanePrawn
13bb652301 tox.ini: specify maximum line length 2022-08-08 02:49:16 +02:00
InsanePrawn
7bb0d9a2e6 packages build: copy built any-arch packages over to other repos 2022-08-08 02:49:16 +02:00
InsanePrawn
882e95b823 typecheck.sh: deduplicate files 2022-07-15 06:14:33 +02:00
InsanePrawn
1ee38a3fb4 .gitlab-ci.yml: build docs for main branch, not dev, now that they're released to main 2022-07-09 15:07:56 +02:00
Evan Deaubl
0da9feeda0 constants.py: add oneplus-fajita device to support OP6T 2022-07-04 21:37:12 +00:00
Prawn
35a79363a4 docs: add sphinx docs and gitlab pages 2022-06-24 01:43:34 +00:00
InsanePrawn
e28239454a packages: cmd_check: extend set of characters that justify quoting 2022-06-08 04:02:05 +02:00
Syboxez Blank
fc90e30bd7 Update README.md with new dependencies 2022-05-21 18:45:56 -05:00
InsanePrawn
2778038b19 constants: temporarily replace squeekboard with phosh-osk-stub 2022-05-10 06:47:47 +02:00
InsanePrawn
e460e7d0be image: fix runtime conf access for native architecture 2022-05-09 01:35:04 +02:00
InsanePrawn
6000679817 image: cmd_build(): add --[no-]local-repos to build images from https repos only 2022-05-08 18:05:15 +02:00
InsanePrawn
cb95846fb5 distro: put extra_repos before core repos in pacman.conf 2022-05-08 18:05:15 +02:00
InsanePrawn
e288918e58 image.py: make device paths work with cmd_flash() again, add dd debug output 2022-05-08 18:05:15 +02:00
InsanePrawn
232254948d config: add pacman.repo_branch, adjust KUPFER_HTTPS url to include $arch and use repo_branch 2022-05-08 18:05:09 +02:00
InsanePrawn
933ffd833c logger: add colors 2022-05-07 15:28:06 +02:00
InsanePrawn
42a82a10e8 packages: fix up cmd_clean() 2022-05-07 13:49:39 +02:00
InsanePrawn
a746e938cd Chroot.deactivate(ignore_rootfs=True): also ignore /boot 2022-05-07 13:34:14 +02:00
InsanePrawn
b13b00e85b get_makepkg_env(): filter out CI variables 2022-05-07 05:32:25 +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
ac99b0bca3 wrapper: fix self.type.capitalise() vs self.type.upper() 2022-05-05 15:54:50 +02:00
InsanePrawn
75e4efe0d7 config.py: satisfy mypy on TypedDict access via runtime string 2022-05-05 14:27:21 +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
179434729b image.shrink_fs(): fix image size calculation 2022-03-02 16:26:04 +01:00
InsanePrawn
6fdf426f6e install_rootfs(): add sudoers.d/wheel 2022-03-02 16:26:04 +01:00
InsanePrawn
539be06e8e Merge branch 'dev' into chroot-bootpart 2022-02-28 05:17:00 +01:00
InsanePrawn
68ea784cf4 LICENSE: Add GPLv3 as was decided ages ago on Matrix. 2022-02-28 04:26:08 +01:00