Commits on Source (18)
-
-
Fixes bec2a4b1 [ci:skip-build]: already built successfully in CI
-
Oliver Smith authored
-
This can otherwise fail if the package was only built for some architectures so far, but not for the architecture that is being generated. E.g. right now musl-1.2.5-r6 was built already for x86_64 but not aarch64, which causes errors like the following when running "pmbootstrap aportgen musl-x86_64" on aarch64: >>> musl-x86_64: Fetching musl-1.2.5-r5-x86_64-edge.apk::http://dl-4.alpinelinux.org/alpine//edge/main/x86_64/musl-1.2.5-r5.apk Connecting to dl-4.alpinelinux.org (147.75.40.42:80) Connecting to dl-4.alpinelinux.org (147.75.40.42:443) wget: server returned error: HTTP/1.1 404 Not Found >>> ERROR: musl-x86_64: checksum failed
-
recent changes to the kernels build infra in -next seem to have exposed some issues with "pmbootstrap build --envkernel", specifically in the case where the APKBUILD doesn't build out-of-tree. We used to rely on the fact that the kernel output directory contains a Makefile which points to the source directory, however this Makefile now(?) contains an absolute path on the host, which won't match what's in the chroot. As a result, it's now necessary to build with the same output directory as the APKBUILD. We probably need some smarter code here... and/or more consistent APKBUILDs. Signed-off-by:
Caleb Connolly <caleb@postmarketos.org>
-
Otherwise abuild will try and fail to create /dev/null Signed-off-by:
Caleb Connolly <caleb@postmarketos.org> [ci:skip-build]: already built successfully in CI
-
Robert Eckelmann authored
Signed-off-by:
Robert Eckelmann <longnoserob@postmarketos.org>
-
Jens Reidel authored
riscv64 is supported but currently not covered by the arch test suite. Signed-off-by:
Jens Reidel <adrian@travitia.xyz>
-
Jens Reidel authored
self.arch is a property and calls Arch.from_str, which errors upon encountering an unknown architecture. Therefore, the error message is changed and needs to be adjusted in the tests. Since Arch.supported is a set, error messages were not deterministic before, so we need to sort the list of architectures now. Signed-off-by:
Jens Reidel <adrian@travitia.xyz>
-
Jens Reidel authored
g++ is a subpackage of gcc, but cannot be detected as such easily by pmbootstrap. This is because g++ is not gcc-g++ or any other variant of such package names. Similarly, the detection for musl-dev-ppc64le and other architectures is broken, since the -dev suffix detection does not work if there is an architecture suffix. To fix it, add special case handling for cross toolchain and packages and have that fixup the -dev cases and hardcode g++ as a subpackage of gcc. To reproduce: - Generate ppc64le cross packages: pmbootstrap aportgen gcc-ppc64le musl-ppc64le - Build a package (to trigger building cross compilers): pmbootstrap build hello-world --arch=ppc64le Signed-off-by:
Jens Reidel <adrian@travitia.xyz>
-
Jens Reidel authored
Signed-off-by:
Jens Reidel <adrian@travitia.xyz>
-
Jens Reidel authored
Previously, it would only fall back to parsing all APKBUILDs if a main package was guessed for this potential subpackage. We do however want to scan all APKBUILDs in case the package is provided by one of the packages in pmaports. Signed-off-by:
Jens Reidel <adrian@travitia.xyz>
-
Jens Reidel authored
Signed-off-by:
Jens Reidel <adrian@travitia.xyz>
-
Jens Reidel authored
pmbootstrap qemu did not respect architecture-specfic QEMU command name mappings. Signed-off-by:
Jens Reidel <adrian@travitia.xyz>
-
Jens Reidel authored
Signed-off-by:
Jens Reidel <adrian@travitia.xyz>
-
Newbyte authored
I think this is easier to read and has more obvious error handling.
-
-
Newbyte authored
Showing
- .ci/docs.sh 2 additions, 1 deletion.ci/docs.sh
- docs/conf.py 1 addition, 0 deletionsdocs/conf.py
- pmb/aportgen/busybox_static.py 1 addition, 1 deletionpmb/aportgen/busybox_static.py
- pmb/aportgen/core.py 1 addition, 1 deletionpmb/aportgen/core.py
- pmb/aportgen/grub_efi.py 1 addition, 1 deletionpmb/aportgen/grub_efi.py
- pmb/aportgen/musl.py 1 addition, 1 deletionpmb/aportgen/musl.py
- pmb/build/envkernel.py 2 additions, 8 deletionspmb/build/envkernel.py
- pmb/build/newapkbuild.py 1 addition, 0 deletionspmb/build/newapkbuild.py
- pmb/config/__init__.py 1 addition, 0 deletionspmb/config/__init__.py
- pmb/core/arch.py 91 additions, 60 deletionspmb/core/arch.py
- pmb/core/chroot.py 1 addition, 10 deletionspmb/core/chroot.py
- pmb/core/test_arch.py 7 additions, 1 deletionpmb/core/test_arch.py
- pmb/core/test_chroot.py 4 additions, 1 deletionpmb/core/test_chroot.py
- pmb/helpers/git.py 1 addition, 1 deletionpmb/helpers/git.py
- pmb/helpers/pmaports.py 50 additions, 14 deletionspmb/helpers/pmaports.py
- pmb/qemu/run.py 4 additions, 1 deletionpmb/qemu/run.py