pmbootstrap/helpers
Minecrell f62242aeb1
helpers/envkernel.sh: Try harder to not generate Git version suffix (MR 2084)
The Git version suffixes usually generated automatically by the Linux
build system break packaging in Alpine because the flavor (e.g.
"-postmarketos-qcom-msm8916") will no longer match the module and
zImage path. So far setting LOCALVERSION= and disabling
CONFIG_LOCALVERSION_AUTO was sufficient to avoid the Git version
suffixes but this is no longer enough in Linux 5.14.

Instead, add a better fix by creating an empty .scmversion file
that will be used by the kernel instead of checking the Git status.
The advantage is that this works on Linux 5.14 and it should even
work when CONFIG_LOCALVERSION_AUTO is set.

The .scmversion code can be found here:
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/scripts/setlocalversion?h=v5.14-rc1#n38
2021-07-12 10:56:36 -07:00
..
envkernel.fish helpers/envkernel.fish: add gcc4 support (!1842) 2019-12-14 00:18:21 +01:00
envkernel.sh helpers/envkernel.sh: Try harder to not generate Git version suffix (MR 2084) 2021-07-12 10:56:36 -07:00
envsetup.sh Add helpers/envsetup.sh (#1390) 2018-04-08 12:58:10 +00:00