Existing Alpine installation: Difference between revisions
Appearance
Update the repo and repo key URL |
Let's not break people's computers |
||
Line 6: | Line 6: | ||
<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 on a computer) | |||
<pre>apk add -u postmarketos-base device-nokia-rx51</pre> | |||
* Install the packages for the device and UI you want to have, for example: | * Install the packages for the device and UI you want to have, for example: | ||
<pre>apk add -u postmarketos-base device-nokia-rx51 postmarketos-ui-hildon</pre> | <pre>apk add -u postmarketos-base device-nokia-rx51 postmarketos-ui-hildon</pre> | ||
(Use <code>device-qemu-amd64</code> for a x86_64 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.) | ||
If you want to use the postmarketOS initramfs, make sure that you adjust the [[Partition-layout|partition labels]] accordingly. | If you want to use the postmarketOS initramfs, make sure that you adjust the [[Partition-layout|partition labels]] accordingly. |
Revision as of 14:36, 3 December 2019
To turn Alpine into postmarketOS:
- Install Alpine Linux
- Add this key to
/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 on a computer)
apk add -u postmarketos-base device-nokia-rx51
- Install the packages for the device and UI you want to have, for example:
apk add -u postmarketos-base device-nokia-rx51 postmarketos-ui-hildon
(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