Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1257728
| From | Darren Hart <dvhart@infradead.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH 00/10] merge_config misc reworks and testcases |
| Date | 2015-10-28 08:10 +0100 |
| Message-ID | <qot1U-7VJ-21@gated-at.bofh.it> (permalink) |
| References | <qon69-3PX-5@gated-at.bofh.it> <qor9M-6GJ-5@gated-at.bofh.it> <qospc-7q6-17@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Wed, Oct 28, 2015 at 01:30:59AM -0400, Bruce Ashfield wrote: > On 10/28/2015 01:02 AM, Darren Hart wrote: > >On Wed, Oct 28, 2015 at 09:42:01AM +0900, Olof Johansson wrote: > >>- The script now prints the warnings on stderr, and returns non-0 when > >> something is encountered > > > >This one might impact linux-yocto usage, Bruce? That said, it seems like the > >right thing to do. So I'd still like to see it go in, but we may need to plan to > >update the dependent tooling to use it. > > I don't directly let the merge_config output be visible, but capture it > and then do more processing later. So while this may mean that I have > to update some wrappers to capture stderr, it shouldn't be a big deal. > > > > >> > >>- Optionally, it'll also return non-0 when a redundant entry is found. I > >> presumed people rely on -r not being a failure so I did this separately > >> > >>- CONFIG_FOO=n and "# CONFIG_FOO is not set" is now treated the same, > >> and using the former doesn't cause an invalid warning when the results > >> are checked at the end > >> > >>- Slightly odd things happened if a fragment contains the same option > >> twice: It'd produce a warning that was malformed. Now just ignore that > >> and use only the latest value of said option. > > > >This one will likely impact usage as well. linux-yocto does want to report when > >there is an override, not as an error, but for informational purposes - "Where > >does my option get clobbered?" > > I haven't looked at the patches yet (and I will shortly), but if that > is within a single fragment, I can live with it going away, since it is > easy to check that outside of the merge script. > > But if this is a redefinition between fragments, that's something different > and something that I capture and report to users, and yes, I > currently take it from the output of the merge_config run. If it goes > away, I'd have to recreate it somehow. > > So if this can at least be maintained as enabled via a parameter, that > would be be ideal. Otherwise, I'll have to recreate the output some > other way. It still reports redundancies across different fragments. It just fixes the grep so it doesn't display two options from the same file. -- Darren Hart Intel Open Source Technology Center -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH 00/10] merge_config misc reworks and testcases Olof Johansson <olof@lixom.net> - 2015-10-28 01:50 +0100
[PATCH 09/10] merge_config.sh: allow single configs to be passed in on cmdline Olof Johansson <olof@lixom.net> - 2015-10-28 01:50 +0100
Re: [PATCH 09/10] merge_config.sh: allow single configs to be passed in on cmdline Darren Hart <dvhart@infradead.org> - 2015-10-28 08:30 +0100
[PATCH 08/10] merge_config.sh: use trap for cleanup Olof Johansson <olof@lixom.net> - 2015-10-28 01:50 +0100
Re: [PATCH 08/10] merge_config.sh: use trap for cleanup Darren Hart <dvhart@infradead.org> - 2015-10-28 08:20 +0100
Re: [PATCH 08/10] merge_config.sh: use trap for cleanup Darren Hart <dvhart@infradead.org> - 2015-10-28 08:30 +0100
Re: [PATCH 00/10] merge_config misc reworks and testcases Olof Johansson <olof@lixom.net> - 2015-10-28 01:50 +0100
Re: [PATCH 00/10] merge_config misc reworks and testcases Darren Hart <dvhart@infradead.org> - 2015-10-28 06:10 +0100
Re: [PATCH 00/10] merge_config misc reworks and testcases Bruce Ashfield <bruce.ashfield@windriver.com> - 2015-10-28 07:30 +0100
Re: [PATCH 00/10] merge_config misc reworks and testcases Darren Hart <dvhart@infradead.org> - 2015-10-28 08:10 +0100
csiph-web