InsanePrawn
|
69404a4267
|
packages/build: check_package_built(): add init_prebuilts(arch)
|
2022-11-09 20:19:04 +01:00 |
|
InsanePrawn
|
98140565ef
|
packages: parse_pkgbuild(): handle split packages properly
|
2022-11-09 20:19:04 +01:00 |
|
InsanePrawn
|
b80f42d48a
|
packages: get_makepkg_env(): don't use host env, but provide standard PATH variable
|
2022-11-09 20:19:04 +01:00 |
|
InsanePrawn
|
c3e4b5c108
|
packages/device: get_device: check if device pkgbuild dir exists upfront and raise clear exception if not instead of asserting
|
2022-11-09 20:11:20 +01:00 |
|
InsanePrawn
|
4f7cb8f516
|
packages/device: implement Device.parse_deviceinfo(), add deviceinfo tests
|
2022-11-09 20:11:20 +01:00 |
|
InsanePrawn
|
81f88dd636
|
packages: clean up check_package_built() and use RemotePackage.acquire() in try_download_package()
|
2022-11-09 20:11:20 +01:00 |
|
InsanePrawn
|
a2c8868d61
|
packages/build: add_file_to_repo(): add remove_original=True parameter, clean up add_package_to_repo()
|
2022-11-09 20:11:19 +01:00 |
|
InsanePrawn
|
57fec8fd91
|
packages/build: split out init_local_repo() from init_prebuilts(), use in add_file_to_repo()
|
2022-11-09 20:11:19 +01:00 |
|
InsanePrawn
|
bf420a73be
|
distro: refactor BinaryPackage, Repo and Distro into generics for Local and Remote
|
2022-11-09 20:11:19 +01:00 |
|
InsanePrawn
|
dbe3dc91a3
|
distro/package: refactor class PackageInfo into class BinaryPackage(PackageInfo)
|
2022-11-09 19:39:59 +01:00 |
|
InsanePrawn
|
daa7b68738
|
packages: split up __init__.py into build.py and cli.py
|
2022-11-09 19:39:59 +01:00 |
|
InsanePrawn
|
d7f61f6475
|
packages: move filter_packages() to pkgbuild, rename to filter_pkgbuilds()
|
2022-11-09 19:39:59 +01:00 |
|
InsanePrawn
|
a3ec35bcd6
|
config: introduce rust cache
|
2022-11-09 19:39:59 +01:00 |
|
InsanePrawn
|
47e74fb415
|
config: introduce per-arch persisted ccache dir
|
2022-11-09 19:39:59 +01:00 |
|
InsanePrawn
|
d3e2224b02
|
pkgbuild.discover_pkgbuilds(): warn and skip directories that don't contain a PKGBUILD
|
2022-11-09 19:39:59 +01:00 |
|
InsanePrawn
|
5cb747aa26
|
packages and image: wrap more upfront on missing binaries
|
2022-11-09 19:39:59 +01:00 |
|
InsanePrawn
|
cdc803031e
|
packages.filter_packages(): only filter by arch if arch is not None
|
2022-11-09 19:39:59 +01:00 |
|
InsanePrawn
|
8fc33c85cf
|
packages.cmd_sideload(): fix escape of --overwrite=*
|
2022-11-09 19:39:59 +01:00 |
|
InsanePrawn
|
32f5fe643f
|
packages: respect package arches before and during building
|
2022-11-09 19:39:59 +01:00 |
|
InsanePrawn
|
a778f0786e
|
packages.check_package_version_built(): use Pkgbuild.get_filename() instead of running makepkg --packagelist
|
2022-11-09 19:39:59 +01:00 |
|
InsanePrawn
|
f2ccf06c5b
|
pkgbuild: add get_filename(arch)
|
2022-11-09 19:39:59 +01:00 |
|
InsanePrawn
|
fb4a12c464
|
packages.filter_packages(): optionally check package arch
|
2022-11-09 19:39:59 +01:00 |
|
InsanePrawn
|
bb14c4d779
|
packages: use user 'kupfer' in chroots for building
|
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
|
3d6aa98c21
|
packages: circumvent git dubious ownership errors in pkgbuilds.git due to chrootery
|
2022-11-02 00:38:18 +01:00 |
|
InsanePrawn
|
d03cb39358
|
Pkgbuild: add refresh_sources()
|
2022-11-02 00:38:18 +01:00 |
|
InsanePrawn
|
558993b89e
|
packages/pkgbuild: cache parsed pkgbuilds by path, add get_pkgbuild_by_path(), Pkgbuild.update(pkgb)
|
2022-11-02 00:38:18 +01:00 |
|
InsanePrawn
|
2db8a0a0cb
|
packages: cleanup unnecessary bits
|
2022-08-25 13:52:35 +02:00 |
|
InsanePrawn
|
5a794ba3dd
|
packages: get_makepkg_env(): actually return env...
|
2022-08-23 17:38:58 +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
|
8a7f78261f
|
packages: add device.py and initial tests
|
2022-08-20 04:32:33 +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
|
859b08df6a
|
packages.build_enable_qemu(): fixup for usage without wrapper, drop buildchroot requirement
|
2022-08-16 03:38:33 +02:00 |
|
InsanePrawn
|
dbf65b44df
|
parse_pkgbuild(): update basepkg version before copying to subpkgs
|
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
|
c562271006
|
image.py: use exec.run_root_cmd()
|
2022-08-15 17:48:42 +02:00 |
|
InsanePrawn
|
fdf03e2b97
|
packages: migrate to exec.run_(root_)cmd()
|
2022-08-15 06:41:59 +02:00 |
|
InsanePrawn
|
7fcd68ced9
|
packages.discover_packages(): don't use chroot for running makepkg --printsrcinfo , pass config, cache results
|
2022-08-15 06:17:26 +02:00 |
|
InsanePrawn
|
e3ad2edc69
|
packages/__init__.py: cleanups, mostly logging
|
2022-08-14 04:17:46 +02:00 |
|
InsanePrawn
|
d70805f3a6
|
pkgbuild.py: add pkgbuild.arches parsing, add SubPkgbuild class
|
2022-08-14 04:14:47 +02:00 |
|
InsanePrawn
|
2d71b1f3cc
|
package.setup_build_chroot(): demote "Initializing build chroot" message to debug
|
2022-08-13 19:48:16 +02:00 |
|
InsanePrawn
|
8e8713a9d3
|
packages.filter_packages_by_path(): also accept plain package names, rename function
|
2022-08-11 07:53:09 +02:00 |
|
InsanePrawn
|
7a074d1c11
|
packages: fix up cmd_sideload(), use get_kupfer_local() to find packages.
|
2022-08-11 07:53:09 +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 |
|