From f3902bacb852afcf4c81d9b803b78b88bb7bd83d Mon Sep 17 00:00:00 2001 From: Pablo Greco Date: Aug 29 2021 12:08:04 +0000 Subject: Allow bls to create its own config instead of providing one with the build OS hardcoded --- diff --git a/SOURCES/generate_bls_conf.sh b/SOURCES/generate_bls_conf.sh index fc3f0e8..0bac44c 100755 --- a/SOURCES/generate_bls_conf.sh +++ b/SOURCES/generate_bls_conf.sh @@ -7,7 +7,7 @@ kernelver=$1 && shift rootfs=$1 && shift variant=$1 && shift -output="${rootfs}/lib/modules/${kernelver}/bls.conf" +output="${rootfs}/lib/modules/${kernelver}/bls_sample.conf" date=$(date -u +%Y%m%d%H%M%S) if [ "${variant:-5}" = "debug" ]; then diff --git a/SPECS/kernel.spec b/SPECS/kernel.spec index 98239f7..0b27bff 100644 --- a/SPECS/kernel.spec +++ b/SPECS/kernel.spec @@ -2953,7 +2953,7 @@ fi /lib/modules/%{KVERREL}%{?3:+%{3}}/build\ /lib/modules/%{KVERREL}%{?3:+%{3}}/source\ /lib/modules/%{KVERREL}%{?3:+%{3}}/updates\ -/lib/modules/%{KVERREL}%{?3:+%{3}}/bls.conf\ +/lib/modules/%{KVERREL}%{?3:+%{3}}/bls_sample.conf\ %if 0%{!?fedora:1}\ /lib/modules/%{KVERREL}%{?3:+%{3}}/weak-updates\ %endif\