ACK: [PATCH][kteam-tools] sort-config: sort a kernel config file as splitconfig does
Kamal Mostafa
kamal at canonical.com
Fri Oct 20 14:19:12 UTC 2017
On Fri, Oct 20, 2017 at 10:37:43AM -0200, Marcelo Henrique Cerri wrote:
> Hi, Kamal.
>
> (Now replying to the correct email)
>
> The script looks perfectly fine for me. But is there a particular use or
> motivation for it?
>
> Acked-by: Marcelo Henrique Cerri <marcelo.cerri at canonical.com>
I frequently find myself wanting to "import" a group of configs from one
repo to another... E.g. after enabling some feature in a config, now
there will be a whole bunch of new config options for that feature that
need to be set (which weren't in the config at all before). I might
decide to just import all of those options from some other repo, by just
appending all the new ones to the bottom of my
debian.something/config/config.common.ubuntu (or any other .config-ish
file really). That works fine, but then that config file won't be
sorted properly, which will make later rebase-merges difficult.
The config file is difficult to just "sort manually" (because it wants
to be sorted by the config name itself, regardless of "# ... is not present").
Hence this script. After you make my sloppy changes to
debian.something/config/config.common.ubuntu, I can use this script to
"fix it" before I check it in.
-Kamal
More information about the kernel-team
mailing list