support rootfs-as-initramfs
- Jan 20, 2025
-
-
Casey authored
Allow for customisations to be added to the rootfs. Signed-off-by:
Caleb Connolly <caleb@postmarketos.org>
-
Casey authored
Implement support for stuffing the entire rootfs into an initramfs archive. This is useful in some cases for testing. running "pmbootstrap install --initramfs" will output a regular postmarketOS boot partition, except the initramfs IS the root partition. A cut down "none" UI install is still ~250mb with firmware and systemd. Automatically install and enable the new postmarketos-network-gadget package so that the USB network gadget will be set up during boot as normal. Signed-off-by:
Caleb Connolly <caleb@postmarketos.org>
-
Casey authored
Teach pmbootstrap to install preset files that enable user-defined services during install. Signed-off-by:
Caleb Connolly <caleb@postmarketos.org>
-
Casey authored
When running multiple installs without zapping (e..g to test changes to a package) it's easy to forget to update packages in the chroot. Do it automatically to reduce the chance of user confusion. Signed-off-by:
Caleb Connolly <caleb@postmarketos.org>
-
Casey authored
Add a helper to run apk upgrade -a on a chroot. Signed-off-by:
Caleb Connolly <caleb@postmarketos.org>
-
Casey authored
Return a different value if the chroot was just created or if it already existed. This can be used to e.g. ensure packages in the chroot are up to date, or reset the world file. Signed-off-by:
Caleb Connolly <caleb@postmarketos.org>
-
Casey authored
abuild will use this instead of gzip to do multithreaded compression which is much faster. Signed-off-by:
Caleb Connolly <caleb@postmarketos.org>
-
Casey authored
Set things up so that we can run abuild on the native chroot and use it's cross compilation features rather than running it and the build system through QEMU. This massively speeds up building when it works. cross-native used to be quite limited in functionality and didn't integrate into abuild itself, this commit fixes that. Packages can opt-in to this by adding pmb:cross-native to their options and configuring makedepends_host and makedepends_build. This also speeds up building packages like postmarketos-initramfs since it entirely avoids running commands through QEMU (usually abuild itself would be run through QEMU). Lastly, we introduce a new pmb:cross-kernel options, this can be used to enable the old cross compiler behaviour which is used for cross compiling kernels in pmaports. This allows them to keep being supporting while we adapt them to the new cross-native. Signed-off-by:
Caleb Connolly <caleb@postmarketos.org>
-
- Jan 15, 2025
-
-
Casey authored
Use native cross compilation for more packages which can support it. Those with "arch=noarch" and device packages don't even run a compiler so this is ensured to work! Signed-off-by:
Caleb Connolly <caleb@postmarketos.org>
-