From 91d145f3cef9214313f86b80af909deb477cec88 Mon Sep 17 00:00:00 2001 From: Pablo Greco Date: Aug 30 2021 14:34:08 +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 25b706b..7d9972c 100644 --- a/SPECS/kernel.spec +++ b/SPECS/kernel.spec @@ -2952,7 +2952,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\