Jump to content

Raspberry Pi: Difference between revisions

From postmarketOS Wiki
No edit summary
notes on how one would package the pi properly
Line 2: Line 2:


It should be possible to [[Existing Alpine installation|convert the pre-existing RPi Alpine install to a pmOS install]].
It should be possible to [[Existing Alpine installation|convert the pre-existing RPi Alpine install to a pmOS install]].
== postmarketOS device package ==
{{note|We'd be happy if you own a Raspberry Pi and want to integrate it properly. Let us know in the [[Matrix_and_IRC|chat]] if you need any help!}}
As of now, there is no device package, only the existing Alpine installation has been converted. But it should be not that hard to do. Rough notes on how it should be possible:
* <code>pmbootstrap init</code>, create a new device aport
* delete the generated aports/device/linux-* folder (check with <code>git status</code>)
* change the device APKBUILD to use Alpine's raspberry pi kernel instead
* add a new [[deviceinfo]] option for the boot partition type (default is ext2 as we do it now, for the pi it needs to be fat)
* adjust pmbootstrap code to use that variable
* test the installation with an sd card
* make a pull request


== See also ==
== See also ==

Revision as of 22:41, 24 January 2018

The Raspberry Pi has a pre-existing port of Alpine Linux.

It should be possible to convert the pre-existing RPi Alpine install to a pmOS install.

postmarketOS device package

Note We'd be happy if you own a Raspberry Pi and want to integrate it properly. Let us know in the chat if you need any help!

As of now, there is no device package, only the existing Alpine installation has been converted. But it should be not that hard to do. Rough notes on how it should be possible:

  • pmbootstrap init, create a new device aport
  • delete the generated aports/device/linux-* folder (check with git status)
  • change the device APKBUILD to use Alpine's raspberry pi kernel instead
  • add a new deviceinfo option for the boot partition type (default is ext2 as we do it now, for the pi it needs to be fat)
  • adjust pmbootstrap code to use that variable
  • test the installation with an sd card
  • make a pull request

See also

  • #1137 Testing out Hildon and XFCE4 (other UIs did not work at all?) on Raspberry Pi after converting the Alpine installation