Skip to content

redhat: sort config options based on their name only

Frantisek Hrbata requested to merge frhr/kernel-ark:sort_configs2 into os-build
Bugzilla: INTERNAL
Upstream Status: RHEL-only
Tested: make dist-configs-prep LC_ALL=C vs make dist-configs-prep LC_ALL=en_US.UTF-8
    generate the same config file, sorted content is the same as prior
    this change

The content of generated config files is sorted in build_configs.sh.
This gives unpredictable output if different locale is set. Let's
sort it purely on the config option name with C locale. This keeps
related options together no matter if they are set or not. Note that
this still slightly changes the order compared to order before this
change.

This is updated version of !2011 which was reverted.

Signed-off-by: Frantisek Hrbata fhrbata@redhat.com

Merge request reports