Commits on Source (23)
-
Caleb Connolly authored
Signed-off-by:
Caleb Connolly <caleb@postmarketos.org>
-
Caleb Connolly authored
I guess this is leftover from some experimentation. Signed-off-by:
Caleb Connolly <caleb@postmarketos.org>
-
Caleb Connolly authored
should be an int, but was always a string... Signed-off-by:
Caleb Connolly <caleb@postmarketos.org>
-
Caleb Connolly authored
Add a test to parse some APKINDEX data. Signed-off-by:
Caleb Connolly <caleb@postmarketos.org>
-
Caleb Connolly authored
So we don't go through the pain of pushing 3 times to get 3 different ruff failures in CI. Signed-off-by:
Caleb Connolly <caleb@postmarketos.org>
-
Clayton Craft authored
This works around https://gitlab.postmarketos.org/postmarketOS/ pmaports/-/issues/3268, by always installing hexdump when building packages. The full hexdump is small (like 80KB), and even though this isn't required in most situations it seems like the best of a group of bad workarounds, until upstream/busybox fix the bug in the pmaports issue.
-
For the gitlab.com -> gitlab.postmarketos.org migration we needed to also migrate the workdir in pmb v2 since pmb v3 is not ready yet. Therefore we need to handle that "7-2.x" workdir version and migrate correctly when switching to pmbootstrap v3. See !2445
-
-
These are artefacts from when our line length was shorter. Ruff didn't really do a great job at fixing them up when autoformatting.
-
I don't think there's any case where the number of jobs would have to be a string. It's also being assigned an integer elsewhere the code (in ask_for_additional_options() inside of init.py), so an integer seems like what we actually want. Also fix type errors resulting of this.
-
config.sudo_timer is a bool, and the returned value here is a bool. No point in converting it to a str.
-
-
We now run the job in chroot, so remove the unnecessary check. If sphinx-build is missing for some reason, it will fail a bit further in the script anyways.
-
Newbyte authored
We fully expect this to happen if a user hasn't configured their host system properly. As such, don't treat it like a programming error.
-
Newbyte authored
Running these inside the chroot is tricky, and we ended up reverting previous commits that attempted to make them run there (see 1ec55fc1). As such, just accept defeat and ensure that the host has these. Also see postmarketOS/pmbootstrap#2465
-
-
-
Newbyte authored
Provides kpartx.
-
Seems to be ChromeOS specific: > this happens every time on my machine. I am on ChromeOS 129.0.6668.112 > using a Debian bookworm chroot through Crouton. I am not sure why > this is happening nor which layer is responsible for this. I deleted > the chroot and created another one but the problem persists. Commit msg tweaked by Oliver.
-
It may be desirable to test older versions of packages, allow them to be built when --force is specified and print a warning that they won't be installed automatically. Signed-off-by:
Caleb Connolly <caleb@postmarketos.org>
-
Use a different way of keying the apkindex path cache. Signed-off-by:
Caleb Connolly <caleb@postmarketos.org>
-
Add a basic test to ensure that the cache does get hit as we expect. This doesn't test for cache conflicts. Signed-off-by:
Caleb Connolly <caleb@postmarketos.org>
-
See postmarketOS/pmbootstrap#2473 Signed-off-by:
Caleb Connolly <caleb@postmarketos.org>
Showing
- .ci/docs.sh 0 additions, 6 deletions.ci/docs.sh
- .ci/ruff.sh 7 additions, 3 deletions.ci/ruff.sh
- .gitlab-ci.yml 1 addition, 1 deletion.gitlab-ci.yml
- README.md 2 additions, 0 deletionsREADME.md
- pmb/build/_package.py 28 additions, 8 deletionspmb/build/_package.py
- pmb/build/other.py 1 addition, 1 deletionpmb/build/other.py
- pmb/chroot/test_apk.py 3 additions, 1 deletionpmb/chroot/test_apk.py
- pmb/config/__init__.py 7 additions, 1 deletionpmb/config/__init__.py
- pmb/config/init.py 56 additions, 37 deletionspmb/config/init.py
- pmb/config/test_config_serde.py 1 addition, 1 deletionpmb/config/test_config_serde.py
- pmb/core/config.py 1 addition, 1 deletionpmb/core/config.py
- pmb/core/crosstool.py 0 additions, 47 deletionspmb/core/crosstool.py
- pmb/helpers/mount.py 6 additions, 4 deletionspmb/helpers/mount.py
- pmb/helpers/other.py 9 additions, 2 deletionspmb/helpers/other.py
- pmb/install/losetup.py 7 additions, 6 deletionspmb/install/losetup.py
- pmb/parse/apkindex.py 14 additions, 4 deletionspmb/parse/apkindex.py
- pmb/parse/test_apkindex.py 442 additions, 0 deletionspmb/parse/test_apkindex.py
pmb/core/crosstool.py
deleted
100644 → 0
pmb/parse/test_apkindex.py
0 → 100644