Existing Alpine installation

To turn Alpine into postmarketOS:


 * Install Alpine Linux
 * Enable the community repository
 * Add one of these mirrors to the top of, Change master to the correct release for your alpine version (eg: postmarketos v22.06 on alpine 3.16, see releases):

or
 * Add this key as a file called "build.postmarketos.org.rsa.pub" into
 * Add postmarketOS public key with apk:


 * Use your device package kernel for your device: (skip this if installing onto a desktop\laptop computer)

or (Use  for a x86_64 virtual machine installation, but this will also install a kernel -- maybe it makes sense to introduce a new "docker device" without any kernel, you could experiment with that if you want.)
 * Install the packages for the UI you want, for example:

If you want to use the postmarketOS initramfs, make sure that you adjust the partition labels accordingly.

Note that alpine users start at 1000 and postmarketos users start at 10000. Some files provided by postmarketos-base may not match the existing system. eg: /etc/conf.d/tinydm