Commits on Source (16)
-
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>
Showing
- .ci/docs.sh 0 additions, 6 deletions.ci/docs.sh
- .gitlab-ci.yml 1 addition, 1 deletion.gitlab-ci.yml
- README.md 2 additions, 0 deletionsREADME.md
- pmb/build/_package.py 16 additions, 7 deletionspmb/build/_package.py
- pmb/build/other.py 1 addition, 1 deletionpmb/build/other.py
- pmb/config/__init__.py 2 additions, 0 deletionspmb/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/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 3 additions, 3 deletionspmb/parse/apkindex.py
- pmb/parse/test_apkindex.py 33 additions, 2 deletionspmb/parse/test_apkindex.py