Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH 0/2] Add new recipes for grub2
@ 2011-09-14  5:39 Tom Zanussi
  2011-09-14 12:30 ` Otavio Salvador
  0 siblings, 1 reply; 7+ messages in thread
From: Tom Zanussi @ 2011-09-14  5:39 UTC (permalink / raw)
  To: openembedded-core

This patchset adds a new recipe for grub2 and an accompanying
version of initramfs-live-install for use with it.

It's been boot-tested with the meta-intel BSPs crownbay-noemgd and
sugarbay, and the legacy version (grub-0.97) was tested with emenlow.

A future patch will factor out the common parts of init_install_2.0.sh
with init_install 1.0 - this initial patchset essentially just fixes
what's necessary for YOCTO bug #1428 in order to get things working again.

Tom Zanussi (2):
  grub2: new recipe
  initramfs-live-install: add a version for use with grub2

 meta/recipes-bsp/grub/grub-1.99/40_custom          |    9 +
 .../grub/grub-1.99/grub-install.in.patch           |   13 ++
 meta/recipes-bsp/grub/grub_1.99.bb                 |   44 +++++
 .../initrdscripts/files/init-install_2.0.sh        |  178 ++++++++++++++++++++
 .../initrdscripts/initramfs-live-install_2.0.bb    |   22 +++
 5 files changed, 266 insertions(+), 0 deletions(-)
 create mode 100755 meta/recipes-bsp/grub/grub-1.99/40_custom
 create mode 100644 meta/recipes-bsp/grub/grub-1.99/grub-install.in.patch
 create mode 100644 meta/recipes-bsp/grub/grub_1.99.bb
 create mode 100644 meta/recipes-core/initrdscripts/files/init-install_2.0.sh
 create mode 100644 meta/recipes-core/initrdscripts/initramfs-live-install_2.0.bb






^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH 0/2] Add new recipes for grub2
  2011-09-14  5:39 [PATCH 0/2] Add new recipes for grub2 Tom Zanussi
@ 2011-09-14 12:30 ` Otavio Salvador
  2011-09-14 15:45   ` Tom Zanussi
  0 siblings, 1 reply; 7+ messages in thread
From: Otavio Salvador @ 2011-09-14 12:30 UTC (permalink / raw)
  To: Patches and discussions about the oe-core layer

On Wed, Sep 14, 2011 at 02:39, Tom Zanussi <tom.zanussi@intel.com> wrote:
/> A future patch will factor out the common parts of init_install_2.0.sh
> with init_install 1.0 - this initial patchset essentially just fixes
> what's necessary for YOCTO bug #1428 in order to get things working again.

Wouldn't be better to drop 1.0 completely?

-- 
Otavio Salvador                             O.S. Systems
E-mail: otavio@ossystems.com.br  http://www.ossystems.com.br
Mobile: +55 53 9981-7854              http://projetos.ossystems.com.br



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH 0/2] Add new recipes for grub2
  2011-09-14 12:30 ` Otavio Salvador
@ 2011-09-14 15:45   ` Tom Zanussi
  2011-09-14 15:55     ` Otavio Salvador
  0 siblings, 1 reply; 7+ messages in thread
From: Tom Zanussi @ 2011-09-14 15:45 UTC (permalink / raw)
  To: Patches and discussions about the oe-core layer

On Wed, 2011-09-14 at 05:30 -0700, Otavio Salvador wrote:
> On Wed, Sep 14, 2011 at 02:39, Tom Zanussi <tom.zanussi@intel.com> wrote:
> /> A future patch will factor out the common parts of init_install_2.0.sh
> > with init_install 1.0 - this initial patchset essentially just fixes
> > what's necessary for YOCTO bug #1428 in order to get things working again.
> 
> Wouldn't be better to drop 1.0 completely?
> 

You're right, and the original did do that essentially - on second
thought it was much simpler - I'll resubmit something like that...

Thanks,

Tom




^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH 0/2] Add new recipes for grub2
  2011-09-14 15:45   ` Tom Zanussi
@ 2011-09-14 15:55     ` Otavio Salvador
  2011-09-14 16:01       ` Tom Zanussi
  0 siblings, 1 reply; 7+ messages in thread
From: Otavio Salvador @ 2011-09-14 15:55 UTC (permalink / raw)
  To: Patches and discussions about the oe-core layer

On Wed, Sep 14, 2011 at 12:45, Tom Zanussi <tom.zanussi@intel.com> wrote:
> On Wed, 2011-09-14 at 05:30 -0700, Otavio Salvador wrote:
>> On Wed, Sep 14, 2011 at 02:39, Tom Zanussi <tom.zanussi@intel.com> wrote:
>> /> A future patch will factor out the common parts of init_install_2.0.sh
>> > with init_install 1.0 - this initial patchset essentially just fixes
>> > what's necessary for YOCTO bug #1428 in order to get things working again.
>>
>> Wouldn't be better to drop 1.0 completely?
>>
>
> You're right, and the original did do that essentially - on second
> thought it was much simpler - I'll resubmit something like that...

I prefer to have 1.0 dropped since it avoids duplicated maintainence
work and support. Besides, since this is gonna be a base of newer
Yocto we ought to ensure that the layers do get their bsp updated
(even thought I think the only user of it is meta-intel at this
moment).

Nice that you agree with it.

-- 
Otavio Salvador                             O.S. Systems
E-mail: otavio@ossystems.com.br  http://www.ossystems.com.br
Mobile: +55 53 9981-7854              http://projetos.ossystems.com.br



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH 0/2] Add new recipes for grub2
  2011-09-14 15:55     ` Otavio Salvador
