InsanePrawn
3ed8d379dd
Add help strings to all click CMDs
2022-02-13 19:57:04 +01:00
InsanePrawn
61c150843e
packages.py: --skipgpgcheck because we don't have the keys in our keyring usually
2022-02-06 19:22:53 +01:00
InsanePrawn
00c61844e7
packages: ensure all dependencies install successfully in host-mode
2022-01-29 07:52:16 +01:00
InsanePrawn
190251dd7d
packages, chroot: make sure chroots are initialised and /prebuilts is mounted
2022-01-29 07:51:38 +01:00
InsanePrawn
d42c94e738
packages.py: remove --prevent-downgrade (once again?)
2022-01-28 18:09:44 +01:00
InsanePrawn
c6fc2a186c
packages.py: generate ENV vars correctly (after config is loaded)
2022-01-28 18:09:36 +01:00
InsanePrawn
5bdc437f79
fix formatting
2022-01-27 14:27:39 +01:00
InsanePrawn
6d05f2b9e5
packages.py: cmd_{build,check}: fail if no packages match specified path. also enforce_wrap() in check
2022-01-27 02:31:51 +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
6900019fa2
packages.py: setup_sources(): use correct makepkg.conf
2022-01-26 13:57:46 +01:00
InsanePrawn
ae5b8b68f7
packages.py: extract build_enable_qemu_binfmt(), use in image.py
2021-12-29 00:57:35 +01:00
InsanePrawn
b623d017be
clone_pkbuilds(): add update parameter, don't update during package build
2021-12-01 20:01:07 +01:00
InsanePrawn
64bcdcfb5f
Packages: Move makepkg parsing into build_chroot
2021-12-01 19:59:35 +01:00
InsanePrawn
8934d94f9c
chroot.py: fix activation and initialisation of build_chroots: mount packages
2021-10-27 00:48:15 +02:00
InsanePrawn
38438d5fda
Chroot.initialise(): add reset
param, refactor in general
2021-10-25 01:51:03 +02:00
InsanePrawn
46b638059c
Fix removing added packages from pacman cache
...
Now this behaviour may seem disk-shreddy, but the real issue is always running add_file_to_repo() during package scanning,
which should be solved by parsing the repo db and comparing checksums at package build time and in case pacman installation fails.
2021-10-25 01:51:03 +02:00
InsanePrawn
49e6bf740f
Chroot.run_cmd(): add cwd
param, convert packages.setup_sources() to use run_cmd() for makepkg
2021-10-25 01:51:03 +02:00
InsanePrawn
6be94271a2
make packages build
work again
2021-10-25 01:51:03 +02:00
InsanePrawn
bc8904c1f1
WIP: make packages.py work moar
2021-10-25 01:51:03 +02:00
InsanePrawn
3a9deb2340
WIP: refactor packages.py to use Chroot
2021-10-25 01:51:03 +02:00
InsanePrawn
3390014a9c
packages.py: fix package update
cmd with --non-interactive
2021-10-25 01:47:35 +02:00
jld3103
0e07a33968
Add packages sideload feature
2021-10-18 09:00:11 +02:00
InsanePrawn
135ffc5def
packages.py: cmd_build(): batch CROSSDIRECT_PKGS installation
2021-10-18 01:54:39 +02:00
jld3103
c22b509347
Further fix package building
2021-10-17 18:14:39 +02:00
jld3103
fe52671e06
Fix package building
2021-10-17 13:48:37 +02:00
InsanePrawn
52458bd314
manage (download, pull) pkgbuilds.git, move it inside .cache. add git() convenience wrapper
2021-10-17 03:23:29 +02:00
jld3103
78af4ebce8
Drop pkgbuild pkgname prefix check
2021-10-13 18:35:06 +00:00
jld3103
0d7259f133
Fix cross/* packages installation
2021-10-13 20:29:10 +02:00
jld3103
949183b290
Merge branch 'config' of gitlab.com:kupfer/kupferbootstrap into config
2021-10-10 21:23:49 +02:00
jld3103
e88bc393bb
Allow semicolon in PKGBUILD strings
2021-10-10 21:23:39 +02:00
jld3103
9aa17d1fc7
Fix check if split packages have been built
2021-10-10 21:23:19 +02:00
InsanePrawn
fd4ac1c2cd
no need to force-reinstall qemu/binfmt anymore
2021-10-10 18:40:45 +02:00
InsanePrawn
87345ab2da
refactor packages.py, register qemu-binfmt manually
2021-10-10 18:29:44 +02:00
InsanePrawn
c7b2159481
Respect crossdirect and ccache build config in cmd_build()
2021-10-07 01:14:42 +02:00
jld3103
291ddb85ca
Always install base, base-devel and git inside of the base chroots
2021-10-06 21:25:44 +02:00
jld3103
c4760bd99e
Fix formatting
2021-10-06 21:02:30 +02:00
jld3103
13c284012d
Check PKGBUILDs for arches hint
2021-10-06 21:00:47 +02:00
InsanePrawn
f76164215b
build(): don't install dependencies that we provide ourselves as split-packages
2021-10-05 21:00:53 +02:00
InsanePrawn
eb67c34f9b
i think crossdirect works for real now?
2021-10-05 20:31:11 +02:00
InsanePrawn
f90bf1006a
Fixup error shell, exception log level in main() and arch checking before docker wrapping in cmd_build()
2021-10-05 17:34:43 +02:00
InsanePrawn
5eefcc9942
packages/cmd_build(): add check for unknown arch + error message
2021-10-05 17:07:11 +02:00
InsanePrawn
643cc21d3c
bugfixes! what kind of drunk seafood wrote these?
2021-10-05 16:36:44 +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
1ba4dcfaec
refactor packages.py code into chroot.generate_makepkg_conf(), use generated conf in check_package_version_built()
2021-10-04 14:36:39 +02:00
InsanePrawn
f95d16c996
fix crosscompile -> add makepkg_cross_{arch}.conf generation
...
TODO: use everywhere
2021-10-04 13:34:37 +02:00
InsanePrawn
6242e4850d
partially fix crossdirect and QEMU_LD_PREFIX env var, copy /lib/ld-linux-* to foreign chroot for cross-execution
2021-10-04 13:34:37 +02:00
jld3103
527cc5606c
Fix formatting
2021-10-02 08:52:58 +02:00
InsanePrawn
2d8c416327
Redownload sources during building since we don't know if version() was last run on the correct arch
...
not all programs have the same source/state across arches (i.e. -bin packages)
2021-10-02 06:37:15 +02:00
InsanePrawn
b490cd10ee
Clean up envs passing for chroots, add crossdirect packages (todo: cleanup)
2021-10-02 06:36:48 +02:00