Re: [PATCH 0/3] bootconfig: Add value override operator

2020-07-29 Thread Masami Hiramatsu
Hi Steve, On Thu, 16 Jul 2020 10:27:03 +0900 Masami Hiramatsu wrote: > Hi Steve, > > On Wed, 15 Jul 2020 20:02:12 -0400 > Steven Rostedt wrote: > > > On Thu, 16 Jul 2020 07:38:43 +0900 > > Masami Hiramatsu wrote: > > > > > > > > So the end of the initrd would have: > > > > > > > > [data]

Re: [PATCH 0/3] bootconfig: Add value override operator

2020-07-15 Thread Masami Hiramatsu
Hi Steve, On Wed, 15 Jul 2020 20:02:12 -0400 Steven Rostedt wrote: > On Thu, 16 Jul 2020 07:38:43 +0900 > Masami Hiramatsu wrote: > > > > > So the end of the initrd would have: > > > > > > [data][size/checksum/magic][more-data][size/checksum/magic] > > > > > > > > > And the kernel could d

Re: [PATCH 0/3] bootconfig: Add value override operator

2020-07-15 Thread Steven Rostedt
On Thu, 16 Jul 2020 07:38:43 +0900 Masami Hiramatsu wrote: > > So the end of the initrd would have: > > > > [data][size/checksum/magic][more-data][size/checksum/magic] > > > > > > And the kernel could do the following: > > > > 1. read the end of the initrd for bootconfig > > 2. If found p

Re: [PATCH 0/3] bootconfig: Add value override operator

2020-07-15 Thread Masami Hiramatsu
On Wed, 15 Jul 2020 16:45:04 -0400 Steven Rostedt wrote: > On Thu, 16 Jul 2020 01:00:21 +0900 > Masami Hiramatsu wrote: > > > With this change, if the bootloader wants to change some value > > in the default bootconfig, it doesn't need to parse the existing > > bootconfig, but it can just appen

Re: [PATCH 0/3] bootconfig: Add value override operator

2020-07-15 Thread Steven Rostedt
On Thu, 16 Jul 2020 01:00:21 +0900 Masami Hiramatsu wrote: > With this change, if the bootloader wants to change some value > in the default bootconfig, it doesn't need to parse the existing > bootconfig, but it can just append the new configs at the tail > of the bootconfig and update the footer