Existing Alpine installation: Difference between revisions
Appearance
No edit summary |
Casiobearing (talk | contribs) mNo edit summary |
||
Line 2: | Line 2: | ||
* Install Alpine Linux | * Install Alpine Linux | ||
* Add [https://gitlab.com/postmarketOS/pmbootstrap/raw/master/pmb/data/keys/build.postmarketos.org.rsa.pub this key] | * Add [https://gitlab.com/postmarketOS/pmbootstrap/raw/master/pmb/data/keys/build.postmarketos.org.rsa.pub this key] as a file called "build.postmarketos.org.rsa.pub" into <code>/etc/apk/keys</code> | ||
* Add this mirror to the top of <code>/etc/apk/repositories</code>: | * Add this mirror to the top of <code>/etc/apk/repositories</code>: | ||
<pre>http://postmarketos.brixit.nl/postmarketos/master</pre> | <pre>http://postmarketos.brixit.nl/postmarketos/master</pre> | ||
* Use your device package kernel for your device: (skip this | * Use your device package kernel for your device: (skip this if installing onto a desktop\laptop computer) | ||
<pre>apk add -u postmarketos-base device-nokia-rx51</pre> | <pre>apk add -u postmarketos-base device-nokia-rx51</pre> | ||
Line 13: | Line 13: | ||
* Install the packages for the UI you want, for example: | * Install the packages for the UI you want, for example: | ||
<pre>apk add -u postmarketos-ui-hildon</pre> | <pre>apk add -u postmarketos-ui-hildon</pre> or | ||
<pre>apk add -u postmarketos-ui-weston</pre> | |||
(Use <code>device-qemu-amd64</code> 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.) | (Use <code>device-qemu-amd64</code> 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.) |
Revision as of 13:18, 28 June 2020
To turn Alpine into postmarketOS:
- Install Alpine Linux
- Add this key as a file called "build.postmarketos.org.rsa.pub" into
/etc/apk/keys
- Add this mirror to the top of
/etc/apk/repositories
:
http://postmarketos.brixit.nl/postmarketos/master
- Use your device package kernel for your device: (skip this if installing onto a desktop\laptop computer)
apk add -u postmarketos-base device-nokia-rx51
- Install the packages for the UI you want, for example:
apk add -u postmarketos-ui-hildon
or
apk add -u postmarketos-ui-weston
(Use device-qemu-amd64
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.)
If you want to use the postmarketOS initramfs, make sure that you adjust the partition labels accordingly.
See also
- pmaports#106 Turning an existing x86_64 Alpine Linux installation into a postmarketOS one fails
- pmaports#66 troubleshooting the first installation which was done this way