Skip to content

Package the dtbtool from lineage next to the skales one

postmarketOS Bot requested to merge workaround/1055-package-both-dtbtools into master

Created by: ollieparanoid

Workaround for #1055 (closed).

We ship a new dtbTool from Skales in the current master branch, because it works better with mainline kernels. That tool should act like a drop-in replacement for the dtbTool from LineageOS we used before.

However we found out, that two kernel forks we ship don't compile with it anymore. As a workaround, this PR packages both versions, as dtbtool-skales and dtbtool-lineage. All packages use the Skales version (it seems to be maintained better), except for the two kernels which fail with it. Both can be installed side by side, as the executable has been renamed as well.

I have compiled all kernels with this PR and it runs through.

@drebrez, @lawl, @MoreRobustThanYou, @z3ntu: Could one of you review the PR?

Merge request reports