summaryrefslogtreecommitdiffstats
path: root/generate_bls_conf.sh
diff options
context:
space:
mode:
authorJustin M. Forbes <jforbes@fedoraproject.org>2021-05-10 09:28:06 -0500
committerJustin M. Forbes <jforbes@fedoraproject.org>2021-05-10 09:28:06 -0500
commit1cac231319309a8322c7f29d89644752aba75a62 (patch)
treeeff74dfb2c2718b629832b6c9bc17594e13e392a /generate_bls_conf.sh
parent021f420fbfd59a242a8a57e4485c937638777988 (diff)
downloadkernel-1cac231319309a8322c7f29d89644752aba75a62.tar.gz
kernel-1cac231319309a8322c7f29d89644752aba75a62.tar.xz
kernel-1cac231319309a8322c7f29d89644752aba75a62.zip
kernel-5.13.0-0.rc1.13
* Mon May 10 2021 Fedora Kernel Team <kernel-team@fedoraproject.org> [5.13.0-0.rc1.13] - Remove unused boot loader specification files (David Ward) Resolves: rhbz# Signed-off-by: Justin M. Forbes <jforbes@fedoraproject.org>
Diffstat (limited to 'generate_bls_conf.sh')
-rwxr-xr-xgenerate_bls_conf.sh35
1 files changed, 0 insertions, 35 deletions
diff --git a/generate_bls_conf.sh b/generate_bls_conf.sh
deleted file mode 100755
index 03b21821f..000000000
--- a/generate_bls_conf.sh
+++ /dev/null
@@ -1,35 +0,0 @@
-#!/bin/bash
-set -e
-
-# shellcheck disable=SC1091
-. /etc/os-release
-
-kernelver=$1 && shift
-rootfs=$1 && shift
-variant=$1 && shift
-
-output="${rootfs}/lib/modules/${kernelver}/bls.conf"
-date=$(date -u +%Y%m%d%H%M%S)
-
-if [ "${variant:-5}" = "debug" ]; then
- debugname=" with debugging"
- debugid="-debug"
-else
- debugname=""
- debugid=""
-fi
-
-# shellcheck will complain about bootprefix being referenced but not assigned,
-# but that is perfectly OK here.
-# shellcheck disable=SC2154
-cat > "$output" <<EOF
-title ${NAME} (${kernelver}) ${VERSION}${debugname}
-version ${kernelver}${debugid}
-linux ${bootprefix}/vmlinuz-${kernelver}
-initrd ${bootprefix}/initramfs-${kernelver}.img
-options \$kernelopts
-id ${ID}-${date}-${kernelver}${debugid}
-grub_users \$grub_users
-grub_arg --unrestricted
-grub_class kernel${variant}
-EOF