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
|
8274a31068
|
pkgbuild.discover_pkgbuilds(): warn and skip directories that don't contain a PKGBUILD
|
2022-08-29 04:44:16 +02:00 |
|
InsanePrawn
|
3c2e6fe2d0
|
packages and image: wrap more upfront on missing binaries
|
2022-08-28 17:21:16 +02:00 |
|
InsanePrawn
|
a76ad5ac4b
|
packages.filter_packages(): only filter by arch if arch is not None
|
2022-08-28 17:20:35 +02:00 |
|
InsanePrawn
|
9f1281f1cb
|
wrapper_su_helper.py: use su -P to allocate a pseudo-TTY
|
2022-08-28 07:38:52 +02:00 |
|
InsanePrawn
|
57be536781
|
packages.cmd_sideload(): fix escape of --overwrite=*
|
2022-08-28 07:32:01 +02:00 |
|
InsanePrawn
|
b5214d9cd6
|
packages: respect package arches before and during building
|
2022-08-28 07:32:01 +02:00 |
|
InsanePrawn
|
39b98d30ae
|
chroot.create_user(): add primary_group parameter
|
2022-08-28 07:32:01 +02:00 |
|
InsanePrawn
|
7b05fa4fdb
|
packages.check_package_version_built(): use Pkgbuild.get_filename() instead of running makepkg --packagelist
|
2022-08-28 07:32:01 +02:00 |
|
InsanePrawn
|
2f98ffc79d
|
pkgbuild: add get_filename(arch)
|
2022-08-28 05:49:21 +02:00 |
|
InsanePrawn
|
ea88397f1f
|
packages.filter_packages(): optionally check package arch
|
2022-08-28 05:49:18 +02:00 |
|
InsanePrawn
|
d9a88e1474
|
packages: use user 'kupfer' in chroots for building
|
2022-08-28 05:49:18 +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
|
4dc134c8f8
|
exec/cmd: generate_cmd_{su,elevated}: tolerate flat string as input for cmd instead of list
|
2022-08-28 02:22:54 +02:00 |
|
InsanePrawn
|
ac7d16e4a7
|
exec.file.write_file(): fix situation where file exists but stat fails due to permissions
|
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
|
13ad63446e
|
DockerWrapper.wrap(): run as config.runtime.uid instead of root
|
2022-08-27 06:03:36 +02:00 |
|
InsanePrawn
|
6b64989a3b
|
config: add config.runtime.uid
|
2022-08-27 05:56:45 +02:00 |
|
InsanePrawn
|
4c77a16bba
|
main: add -w to *enforce* wrapping
|
2022-08-27 05:56:45 +02:00 |
|
InsanePrawn
|
57d5ed474f
|
typecheck.sh: show error codes
|
2022-08-27 03:46:07 +02:00 |
|
InsanePrawn
|
114755888e
|
packages: circumvent git dubious ownership errors in pkgbuilds.git due to chrootery
|
2022-08-27 03:45:19 +02:00 |
|
InsanePrawn
|
b154f835e6
|
constants: add QEMU_ARCHES
|
2022-08-26 22:55:08 +02:00 |
|
InsanePrawn
|
bc31f9822a
|
constants.py: add armv7h support
|
2022-08-26 22:55:08 +02:00 |
|
InsanePrawn
|
08fc10bf11
|
Pkgbuild: add refresh_sources()
|
2022-08-26 03:41:59 +02:00 |
|
InsanePrawn
|
6e8fd9f622
|
packages/pkgbuild: cache parsed pkgbuilds by path, add get_pkgbuild_by_path(), Pkgbuild.update(pkgb)
|
2022-08-26 03:30:32 +02:00 |
|
InsanePrawn
|
2b539f5a5b
|
Merge branch 'dev' into prawn/flavours
|
2022-08-25 16:53:13 +02:00 |
|
InsanePrawn
|
c4e96af44f
|
config: change pacman.check_space default to False as it causes problems even on ext4
|
2022-08-25 16:44:45 +02:00 |
|
InsanePrawn
|
2db8a0a0cb
|
packages: cleanup unnecessary bits
|
2022-08-25 13:52:35 +02:00 |
|
InsanePrawn
|
f940fd2301
|
test_config: remove double import of Profile
|
2022-08-23 21:43:18 +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
|
5a794ba3dd
|
packages: get_makepkg_env(): actually return env...
|
2022-08-23 17:38:58 +02:00 |
|
InsanePrawn
|
97d3f05968
|
gitlab-ci: generate test coverage
|
2022-08-20 05:59:31 +02:00 |
|
InsanePrawn
|
70c4799385
|
pytest.sh: generate junit xml
|
2022-08-20 05:32:52 +02:00 |
|
InsanePrawn
|
c53acbf2f4
|
.gitlab-ci: run python unit tests as user with passwordless sudo
|
2022-08-20 05:25:49 +02:00 |
|
InsanePrawn
|
39be2b2fb6
|
packages/test_device: add test for initialise_pkgbuilds_dir fixture
|
2022-08-20 04:51:25 +02:00 |
|
InsanePrawn
|
f5e3fa46ad
|
packages/ and image.py: less wrapping, remove hardcoded 'aarch64' where possible
|
2022-08-20 04:32:33 +02:00 |
|
InsanePrawn
|
657a5fe227
|
wrapper: add wrap_if_foreign_arch()
|
2022-08-20 04:32:33 +02:00 |
|
InsanePrawn
|
5b218e64c8
|
ssh.py: use check_programs_wrap() for ssh and scp binaries
|
2022-08-20 04:32:33 +02:00 |
|
InsanePrawn
|
27e7fe9a10
|
utils.programs_available(): add cache
|
2022-08-20 04:32:33 +02:00 |
|
InsanePrawn
|
8a7f78261f
|
packages: add device.py and initial tests
|
2022-08-20 04:32:33 +02:00 |
|
InsanePrawn
|
2d13d82943
|
config/: rework code around parsing profiles, add scheme.SparseProfile to account for the partial profiles in config
|
2022-08-20 04:32:33 +02:00 |
|
InsanePrawn
|
688f9e2375
|
config.ConfigStateHolder: initialize self._profile_cache in constructor
|
2022-08-19 18:12:21 +02:00 |
|
InsanePrawn
|
1c6689f710
|
packages.cmd_sideload(): fix string escape '\*' -> '\\*'
|
2022-08-19 17:18:18 +02:00 |
|
InsanePrawn
|
e001d107c2
|
move packages.{clone_pkbuilds(),discover_packages(),init_pkgbuilds()} to packages.pkgbuild
also rename discover_packages() to discover_pkgbuilds()
|
2022-08-19 17:13:03 +02:00 |
|
InsanePrawn
|
5baaaaa180
|
packages.discover_packages(): clean up caching
|
2022-08-19 16:55:53 +02:00 |
|
InsanePrawn
|
7d9f1b9ed8
|
pkgbuild.parse_pkgbuild() make config parameter optional
|
2022-08-19 16:55:17 +02:00 |
|
InsanePrawn
|
aaef4b7699
|
config/scheme: type annotate ConfigLoadState class
|
2022-08-18 05:47:05 +02:00 |
|