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
InsanePrawn
2733d49eab
constants: import TypeAlias from typing_extensions (py3.9 compat)
2022-02-20 20:21:23 +01:00
InsanePrawn
08d7ce8862
move Pkgbuild class to packages/
2022-02-20 20:21:05 +01:00
InsanePrawn
434ddfde8f
small cleanups
2022-02-20 19:23:28 +01:00
InsanePrawn
71093ef43b
packages: extract into subdir
2022-02-18 17:23:53 +01:00
InsanePrawn
5f47602aa1
gitlab-ci: add mypy type-checking
2022-02-18 06:50:47 +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
13e0de7f03
remove Package alias for Pkgbuild class
2022-02-17 21:48:23 +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
InsanePrawn
08141c35e9
chroot.cmd_inspect(): fix Chroot.init() -> Chroot.initialize()
2022-02-17 19:38:44 +01:00
InsanePrawn
ddab25b030
Chroot.run_cmd(): fix parameter type annotations
2022-02-17 19:37:37 +01:00
InsanePrawn
700c914855
constants.py: make TypeAliases explicit
2022-02-17 19:36:08 +01:00
InsanePrawn
795be0bf2a
pkgbuild: add Pkgbase class for split-package parents, fix type annotations
2022-02-17 19:34:58 +01:00
InsanePrawn
b6b89344d4
packages.py: add cmd_list()
2022-02-17 16:38:48 +01:00
InsanePrawn
14a2d0ae12
wrapper/: introduce Wrapper protocol
2022-02-17 16:38:48 +01:00
InsanePrawn
3fbda2e089
Remove leftovers, please the formatter.
2022-02-17 06:42:15 +01:00
InsanePrawn
fa2ecd8771
packages.py: also add package.replaces to dictionary as name
...
(packages that offer `replaces` get preference by pacman over the replaced pkg)
2022-02-17 06:28:12 +01:00
InsanePrawn
e72a7f31bb
pkgbuild: also parse replaces
2022-02-17 06:08:31 +01:00
InsanePrawn
0c3592065c
distro: refactor into multiple files, packages: factor out distro.Pkgbuild class
2022-02-17 05:55:35 +01:00
InsanePrawn
7359b447e7
distro: refactor Repo- and PackageInfo into separate files
2022-02-17 03:11:33 +01:00
InsanePrawn
94b80b4fca
distro: move to own subfolder
2022-02-17 03:00:21 +01:00
InsanePrawn
b325708d9f
remove unused local/etc/
2022-02-17 03:00:21 +01:00
InsanePrawn
335cf2bf05
packages/cmd_clean(): make src/ and pkg/ selectable, add -n/--noop
2022-02-17 02:34:56 +01:00
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
59747f7a14
remove unused local/bin/pacman_aarch64
2022-02-17 01:12:32 +01:00
InsanePrawn
418a8c16c2
wrapper: refactor docker into submodule
2022-02-16 21:14:37 +01:00
InsanePrawn
b6dfc9e065
wrapper: move to directory
2022-02-16 18:38:18 +01:00
InsanePrawn
5b730ce342
cmd_image_inspect(): add profile-name arg
2022-02-15 00:03:48 +01:00
InsanePrawn
1179cdf212
wrapper: debug-print docker build cmd
2022-02-14 20:53:33 +01:00
InsanePrawn
96cb6fc3f1
binfmt.unregister(): drop unused args
2022-02-14 20:53:15 +01:00
InsanePrawn
306aaeb9a6
chroot.create_user(): change user password instead of root's
2022-02-14 20:51:43 +01:00
InsanePrawn
9013df51a6
Dockerfile: initialise and update archlinux keyring before package installations
2022-02-14 20:51:10 +01:00
InsanePrawn
d2ec51b364
trim leftovers to please the formatter
2022-02-14 20:05:13 +01:00
InsanePrawn
5f6772eb39
add size_extra_mb to profiles, use in cmd_image_build()
2022-02-14 19:59:43 +01:00