Skip to contentSkip to conversation

More fixes for bug 1428

PATCH In review [email protected] 4 participants 11 messages Sep 8, 2011 – Sep 9, 2011

lore
Share & tools
lore
#0 lore raw

cover More fixes for bug 1428

From: Tom Zanussi <[email protected]>

oe-core commit dc3a8274c7e935fa564eea142d2535c9bcf2b272 for YOCTO #1428 broke meta-intel x86_64 builds:

NOTE: Resolving any missing task queue dependencies
ERROR: Nothing RPROVIDES 'initramfs-live-install' (but /usr/local/src/yocto/sugarbay/meta/recipes-core/images/core-image-minimal-initramfs.bb RDEPENDS on or otherwise requires it)
ERROR: initramfs-live-install was skipped: incompatible with host x86_64-poky-linux

This patchset restores the build.

Build and install-tested on sugarbay and crownbay.

More fixes for [YOCTO #1428]

The following changes since commit b86f811663d834064af1e6778c408eb904fad0b9:
Darren Hart (1):
n450: update linux-yocto PREFERRED_VERSION to 3.0%

are available in the git repository at:

git://git.yoctoproject.org/meta-intel.git tzanussi/1428-fix
http://git.yoctoproject.org/cgit/cgit.cgi/meta-intel/log/?h=tzanussi/1428-fix

Tom Zanussi (2):
meta-intel/common: create a grub2 version initramfs-live-install meta-intel/common: remove initramfs-live-install 1.0 bbappend

 .../initramfs-live-install_1.0.bbappend            |    2 -
 .../initrdscripts/initramfs-live-install_2.0.bb    |   24 ++++++++++++++++++++
 2 files changed, 24 insertions(+), 2 deletions(-)
 delete mode 100644 common/recipes-core/initrdscripts/initramfs-live-install_1.0.bbappend
 create mode 100644 common/recipes-core/initrdscripts/initramfs-live-install_2.0.bb
#1 lore raw

PATCH 1/2 meta-intel/common: create a grub2 version initramfs-live-install

From: Tom Zanussi <[email protected]>

x86_64 compatibility was removed from the oe-core initramfs-live-install because it didn't work well with grub 0.97. The meta-intel x86-64 machines still need to use initramfs-live-install so we need an x86_64-compatible recipe.

More fixes for [YOCTO #1428].

---
 .../initrdscripts/initramfs-live-install_2.0.bb    |   24 ++++++++++++++++++++
 1 files changed, 24 insertions(+), 0 deletions(-)
 create mode 100644 common/recipes-core/initrdscripts/initramfs-live-install_2.0.bb
common/recipes-core/initrdscripts/initramfs-live-install_2.0.bb new file +24 -0
new file mode 100644
index 0000000..da8a64d
@@ -0,0 +1,24 @@
+DESCRIPTION = "A live image init script"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
+SRC_URI = "file://init-install.sh"
+
+PR = "r0"
+
+RDEPENDS="grub parted e2fsprogs-mke2fs"
+
+do_install() {
+        install -m 0755 ${WORKDIR}/init-install.sh ${D}/install.sh
+}
+
+# While this package maybe an allarch due to it being a 
+# simple script, reality is that it is Host specific based
+# on the COMPATIBLE_HOST below, which needs to take precedence
+#inherit allarch
+INHIBIT_DEFAULT_DEPS = "1"
+
+FILES_${PN} = " /install.sh "
+
+# Alternatives to grub need adding for other arch support
+# consistent with grub 1.98 (grub 2)
+COMPATIBLE_HOST = "x86_64.*-linux"
Signature · 1 line
1.7.0.4
#2 lore raw

PATCH 2/2 meta-intel/common: remove initramfs-live-install 1.0 bbappend

From: Tom Zanussi <[email protected]>

We can no longer use the 1.0 version of initramfs-live-install, so remove the corresponding .bbappend.

---
 .../initramfs-live-install_1.0.bbappend            |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
 delete mode 100644 common/recipes-core/initrdscripts/initramfs-live-install_1.0.bbappend
common/recipes-core/initrdscripts/initramfs-live-install_1.0.bbappend deleted +0 -2
deleted file mode 100644
index d3420e0..0000000
@@ -1,2 +0,0 @@
-THISDIR := "${@os.path.dirname(bb.data.getVar('FILE', d, True))}"
-FILESPATH =. "${@base_set_filespath(["${THISDIR}/${PN}"], d)}:"
Signature · 1 line
1.7.0.4
#3 lore raw
In reply to [email protected]
Quoted 19 lines · On Thu, 2011-09-08 at 14:27 -0500, [email protected] wrote:

From: Tom Zanussi <[email protected]>

oe-core commit dc3a8274c7e935fa564eea142d2535c9bcf2b272 for YOCTO #1428 broke meta-intel x86_64 builds:

NOTE: Resolving any missing task queue dependencies
ERROR: Nothing RPROVIDES 'initramfs-live-install' (but /usr/local/src/yocto/sugarbay/meta/recipes-core/images/core-image-minimal-initramfs.bb RDEPENDS on or otherwise requires it)
ERROR: initramfs-live-install was skipped: incompatible with host x86_64-poky-linux

This patchset restores the build.

Build and install-tested on sugarbay and crownbay.

More fixes for [YOCTO #1428]

The following changes since commit b86f811663d834064af1e6778c408eb904fad0b9:
Darren Hart (1):
n450: update linux-yocto PREFERRED_VERSION to 3.0%

Quoted 8 lines

are available in the git repository at:

git://git.yoctoproject.org/meta-intel.git tzanussi/1428-fix
http://git.yoctoproject.org/cgit/cgit.cgi/meta-intel/log/?h=tzanussi/1428-fix

Tom Zanussi (2):
meta-intel/common: create a grub2 version initramfs-live-install meta-intel/common: remove initramfs-live-install 1.0 bbappend

Is there a disadvantage to moving to grub2 in OE-Core and then bringing these pieces into sync?

Cheers,

Richard

#4 lore raw
Quoted 25 lines · Richard Purdie
Quoted 24 lines · On Thu, 2011-09-08 at 14:27 -0500, [email protected] wrote:

From: Tom Zanussi <[email protected]>

oe-core commit dc3a8274c7e935fa564eea142d2535c9bcf2b272 for YOCTO #1428 broke meta-intel x86_64 builds:

NOTE: Resolving any missing task queue dependencies
ERROR: Nothing RPROVIDES 'initramfs-live-install' (but /usr/local/src/yocto/sugarbay/meta/recipes-core/images/core-image-minimal-initramfs.bb RDEPENDS on or otherwise requires it)
ERROR: initramfs-live-install was skipped: incompatible with host x86_64-poky-linux

This patchset restores the build.

Build and install-tested on sugarbay and crownbay.

More fixes for [YOCTO #1428]

The following changes since commit b86f811663d834064af1e6778c408eb904fad0b9:
Darren Hart (1):
n450: update linux-yocto PREFERRED_VERSION to 3.0%

are available in the git repository at:

git://git.yoctoproject.org/meta-intel.git tzanussi/1428-fix
http://git.yoctoproject.org/cgit/cgit.cgi/meta-intel/log/?h=tzanussi/1428-fix

Quoted 7 lines
Quoted 3 lines

Tom Zanussi (2):
meta-intel/common: create a grub2 version initramfs-live-install meta-intel/common: remove initramfs-live-install 1.0 bbappend

Is there a disadvantage to moving to grub2 in OE-Core and then bringing these pieces into sync?

Yes, it would make sense - the plan was to do that during the 1.2 cycle...

Tom

Quoted 4 lines

Cheers,

Richard

#5 lore raw
Quoted 30 lines · Tom Zanussi
Quoted 29 lines · Richard Purdie
Quoted 27 lines · On Thu, 2011-09-08 at 14:27 -0500, [email protected] wrote:

From: Tom Zanussi <[email protected]>

oe-core commit dc3a8274c7e935fa564eea142d2535c9bcf2b272 for YOCTO #1428 broke meta-intel x86_64 builds:

NOTE: Resolving any missing task queue dependencies
ERROR: Nothing RPROVIDES 'initramfs-live-install' (but /usr/local/src/yocto/sugarbay/meta/recipes-core/images/core-image-minimal-initramfs.bb RDEPENDS on or otherwise requires it)
ERROR: initramfs-live-install was skipped: incompatible with host x86_64-poky-linux

This patchset restores the build.

Build and install-tested on sugarbay and crownbay.

More fixes for [YOCTO #1428]

The following changes since commit b86f811663d834064af1e6778c408eb904fad0b9:
Darren Hart (1):
n450: update linux-yocto PREFERRED_VERSION to 3.0%

are available in the git repository at:

git://git.yoctoproject.org/meta-intel.git tzanussi/1428-fix
http://git.yoctoproject.org/cgit/cgit.cgi/meta-intel/log/?h=tzanussi/1428-fix

Tom Zanussi (2):
meta-intel/common: create a grub2 version initramfs-live-install meta-intel/common: remove initramfs-live-install 1.0 bbappend

Quoted 6 lines
Quoted 3 lines

Is there a disadvantage to moving to grub2 in OE-Core and then bringing these pieces into sync?

Yes, it would make sense - the plan was to do that during the 1.2 cycle...

If someone can confirm that 32 and 64 bit live images work with grub2 and there is no good reason not to do this, I'd be in favour of doing this now rather than explain why its a mess...

Cheers,

Richard

#6 lore raw
Quoted 35 lines · Richard Purdie
Quoted 34 lines · Tom Zanussi
Quoted 32 lines · Richard Purdie
Quoted 19 lines · On Thu, 2011-09-08 at 14:27 -0500, [email protected] wrote:

From: Tom Zanussi <[email protected]>

oe-core commit dc3a8274c7e935fa564eea142d2535c9bcf2b272 for YOCTO #1428 broke meta-intel x86_64 builds:

NOTE: Resolving any missing task queue dependencies
ERROR: Nothing RPROVIDES 'initramfs-live-install' (but /usr/local/src/yocto/sugarbay/meta/recipes-core/images/core-image-minimal-initramfs.bb RDEPENDS on or otherwise requires it)
ERROR: initramfs-live-install was skipped: incompatible with host x86_64-poky-linux

This patchset restores the build.

Build and install-tested on sugarbay and crownbay.

More fixes for [YOCTO #1428]

The following changes since commit b86f811663d834064af1e6778c408eb904fad0b9:
Darren Hart (1):
n450: update linux-yocto PREFERRED_VERSION to 3.0%

Quoted 8 lines

are available in the git repository at:

git://git.yoctoproject.org/meta-intel.git tzanussi/1428-fix
http://git.yoctoproject.org/cgit/cgit.cgi/meta-intel/log/?h=tzanussi/1428-fix

Tom Zanussi (2):
meta-intel/common: create a grub2 version initramfs-live-install meta-intel/common: remove initramfs-live-install 1.0 bbappend

Is there a disadvantage to moving to grub2 in OE-Core and then bringing these pieces into sync?

Quoted 7 lines
Quoted 2 lines

Yes, it would make sense - the plan was to do that during the 1.2 cycle...

If someone can confirm that 32 and 64 bit live images work with grub2 and there is no good reason not to do this, I'd be in favour of doing this now rather than explain why its a mess...

I haven't tried the 32-bit BSPs with grub2 - been focused on other things until this incomplete fix for 1428 seems to have forced the issue, but can try it over the weekend and see what happens.

grub2 isn't a simple version bump from the legacy grub 0.97, but is a completely incompatible re-write - I thought being more cautious in removing the grub 0.97 that's worked fine for everything but the couple of 64-bit meta-intel BSPs that need it would be something for 1.2, but if it can go in now, why not...

Tom

Quoted 4 lines

Cheers,

Richard

#7 lore raw
Quoted 48 lines · Tom Zanussi
Quoted 35 lines · Richard Purdie
Quoted 34 lines · Tom Zanussi
Quoted 32 lines · Richard Purdie
Quoted 19 lines · On Thu, 2011-09-08 at 14:27 -0500, [email protected] wrote:

From: Tom Zanussi <[email protected]>

oe-core commit dc3a8274c7e935fa564eea142d2535c9bcf2b272 for YOCTO #1428 broke meta-intel x86_64 builds:

NOTE: Resolving any missing task queue dependencies
ERROR: Nothing RPROVIDES 'initramfs-live-install' (but /usr/local/src/yocto/sugarbay/meta/recipes-core/images/core-image-minimal-initramfs.bb RDEPENDS on or otherwise requires it)
ERROR: initramfs-live-install was skipped: incompatible with host x86_64-poky-linux

This patchset restores the build.

Build and install-tested on sugarbay and crownbay.

More fixes for [YOCTO #1428]

The following changes since commit b86f811663d834064af1e6778c408eb904fad0b9:
Darren Hart (1):
n450: update linux-yocto PREFERRED_VERSION to 3.0%

Quoted 8 lines

are available in the git repository at:

git://git.yoctoproject.org/meta-intel.git tzanussi/1428-fix
http://git.yoctoproject.org/cgit/cgit.cgi/meta-intel/log/?h=tzanussi/1428-fix

Tom Zanussi (2):
meta-intel/common: create a grub2 version initramfs-live-install meta-intel/common: remove initramfs-live-install 1.0 bbappend

Is there a disadvantage to moving to grub2 in OE-Core and then bringing these pieces into sync?

Quoted 7 lines
Quoted 2 lines

Yes, it would make sense - the plan was to do that during the 1.2 cycle...

If someone can confirm that 32 and 64 bit live images work with grub2 and there is no good reason not to do this, I'd be in favour of doing this now rather than explain why its a mess...

I haven't tried the 32-bit BSPs with grub2 - been focused on other things until this incomplete fix for 1428 seems to have forced the issue, but can try it over the weekend and see what happens.

Quoted 5 lines

grub2 isn't a simple version bump from the legacy grub 0.97, but is a completely incompatible re-write - I thought being more cautious in removing the grub 0.97 that's worked fine for everything but the couple of 64-bit meta-intel BSPs that need it would be something for 1.2, but if it can go in now, why not...

We need to keep the older grub 0.97 as well. grub2 is GPLv3 and a lot of people will refuse to use it based on that.

--Mark

Quoted 12 lines

Tom

Quoted 4 lines

Cheers,

Richard

_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto

#8 lore raw
Quoted 49 lines · Mark Hatle
Quoted 48 lines · Tom Zanussi
Quoted 35 lines · Richard Purdie
Quoted 34 lines · Tom Zanussi
Quoted 32 lines · Richard Purdie
Quoted 19 lines · On Thu, 2011-09-08 at 14:27 -0500, [email protected] wrote:

From: Tom Zanussi <[email protected]>

oe-core commit dc3a8274c7e935fa564eea142d2535c9bcf2b272 for YOCTO #1428 broke meta-intel x86_64 builds:

NOTE: Resolving any missing task queue dependencies
ERROR: Nothing RPROVIDES 'initramfs-live-install' (but /usr/local/src/yocto/sugarbay/meta/recipes-core/images/core-image-minimal-initramfs.bb RDEPENDS on or otherwise requires it)
ERROR: initramfs-live-install was skipped: incompatible with host x86_64-poky-linux

This patchset restores the build.

Build and install-tested on sugarbay and crownbay.

More fixes for [YOCTO #1428]

The following changes since commit b86f811663d834064af1e6778c408eb904fad0b9:
Darren Hart (1):
n450: update linux-yocto PREFERRED_VERSION to 3.0%

Quoted 8 lines

are available in the git repository at:

git://git.yoctoproject.org/meta-intel.git tzanussi/1428-fix
http://git.yoctoproject.org/cgit/cgit.cgi/meta-intel/log/?h=tzanussi/1428-fix

Tom Zanussi (2):
meta-intel/common: create a grub2 version initramfs-live-install meta-intel/common: remove initramfs-live-install 1.0 bbappend

Is there a disadvantage to moving to grub2 in OE-Core and then bringing these pieces into sync?

Quoted 7 lines
Quoted 2 lines

Yes, it would make sense - the plan was to do that during the 1.2 cycle...

If someone can confirm that 32 and 64 bit live images work with grub2 and there is no good reason not to do this, I'd be in favour of doing this now rather than explain why its a mess...

I haven't tried the 32-bit BSPs with grub2 - been focused on other things until this incomplete fix for 1428 seems to have forced the issue, but can try it over the weekend and see what happens.

Quoted 9 lines
Quoted 5 lines

grub2 isn't a simple version bump from the legacy grub 0.97, but is a completely incompatible re-write - I thought being more cautious in removing the grub 0.97 that's worked fine for everything but the couple of 64-bit meta-intel BSPs that need it would be something for 1.2, but if it can go in now, why not...

We need to keep the older grub 0.97 as well. grub2 is GPLv3 and a lot of people will refuse to use it based on that.

Yeah, thanks for pointing that out. Will keep the legacy version around in any case...

Thanks,

Tom

Quoted 19 lines

--Mark

Quoted 4 lines

Tom

Quoted 2 lines

Cheers,

Quoted 8 lines
Quoted 2 lines

Richard

_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto

_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto

#9 lore raw
Quoted 56 lines · Tom Zanussi
Quoted 55 lines · Mark Hatle
Quoted 53 lines · Tom Zanussi
Quoted 35 lines · Richard Purdie
Quoted 34 lines · Tom Zanussi
Quoted 32 lines · Richard Purdie
Quoted 19 lines · On Thu, 2011-09-08 at 14:27 -0500, [email protected] wrote:

From: Tom Zanussi <[email protected]>

oe-core commit dc3a8274c7e935fa564eea142d2535c9bcf2b272 for YOCTO #1428 broke meta-intel x86_64 builds:

NOTE: Resolving any missing task queue dependencies
ERROR: Nothing RPROVIDES 'initramfs-live-install' (but /usr/local/src/yocto/sugarbay/meta/recipes-core/images/core-image-minimal-initramfs.bb RDEPENDS on or otherwise requires it)
ERROR: initramfs-live-install was skipped: incompatible with host x86_64-poky-linux

This patchset restores the build.

Build and install-tested on sugarbay and crownbay.

More fixes for [YOCTO #1428]

The following changes since commit b86f811663d834064af1e6778c408eb904fad0b9:
Darren Hart (1):
n450: update linux-yocto PREFERRED_VERSION to 3.0%

Quoted 8 lines

are available in the git repository at:

git://git.yoctoproject.org/meta-intel.git tzanussi/1428-fix
http://git.yoctoproject.org/cgit/cgit.cgi/meta-intel/log/?h=tzanussi/1428-fix

Tom Zanussi (2):
meta-intel/common: create a grub2 version initramfs-live-install meta-intel/common: remove initramfs-live-install 1.0 bbappend

Is there a disadvantage to moving to grub2 in OE-Core and then bringing these pieces into sync?

Quoted 7 lines
Quoted 2 lines

Yes, it would make sense - the plan was to do that during the 1.2 cycle...

If someone can confirm that 32 and 64 bit live images work with grub2 and there is no good reason not to do this, I'd be in favour of doing this now rather than explain why its a mess...

I haven't tried the 32-bit BSPs with grub2 - been focused on other things until this incomplete fix for 1428 seems to have forced the issue, but can try it over the weekend and see what happens.

grub2 isn't a simple version bump from the legacy grub 0.97, but is a completely incompatible re-write - I thought being more cautious in removing the grub 0.97 that's worked fine for everything but the couple of 64-bit meta-intel BSPs that need it would be something for 1.2, but if it can go in now, why not...

Quoted 7 lines
Quoted 3 lines

We need to keep the older grub 0.97 as well. grub2 is GPLv3 and a lot of people will refuse to use it based on that.

Yeah, thanks for pointing that out. Will keep the legacy version around in any case...

And I just pushed a fix to update the recipe as well...

Tom

Quoted 30 lines

Thanks,

Tom

Quoted 15 lines

--Mark

Quoted 4 lines

Tom

Quoted 2 lines

Cheers,

Quoted 8 lines
Quoted 2 lines

Richard

_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto

Quoted 4 lines

_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto

_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto

#10 lore raw
In reply to Mark Hatle
Quoted 2 lines · Mark Hatle

We need to keep the older grub 0.97 as well. grub2 is GPLv3 and a lot of people will refuse to use it based on that.

This is a concern, iirc we needed GRUB 2 for x86_64. I was considering dropping grub entirely and using syslinux in the 1.2 timeframe. I asked on list if there were any non-x86 grub users and didn't get any responses.

--
Darren

Quoted 20 lines

--Mark

Quoted 4 lines

Tom

Quoted 2 lines

Cheers,

Quoted 8 lines
Quoted 2 lines

Richard

_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto

_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto

Signature · 3 lines
Darren Hart
Intel Open Source Technology Center
Yocto Project - Linux Kernel