summaryrefslogtreecommitdiffstats
path: root/generate_all_configs.sh
diff options
context:
space:
mode:
authorLaura Abbott <labbott@fedoraproject.org>2016-11-10 10:16:25 -0800
committerLaura Abbott <labbott@fedoraproject.org>2016-12-06 12:07:10 -0800
commit1b7eeb80190501aaf226e90e8f58f994cfc3efe0 (patch)
tree9ff96082cc146fb0ea946c6a111b61e90f9dd7f6 /generate_all_configs.sh
parentfe324f69901af83cb16ee086f3d284e67ed36e33 (diff)
downloadkernel-1b7eeb80190501aaf226e90e8f58f994cfc3efe0.tar.gz
kernel-1b7eeb80190501aaf226e90e8f58f994cfc3efe0.tar.xz
kernel-1b7eeb80190501aaf226e90e8f58f994cfc3efe0.zip
Change method of configuration generation
The existing method of managing configuration files gets unweildy. Changing individual lines in text files gets difficult without manual organization. Switch to a method of configuration generation that's inspired from the method used inside Red Hat. Each configuration option gets its own file which are then combined to form the configuration files. This makes confirming what's actually enabled much easier.
Diffstat (limited to 'generate_all_configs.sh')
-rwxr-xr-xgenerate_all_configs.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/generate_all_configs.sh b/generate_all_configs.sh
new file mode 100755
index 000000000..dde72eaff
--- /dev/null
+++ b/generate_all_configs.sh
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+for i in kernel-*.config; do
+ NEW=kernel-$VERSION-`echo $i | cut -d - -f2-`
+ mv $i $NEW
+done