Merge all kernel packages into a single one
We have one kernel package/repo per device family, requiring us to apply identical patches (or packaging changes) to several source trees, potentially inducing errors and mistakes.
This would also bring in the benefit of being able to provide a single rootfs for all devices sharing the same architecture.
Note: each package have their own set of downstream patches, so there might be conflicts when merging packages, we need to be very careful with those and avoid breaking any device.
Pros:
- no more packaging or features differences between devices
- will bring us one step closer to "one image to rule them all"
Cons:
- this will create a single package with a lot of downstream patches (500-1000), great care will be needed when adding/rebasing patches
- there might be incompatible patches between device families (e.g. patch for device A modifies a core implementation, breaking a driver on device B), though that seems unlikely in the current state
Requires the following to be implemented:
-
downstream kernel patches are all merged into a single kernel package (e.g. linux-$KVER-mobian-$ARCH
) -
$DEVICE-support
metapackages are updated so they don't depend on device-specific kernel packages anymore -
at least one base package must depend on this new kernel so it gets automatically installed/updated for everyone