Skip to contentSkip to conversation

zaurus-installer: use linux-yocto-tiny-kexecboot kernel

PATCH In review Andrea Adami 2 participants 4 messages Apr 23, 2012

lore
Share & tools
lore
#0 lore raw

PATCH 1/3 zaurus-installer: use linux-yocto-tiny-kexecboot kernel

* bump PR

---
 recipes-bsp/zaurus-utils/zaurus-installer.bb |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)
recipes-bsp/zaurus-utils/zaurus-installer.bb +4 -4
index 785836f..62f01c8 100644
@@ -1,9 +1,9 @@
 DESCRIPTION = "Installkit for kexecboot-kernel"
 LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58"
-DEPENDS = "${@base_conditional('MACHINE', 'collie', 'linux-kexecboot', 'zaurus-updater linux-kexecboot', d)}"
+DEPENDS = "${@base_conditional('MACHINE', 'collie', 'linux-yocto-tiny-kexecboot', 'zaurus-updater linux-yocto-tiny-kexecboot', d)}"
 DEPENDS += "${@base_conditional('MACHINE', 'spitz', 'zaurus-legacy-tar', '', d)}"
-PR = "r6"
+PR = "r7"
 
 INHIBIT_DEFAULT_DEPS = "1"
 
@@ -14,7 +14,7 @@ do_compile() {
 PACKAGE_ARCH = "${MACHINE_ARCH}"
 PACKAGES = ""
 
-COMPATIBLE_MACHINE = "(collie|poodle|c7x0|spitz|akita|tosa)"
+COMPATIBLE_MACHINE = "collie|poodle|c7x0|spitz|akita|tosa"
 
 inherit deploy
 
@@ -24,7 +24,7 @@ do_deploy() {
         cd ${DEPLOY_DIR_IMAGE}
         rm -rf ${DEPLOY_DIR_IMAGE}/installkit-${MACHINE}/
         mkdir installkit-${MACHINE}/
-        [ -f "${KERNEL_IMAGETYPE}-kexecboot-${MACHINE}.bin" ] && cp ${KERNEL_IMAGETYPE}-kexecboot-${MACHINE}.bin installkit-${MACHINE}/${KERNEL_IMAGETYPE}
+        [ -f "${KERNEL_IMAGETYPE}-yocto-tiny-kexecboot-${MACHINE}.bin" ] && cp ${KERNEL_IMAGETYPE}-yocto-tiny-kexecboot-${MACHINE}.bin installkit-${MACHINE}/${KERNEL_IMAGETYPE}
         if [ ! "${MACHINE}" = "collie" ]; then
                 cp updater.sh installkit-${MACHINE}/updater.sh
         fi
Signature · 1 line
1.7.3.4
#1 lore raw

PATCH 2/3 zaurus.inc: update references to linux-kexecboot

* now using linux-yocto-tiny-kexecboot

---
 conf/machine/include/zaurus.inc |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
conf/machine/include/zaurus.inc +2 -2
index 1ef3213..268b9fd 100644
@@ -69,10 +69,10 @@ MACHINE_EXTRA_RDEPENDS_collie = "zaurusd"
 
 ##################################
 # Zaurus rootfs are booted by
-# linux-kexecboot
+# linux-yocto-tiny-kexecboot
 ##################################
 
-# If set here, each image will also build linux-kexecboot and the updater
+# If set here, each image will also build linux-yocto-tiny-kexecboot and the updater
 # EXTRA_IMAGEDEPENDS += "zaurus-installer"
 
 # Install /boot/boot.cfg in target images
Signature · 1 line
1.7.3.4
#2 lore raw

PATCH 3/3 linux-kexecboot_3.2: unlock removing DEFAULT_PREFERENCE = "-1"

In reply to Andrea Adami

* klibc can now be built against kernel >3.1

---
 recipes-kernel/linux/linux-kexecboot_3.2.bbappend |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)
recipes-kernel/linux/linux-kexecboot_3.2.bbappend +0 -3
index 909bf9e..6ea2a00 100644
@@ -1,8 +1,5 @@
 FILESEXTRAPATHS_prepend := "${THISDIR}/linux-kexecboot-${PV}:${THISDIR}/files:"
 
-# wait until klibc_2.0 is out (march/april 2012)
-DEFAULT_PREFERENCE = "-1"
-
 PR = "${INC_PR}.1"
 COMPATIBLE_MACHINE = "(akita|c7x0|collie|poodle|tosa|spitz)"
 
Signature · 1 line
1.7.3.4
#3 lore raw
In reply to Andrea Adami
Quoted 47 lines · On Monday 23 April 2012 23:31:12 Andrea Adami wrote:

* bump PR

---
 recipes-bsp/zaurus-utils/zaurus-installer.bb |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)
(quoted diff) +0 -0

b/recipes-bsp/zaurus-utils/zaurus-installer.bb index 785836f..62f01c8 100644

recipes-bsp/zaurus-utils/zaurus-installer.bb +0 -0
@@ -1,9 +1,9 @@
 DESCRIPTION = "Installkit for kexecboot-kernel"
 LICENSE = "MIT"
 LIC_FILES_CHKSUM =

"file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58" -DEPENDS = "${@base_conditional('MACHINE', 'collie', 'linux-kexecboot', 'zaurus-updater linux-kexecboot', d)}" +DEPENDS = "${@base_conditional('MACHINE', 'collie', 'linux-yocto-tiny-kexecboot', 'zaurus-updater linux-yocto-tiny-kexecboot', d)}" DEPENDS += "${@base_conditional('MACHINE', 'spitz', 'zaurus-legacy-tar', '', d)}" -PR = "r6"

recipes-bsp/zaurus-utils/zaurus-installer.bb +2 -2
+PR = "r7"
 
 INHIBIT_DEFAULT_DEPS = "1"
@@ -14,7 +14,7 @@ do_compile() {
 PACKAGE_ARCH = "${MACHINE_ARCH}"
 PACKAGES = ""
 
-COMPATIBLE_MACHINE = "(collie|poodle|c7x0|spitz|akita|tosa)"
+COMPATIBLE_MACHINE = "collie|poodle|c7x0|spitz|akita|tosa"
 
 inherit deploy
 
@@ -24,7 +24,7 @@ do_deploy() {
         cd ${DEPLOY_DIR_IMAGE}
         rm -rf ${DEPLOY_DIR_IMAGE}/installkit-${MACHINE}/
         mkdir installkit-${MACHINE}/
-        [ -f "${KERNEL_IMAGETYPE}-kexecboot-${MACHINE}.bin" ] && cp

${KERNEL_IMAGETYPE}-kexecboot-${MACHINE}.bin
installkit-${MACHINE}/${KERNEL_IMAGETYPE} + [ -f
"${KERNEL_IMAGETYPE}-yocto-tiny-kexecboot-${MACHINE}.bin" ] && cp ${KERNEL_IMAGETYPE}-yocto-tiny-kexecboot-${MACHINE}.bin installkit-${MACHINE}/${KERNEL_IMAGETYPE} if [ ! "${MACHINE}" = "collie" ]; then

Quoted 2 lines
                 cp updater.sh installkit-${MACHINE}/updater.sh
         fi

Merged these three to meta-handheld, thanks.

Cheers,
Paul

Signature · 2 lines
Paul Eggleton
Intel Open Source Technology Centre