pkg: fedora: Make sure build-id's are unique
This will make it possible to install multiple -devel packages in parallel, just like with the stock kernel. Signed-off-by: Dorian Stoll <dorian.stoll@tmsp.io>
This commit is contained in:
parent
07a609ba3f
commit
1f1435d585
|
@ -146,6 +146,10 @@ pathfix.py -i "%{__python3} %{py3_shbang_opts}" -p -n \
|
||||||
scripts/gen_compile_commands.py
|
scripts/gen_compile_commands.py
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
|
||||||
|
# This ensures build-ids are unique to allow parallel debuginfo
|
||||||
|
perl -p -i -e "s/^CONFIG_BUILD_SALT.*/CONFIG_BUILD_SALT=\"%{kernel_name}\"/" .config
|
||||||
|
|
||||||
make %{?_smp_mflags} all LOCALVERSION=-%{kernel_localversion} ARCH=%{_target_cpu}
|
make %{?_smp_mflags} all LOCALVERSION=-%{kernel_localversion} ARCH=%{_target_cpu}
|
||||||
|
|
||||||
%define __modsign_install_post \
|
%define __modsign_install_post \
|
||||||
|
|
Loading…
Reference in a new issue