Commits on Source (15)
-
Clayton Craft authored
Here's the problem: Imagine a queue with 2 packages in it, the 1st package uses crossdirect and the second uses cross-native. When building the 1st package, pmb will configure the native chroot for crossdirect as expected. When it gets to the 2nd package, the chroot env/config might not be appropriate for actually doing a native cross compile. This re-inits the cross compiler stuff if the cross compile method changes while processing the queue. Another approach that might solve this problem is to not re-use chroots when building packages... I didn't think this was a good way to go because it would greatly increase runtime (having to recreate chroots multiple times)
-
Oliver Smith authored
It is not needed to run the linter as root, so don't do it. This is probably a leftover from early days pmbootstrap, where pmaports.git wasn't chowned by the user running pmbootstrap.
-
Oliver Smith authored
The output of apkbuild-lint is hard to spot among other log messages from pmbootstrap, because it is not colorized. Add "*** apkbuild-lint output ***"" before and after the output of apkbuild-lint, so we get a standing out message in green around the apkbuild-lint output.
-
Oliver Smith authored
Now that we have moved the kconfigcheck configuration into pmaports branches via kconfigcheck.toml, it is time to get rid of the hardcoded list of valid "pmb:kconfigcheck-…" options for APKBUILDs. Generate it from the kconfigcheck.toml of the current branch, too. These options are passed from "pmbootstrap lint" to "apkbuild-lint", which we run in pmaports CI.
-
-
-
-
-
Showing
- .ci/mypy.sh 3 additions, 2 deletions.ci/mypy.sh
- pmb/aportgen/__init__.py 11 additions, 4 deletionspmb/aportgen/__init__.py
- pmb/aportgen/busybox_static.py 7 additions, 2 deletionspmb/aportgen/busybox_static.py
- pmb/aportgen/core.py 21 additions, 19 deletionspmb/aportgen/core.py
- pmb/aportgen/gcc.py 3 additions, 2 deletionspmb/aportgen/gcc.py
- pmb/aportgen/grub_efi.py 5 additions, 3 deletionspmb/aportgen/grub_efi.py
- pmb/aportgen/musl.py 6 additions, 3 deletionspmb/aportgen/musl.py
- pmb/build/_package.py 10 additions, 9 deletionspmb/build/_package.py
- pmb/build/other.py 1 addition, 1 deletionpmb/build/other.py
- pmb/chroot/apk.py 16 additions, 20 deletionspmb/chroot/apk.py
- pmb/chroot/apk_static.py 6 additions, 2 deletionspmb/chroot/apk_static.py
- pmb/chroot/test_apk.py 50 additions, 28 deletionspmb/chroot/test_apk.py
- pmb/chroot/zap.py 8 additions, 5 deletionspmb/chroot/zap.py
- pmb/commands/__init__.py 1 addition, 1 deletionpmb/commands/__init__.py
- pmb/commands/aportgen.py 5 additions, 2 deletionspmb/commands/aportgen.py
- pmb/config/__init__.py 3 additions, 8 deletionspmb/config/__init__.py
- pmb/core/apkindex_block.py 24 additions, 0 deletionspmb/core/apkindex_block.py
- pmb/core/dps.py 131 additions, 0 deletionspmb/core/dps.py
- pmb/core/package_metadata.py 44 additions, 0 deletionspmb/core/package_metadata.py
- pmb/helpers/frontend.py 7 additions, 1 deletionpmb/helpers/frontend.py
pmb/core/apkindex_block.py
0 → 100644
pmb/core/dps.py
0 → 100644
pmb/core/package_metadata.py
0 → 100644