Jump to content

Patching

From postmarketOS Wiki
Revision as of 20:02, 8 September 2017 by Ollieparanoid (talk | contribs) (Intro)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Introduction

The most common use-case is, that you want to package an Android kernel. But it does not compile with our GCC6, so you need to patch the kernel. Unlike in the Android world, we do not fork the kernel repository and apply our patches there. Instead we ship our custom patches with the package build recipe in the aport folder.

This guide assumes, that you already know what to patch - if you don't know what to patch and only have the error, try to search the web for that error message. More often than not, there is a patch already available, that will fix it. If you don't have any luck, ask in the chat.

As everywhere else in the wiki, please expand this guide wherever information is missing that would have helped you!