summaryrefslogtreecommitdiffstats
path: root/configs/config_generation
diff options
context:
space:
mode:
authorDon Zickus <dzickus@redhat.com>2017-12-13 16:19:06 -0500
committerLaura Abbott <labbott@redhat.com>2018-01-05 14:40:19 -0800
commit62496f789fcb014cda6fdc84a05e5b1e5c242861 (patch)
treee6deafda9d077a33c23275628b344d6bb5d7c183 /configs/config_generation
parent4d6d8cc5c16bc5edff4ee564b8e9d4ace9c28469 (diff)
downloadkernel-62496f789fcb014cda6fdc84a05e5b1e5c242861.tar.gz
kernel-62496f789fcb014cda6fdc84a05e5b1e5c242861.tar.xz
kernel-62496f789fcb014cda6fdc84a05e5b1e5c242861.zip
configs: Update config generation script to use configs/fedora
The previous patch moved the configs/base-{generic,debug} to configs/fedora. Now we update the scripts to reflect that change. Changing the scripts was straightforward. Handling overrides that didn't use generic names was a little trickier. To handle random override names (well rhel), I added some extra logic in the config_generation script called "ORDER". This tells the scripts which configs to lay down first and which one overrides it. Through some testing, I realized I could simplify things and just create an outer 'order' loop. This removed some duplicated code. The other change is the 'skip_if_missing' flag. The overrides directory will not mimic the baseline directory layout 100%. Ensure the baseline config files are all there, but allow the overrides to have missing files. Tested on my Fedora and my RHEL tree with success.
Diffstat (limited to 'configs/config_generation')
-rw-r--r--configs/config_generation5
1 files changed, 5 insertions, 0 deletions
diff --git a/configs/config_generation b/configs/config_generation
index b88a5ea94..e8614c43f 100644
--- a/configs/config_generation
+++ b/configs/config_generation
@@ -3,6 +3,11 @@
# the first arg is arch and variant, the second is a hierarchy of
# config options, lowest priority to highest
+# tells the build_configs.sh which order to build the configs.
+# this is useful when providing a separate overrides directory.
+# do not use quotes and space separate the directories.
+ORDER=fedora
+
# x86_64
x86_64=generic:generic-x86:generic-x86-x86_64
x86_64-debug=generic:generic-x86:generic-x86-x86_64:debug:debug-x86:debug-x86-x86_64