New repository with scripts to create the official images
The images we have right now are test images at https://images.postmarketos.org. Users are encouraged to use pmbootstrap and flash their own image.
However, we are going to generate a factory image for the postmarketOS pinephone CE very soon (final image in a few weeks), and in general it would be good to have a process to generate official images. So some time after the pinephone CE image is done, we can make a v20.05.2 release and build official images for everything that is in community and main by then, and cherry-picked to the v20.05 branch.
So I propose to create a new postmarketos-images.git repository, with a script that does the following:
- iterate over a hardcoded list of devices and UIs for these devices
- (not all UIs make sense for all devices; think of the N900)
- configure pmbootstrap to not include:
- custom SSH key
- any locally built packages or local package signing keys (implemented: pmbootstrap!1951 (merged))
- local timezone
- custom username or hostname
It should run pmbootstrap install
to generate a suitable image for the device; with all the various options set correctly for the device (possibly with on-device installer, with android recovery zip, ...). Packages that we want to include, but should be uninstallable, can be added as well (pmbootstrap install --add).
Initially, let's make it just create what we need for the PinePhone CE, which is one image with the on-device installer for phosh.
(I might also look into signing the generated images, if I can do it within the week.)
This is a heads up, feel free to discuss. I'll start implementing it soon.