- Mar 17, 2025
-
-
Oliver Smith authored
Add a new environment variable that disables apk's caching feature for space constrained environments such as the bpo image build jobs. Currently we have a workaround in place in bpo: the apk cache is moved to a tmpfs. But this is fragile and just disabling the apk cache is a more elegant solution. I've decided to make this an env var instead of a full pmbootstrap option since this option is not relevant for normal users, only for CI jobs in space constrained environments. Also we already have another `PMB_APK_` env var. Related: bpo issue 136 Part-of: !2553
-
- Mar 14, 2025
-
-
* makedepends_build is for the native chroot * makedepends_host is for the foreign chroot I had it the other way around in the documentation. The variables are so far not documented here yet: * https://gitlab.alpinelinux.org/alpine/abuild/-/blob/master/APKBUILD.5.scd * https://wiki.alpinelinux.org/wiki/APKBUILD_Reference But it now matches the comments Caleb had written for the cross-native2 implementation, and also what can be found in e.g. the abuild APKBUILD in aports.git: makedepends_build="pkgconfig scdoc" makedepends_host="openssl-dev>3 zlib-dev" Part-of: !2566 [ci:skip-build]: already built successfully in CI
-
Clayton Craft authored
Co-authored-by:
Oliver Smith <ollieparanoid@postmarketos.org> Part-of: !2538
-
- Mar 02, 2025
-
-
Oliver Smith authored
Add the cross compiling documentation to the pmbootstrap docs. This is based on the following wiki pages, but updated to reflect new changes with cross-native2 and to make it more readable: * https://wiki.postmarketos.org/wiki/Pmbootstrap/Cross_Compiling * https://wiki.postmarketos.org/wiki/Build_internals#Cross-compile_types Co-authored-by:
Caleb Connolly <caleb@postmarketos.org>
-
- Feb 16, 2025
-
-
lint all the markdown files so they pass markdownlint. Signed-off-by:
Caleb Connolly <caleb@postmarketos.org>
-
- Jan 10, 2025
-
-
Oliver Smith authored
Now that systemd was merged into master, it is extra-repos/systemd instead of staging/systemd. As of writing, the repository is not published yet but this will happen soon. Related: https://postmarketos.org/edge/2025/01/09/systemd-soon/
-
- Jan 06, 2025
-
-
Tweaked-By:
Oliver Smith <ollieparanoid@postmarketos.org>
-
- Jan 02, 2025
-
-
I tried my best to get the right author based on git commit history, but in the case of code being moved from one file to make another I might have gotten something wrong.
-
- Dec 19, 2024
-
-
this fixes the typos found in #2524 Signed-off-by:
Robert Eckelmann <longnoserob@postmarketos.org>
-
- Dec 10, 2024
-
-
Oliver Smith authored
Make codespell CI check pass again. This is trivial, so directly pushing to master.
-
- Dec 03, 2024
-
-
Add module that provides utilities and information related to localization. Initial implementation includes code to generate keyboard configs for locale set by user.
-
-
Move the description of PMB_SUDO from the README to docs.
-
-
Fix the following: WARNING: Failed to import pmb.commands.kconfig_check. WARNING: Failed to import pmb.commands.kconfig_edit. WARNING: Failed to import pmb.core.crosstool. Crosstool has been dropped and kconfig_check/_edit code has been merged into a kconfig module.
-
- Nov 24, 2024
-
-
Robert Eckelmann authored
Signed-off-by:
Robert Eckelmann <longnoserob@postmarketos.org>
-
- Nov 07, 2024
-
-
Signed-off-by:
Robert Eckelmann <longnoserob@postmarketos.org>
-
- Nov 04, 2024
-
-
Add the content from README.md to these files. Tweaked-by:
Oliver Smith <ollieparanoid@postmarketos.org>
-
- Nov 02, 2024
-
-
Caleb Connolly authored
Move the apk_static module from pmb/chroot to pmb/helpers which is a more suitable location. Signed-off-by:
Caleb Connolly <caleb@postmarketos.org>
-
- Oct 22, 2024
-
-
Newbyte authored
Also adapt pmb/install/recovery.py to new API for variables.py. [ci:skip-build]: already built successfully in CI
-
- Oct 21, 2024
-
-
* Make sure all Python modules are documented by adding a bit of shell to .ci/docs.sh * Remove non-existing module references from .rst * Fix various warnings from sphinx by adjusting Python docstrings * Add class member docs to ApkindexBlock
-
Luca Weiss authored
Try to finish the migration by changing various links and texts to point to the new GitLab instance.
-
- Jul 22, 2024
-
-
Remove arguments to set postmarketOS and Alpine mirrors. The current implementation is broken with the way the mirrors are now configured: The current implementation fills a list, but the mirror configuration code expects a string. It is not longer possible to set an arbitrary amount of mirrors for the postmarketOS mirror. The benefit is that we don't have comma separated values in the config file anymore but instead just simple strings. Now it is possible to have one proper mirror for aports, pmaports and pmaports_systemd, and one _custom one to override each of these. We already have too many options in "pmbootstrap -h", and changing a mirror is more of a base configuration that you do once and maybe change a few times, but don't need to be able to set it with each pmbootstrap run. Users are not going to write this out manually on their command-lines, it only makes sense in scripts and wrappers for pmbootstrap, and there you could as well use another method (as now described in docs/mirrors.md) to set the mirrors. Less important, but another reason is that using "-mp" (two letters as short argument) isn't really elegant.
-
- Jul 15, 2024
-
-
Oliver Smith authored
-
Oliver Smith authored
Let's write all new documentation in markdown, and convert existing ones at some point. I think we are all much more familiar with markdown than with the rst format.
-
Oliver Smith authored
-
- Jun 30, 2024
-
-
Oliver Smith authored
Move all kconfig rules from pmb.config to a separate toml file pmb/data/kconfigcheck.toml. This is a fallback, pmbootstrap now prefers loading kconfigcheck.toml from the currently checked out pmaports branch if it exists. This finally allows having separate kconfig check rules per pmaports branch and makes the workflow of adjusting these rules much more pleasant as the rules and kernel configs can just be adjusted at the same time in pmaports! This patch also moves the definition of what rules should be checked for community and main devices, those that have pmb:kconfigcheck-community in their linux APKBUILD, to the new kconfigcheck.toml. This should make it much more intuitive, previously one needed to find the place in the pmbootstrap source and edit it there. Furthermore the "enforce_check" logic is removed. Previously pmbootstrap would print warnings for failed config checks in some cases, but not exit with error which was very confusing. Now exit 0 means all checks passed and exit 1 means, that there is at least one error. Use toml for the file, as discussed in pmbootstrap issue 2165. Python 3.11 has a native toml reader, use tomli for previous Python versions for compatibility.
-
- Jun 23, 2024
-
-
Oliver Smith authored
-
Python 3.9 was required in pmb/__init__.py already, but some references still said 3.8 and 3.7. Co-Developed-By:
Oliver Smith <ollieparanoid@postmarketos.org>
-
Signed-off-by:
Caleb Connolly <caleb@postmarketos.org>
-
- May 14, 2024
-
-