Skip to contentSkip to conversation

kexec-tools packaging

PATCH Applied Andrea Adami 2 participants 4 messages Jan 9, 2012 – Jan 12, 2012

lore
Share & tools
lore
#0 lore raw

v3 cover kexec-tools packaging

* This patchset proposes to package separately
* kexec and kdump.
* Referring to oe-core, task-core-tools has been adapted.

Andrea Adami (2):
kexec-tools: split packaging of kexec and kdump
task-core-tools: adapt to kexec-tools package split

 meta/recipes-core/tasks/task-core-tools.bb     |    4 ++--
 meta/recipes-kernel/kexec/kexec-tools_2.0.2.bb |    7 ++++++-
 2 files changed, 8 insertions(+), 3 deletions(-)
Signature · 1 line
1.7.3.4
#1 lore raw

PATCH v3 1/2 kexec-tools: split packaging of kexec and kdump

* from meta-oe (originally from org.openembedded.dev)
* There are no reasons to install kdump when only kexec is needed. *
* In oe-core/meta there are no references to kexec-tools so
* the recipes inn external layers rdepending on kexec-tools should be
* fixed and rdepend on kexec and/or kdump.
*
* Bump PR.

---
 meta/recipes-kernel/kexec/kexec-tools_2.0.2.bb |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)
meta/recipes-kernel/kexec/kexec-tools_2.0.2.bb +6 -1
index caed816..8d2e606 100644
@@ -2,8 +2,13 @@ require kexec-tools.inc
 export LDFLAGS = "-L${STAGING_LIBDIR}"
 EXTRA_OECONF = " --with-zlib=yes"
 
-PR = "r1"
+PR = "r2"
 
 SRC_URI += " file://fix_for_compiling_with_gcc-4.6.0.patch"
 SRC_URI[md5sum] = "bc401cf3262b25ff7c9a51fc76c8ab91"
 SRC_URI[sha256sum] = "549ab65c18a2229b6bf21b6875ca6bbe0e579bca08c3543ce6aaf8287a0b4188"
+
+PACKAGES =+ "kexec kdump"
+
+FILES_kexec = "${sbindir}/kexec"
+FILES_kdump = "${sbindir}/kdump"
Signature · 1 line
1.7.3.4
#2 lore raw

PATCH v3 2/2 task-core-tools: adapt to kexec-tools package split

In reply to Andrea Adami

* The recipe packages now kexec and kdump separately.
* For standard purposes only kexec is needed.
* Bump PR.

---
 meta/recipes-core/tasks/task-core-tools.bb |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
meta/recipes-core/tasks/task-core-tools.bb +2 -2
index 6632b4f..1a42f15 100644
@@ -6,7 +6,7 @@ DESCRIPTION = "Tools tasks for OE-Core"
 LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58 \
                     file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
-PR = "r14"
+PR = "r15"
 
 PACKAGES = "\
     task-core-tools-debug \
@@ -25,7 +25,7 @@ PACKAGE_ARCH = "${MACHINE_ARCH}"
 ALLOW_EMPTY = "1"
 
 # kexec-tools doesn't work on Mips
-KEXECTOOLS ?= "kexec-tools"
+KEXECTOOLS ?= "kexec"
 KEXECTOOLS_mips ?= ""
 KEXECTOOLS_mipsel ?= ""
 KEXECTOOLS_powerpc ?= ""
Signature · 1 line
1.7.3.4
Applied
#3 lore raw
In reply to Andrea Adami
Quoted 4 lines · Andrea Adami

* This patchset proposes to package separately
* kexec and kdump.
* Referring to oe-core, task-core-tools has been adapted.

Quoted 8 lines

Andrea Adami (2):
kexec-tools: split packaging of kexec and kdump
task-core-tools: adapt to kexec-tools package split

  meta/recipes-core/tasks/task-core-tools.bb     |    4 ++--
  meta/recipes-kernel/kexec/kexec-tools_2.0.2.bb |    7 ++++++-
  2 files changed, 8 insertions(+), 3 deletions(-)

Merged into OE-Core

Thanks
Sau!