Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
deb-pkg: Fix cross-building linux-headers package
builddeb generates a control file that says the linux-headers package can only be built for the build system primary architecture. This breaks cross-building configurations. We should use $debarch for this instead. Since $debarch is not yet set when generating the control file, set Architecture: any and use control file variables to fill in the description. Fixes: cd8d60a ('kbuild: create linux-headers package in deb-pkg') Reported-and-tested-by: "Niew, Sh." <[email protected]> Signed-off-by: Ben Hutchings <[email protected]> Signed-off-by: Michal Marek <[email protected]>
- Loading branch information