@ 2011-09-14 16:01       ` Tom Zanussi
  2011-09-14 16:05         ` Otavio Salvador
  0 siblings, 1 reply; 7+ messages in thread
From: Tom Zanussi @ 2011-09-14 16:01 UTC (permalink / raw)
  To: Patches and discussions about the oe-core layer

On Wed, 2011-09-14 at 08:55 -0700, Otavio Salvador wrote:
> On Wed, Sep 14, 2011 at 12:45, Tom Zanussi <tom.zanussi@intel.com> wrote:
> > On Wed, 2011-09-14 at 05:30 -0700, Otavio Salvador wrote:
> >> On Wed, Sep 14, 2011 at 02:39, Tom Zanussi <tom.zanussi@intel.com> wrote:
> >> /> A future patch will factor out the common parts of init_install_2.0.sh
> >> > with init_install 1.0 - this initial patchset essentially just fixes
> >> > what's necessary for YOCTO bug #1428 in order to get things working again.
> >>
> >> Wouldn't be better to drop 1.0 completely?
> >>
> >
> > You're right, and the original did do that essentially - on second
> > thought it was much simpler - I'll resubmit something like that...
> 
> I prefer to have 1.0 dropped since it avoids duplicated maintainence
> work and support. Besides, since this is gonna be a base of newer
> Yocto we ought to ensure that the layers do get their bsp updated
> (even thought I think the only user of it is meta-intel at this
> moment).
> 

Well, my new version handles both grub 0.97 and grub2.  We need to keep
grub 0.97 around because grub2 is GPLv3.

Tom

> Nice that you agree with it.
> 





^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH 0/2] Add new recipes for grub2
  2011-09-14 16:01       ` Tom Zanussi
@ 2011-09-14 16:05         ` Otavio Salvador
  2011-09-14 16:07           ` Tom Zanussi
  0 siblings, 1 reply; 7+ messages in thread
From: Otavio Salvador @ 2011-09-14 16:05 UTC (permalink / raw)
  To: Patches and discussions about the oe-core layer

On Wed, Sep 14, 2011 at 13:01, Tom Zanussi <tom.zanussi@intel.com> wrote:
> Well, my new version handles both grub 0.97 and grub2.  We need to keep
> grub 0.97 around because grub2 is GPLv3.

Sure; fully agree on that but we can get rid of two different scripts
and avoid duplicated maintainence work :-)

-- 
Otavio Salvador                             O.S. Systems
E-mail: otavio@ossystems.com.br  http://www.ossystems.com.br
Mobile: +55 53 9981-7854              http://projetos.ossystems.com.br



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH 0/2] Add new recipes for grub2
  2011-09-14 16:05         ` Otavio Salvador
@ 2011-09-14 16:07           ` Tom Zanussi
  0 siblings, 0 replies; 7+ messages in thread
From: Tom Zanussi @ 2011-09-14 16:07 UTC (permalink / raw)
  To: Patches and discussions about the oe-core layer

On Wed, 2011-09-14 at 09:05 -0700, Otavio Salvador wrote:
> On Wed, Sep 14, 2011 at 13:01, Tom Zanussi <tom.zanussi@intel.com> wrote:
> > Well, my new version handles both grub 0.97 and grub2.  We need to keep
> > grub 0.97 around because grub2 is GPLv3.
> 
> Sure; fully agree on that but we can get rid of two different scripts
> and avoid duplicated maintainence work :-)
> 

Definitely - my new patch does that - I'll post it in a few minutes...

Tom




^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2011-09-14 16:12 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-09-14  5:39 [PATCH 0/2] Add new recipes for grub2 Tom Zanussi
2011-09-14 12:30 ` Otavio Salvador
2011-09-14 15:45   ` Tom Zanussi
2011-09-14 15:55     ` Otavio Salvador
2011-09-14 16:01       ` Tom Zanussi
2011-09-14 16:05         ` Otavio Salvador
2011-09-14 16:07           ` Tom Zanussi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox