All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] kexec-tools: split packaging of kexec and kdump
@ 2012-01-07  0:13 Andrea Adami
  2012-01-07  0:16 ` Andrea Adami
  2012-01-07  0:20 ` [PATCH v2] " Andrea Adami
  0 siblings, 2 replies; 5+ messages in thread
From: Andrea Adami @ 2012-01-07  0:13 UTC (permalink / raw)
  To: openembedded-core

* 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.

Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
---
 meta/classes/image_types.bbclass               |    4 ++--
 meta/recipes-kernel/kexec/kexec-tools_2.0.2.bb |    7 ++++++-
 2 files changed, 8 insertions(+), 3 deletions(-)

diff --git a/meta/classes/image_types.bbclass b/meta/classes/image_types.bbclass
index 3010549..2df424c 100644
--- a/meta/classes/image_types.bbclass
+++ b/meta/classes/image_types.bbclass
@@ -111,11 +111,11 @@ IMAGE_CMD_tar.gz = "cd ${IMAGE_ROOTFS} && tar -zcvf ${DEPLOY_DIR_IMAGE}/${IMAGE_
 IMAGE_CMD_tar.bz2 = "cd ${IMAGE_ROOTFS} && tar -jcvf ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.tar.bz2 ."
 IMAGE_CMD_tar.xz = "cd ${IMAGE_ROOTFS} && tar --xz -cvf ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.tar.xz ."
 IMAGE_CMD_cpio () {
-	touch ${IMAGE_ROOTFS}/init
+	touch -h ${IMAGE_ROOTFS}/init
 	cd ${IMAGE_ROOTFS} && (find . | cpio -o -H newc >${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.cpio)
 }
 IMAGE_CMD_cpio.gz () {
-	touch ${IMAGE_ROOTFS}/init
+	touch -h ${IMAGE_ROOTFS}/init
 	cd ${IMAGE_ROOTFS} && (find . | cpio -o -H newc | gzip -c -9 >${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.cpio.gz)
 }
 IMAGE_CMD_cpio.xz = "type cpio >/dev/null; cd ${IMAGE_ROOTFS} && (find . | cpio -o -H newc | xz -c ${XZ_COMPRESSION_LEVEL} --check=${XZ_INTEGRITY_CHECK} > ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.cpio.xz) ${EXTRA_IMAGECMD}"
diff --git a/meta/recipes-kernel/kexec/kexec-tools_2.0.2.bb b/meta/recipes-kernel/kexec/kexec-tools_2.0.2.bb
index caed816..8d2e606 100644
--- a/meta/recipes-kernel/kexec/kexec-tools_2.0.2.bb
+++ b/meta/recipes-kernel/kexec/kexec-tools_2.0.2.bb
@@ -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"
-- 
1.7.3.4




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

* Re: [PATCH] kexec-tools: split packaging of kexec and kdump
  2012-01-07  0:13 [PATCH] kexec-tools: split packaging of kexec and kdump Andrea Adami
@ 2012-01-07  0:16 ` Andrea Adami
  2012-01-07  0:20 ` [PATCH v2] " Andrea Adami
  1 sibling, 0 replies; 5+ messages in thread
From: Andrea Adami @ 2012-01-07  0:16 UTC (permalink / raw)
  To: openembedded-core

On Sat, Jan 7, 2012 at 1:13 AM, Andrea Adami <andrea.adami@gmail.com> wrote:
> * 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.
>
> Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
> ---
>  meta/classes/image_types.bbclass               |    4 ++--
>  meta/recipes-kernel/kexec/kexec-tools_2.0.2.bb |    7 ++++++-
>  2 files changed, 8 insertions(+), 3 deletions(-)
>
> diff --git a/meta/classes/image_types.bbclass b/meta/classes/image_types.bbclass
> index 3010549..2df424c 100644
> --- a/meta/classes/image_types.bbclass
> +++ b/meta/classes/image_types.bbclass
> @@ -111,11 +111,11 @@ IMAGE_CMD_tar.gz = "cd ${IMAGE_ROOTFS} && tar -zcvf ${DEPLOY_DIR_IMAGE}/${IMAGE_
>  IMAGE_CMD_tar.bz2 = "cd ${IMAGE_ROOTFS} && tar -jcvf ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.tar.bz2 ."
>  IMAGE_CMD_tar.xz = "cd ${IMAGE_ROOTFS} && tar --xz -cvf ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.tar.xz ."
>  IMAGE_CMD_cpio () {
> -       touch ${IMAGE_ROOTFS}/init
> +       touch -h ${IMAGE_ROOTFS}/init
>        cd ${IMAGE_ROOTFS} && (find . | cpio -o -H newc >${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.cpio)
>  }
>  IMAGE_CMD_cpio.gz () {
> -       touch ${IMAGE_ROOTFS}/init
> +       touch -h ${IMAGE_ROOTFS}/init
>        cd ${IMAGE_ROOTFS} && (find . | cpio -o -H newc | gzip -c -9 >${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.cpio.gz)
>  }
>  IMAGE_CMD_cpio.xz = "type cpio >/dev/null; cd ${IMAGE_ROOTFS} && (find . | cpio -o -H newc | xz -c ${XZ_COMPRESSION_LEVEL} --check=${XZ_INTEGRITY_CHECK} > ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.cpio.xz) ${EXTRA_IMAGECMD}"
> diff --git a/meta/recipes-kernel/kexec/kexec-tools_2.0.2.bb b/meta/recipes-kernel/kexec/kexec-tools_2.0.2.bb
> index caed816..8d2e606 100644
> --- a/meta/recipes-kernel/kexec/kexec-tools_2.0.2.bb
> +++ b/meta/recipes-kernel/kexec/kexec-tools_2.0.2.bb
> @@ -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"
> --
> 1.7.3.4
>

Sorry, this patch contains unwanted changes to image_types.bbclass.
Please ignore, will resend.

Andrea



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

* [PATCH v2] kexec-tools: split packaging of kexec and kdump
  2012-01-07  0:13 [PATCH] kexec-tools: split packaging of kexec and kdump Andrea Adami
  2012-01-07  0:16 ` Andrea Adami
@ 2012-01-07  0:20 ` Andrea Adami
  2012-01-09 17:01   ` Saul Wold
  1 sibling, 1 reply; 5+ messages in thread
From: Andrea Adami @ 2012-01-07  0:20 UTC (permalink / raw)
  To: openembedded-core

* 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.

Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
---
 meta/recipes-kernel/kexec/kexec-tools_2.0.2.bb |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diff --git a/meta/recipes-kernel/kexec/kexec-tools_2.0.2.bb b/meta/recipes-kernel/kexec/kexec-tools_2.0.2.bb
index caed816..8d2e606 100644
--- a/meta/recipes-kernel/kexec/kexec-tools_2.0.2.bb
+++ b/meta/recipes-kernel/kexec/kexec-tools_2.0.2.bb
@@ -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"
-- 
1.7.3.4




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

* Re: [PATCH v2] kexec-tools: split packaging of kexec and kdump
  2012-01-07  0:20 ` [PATCH v2] " Andrea Adami
@ 2012-01-09 17:01   ` Saul Wold
  2012-01-09 22:15     ` Andrea Adami
  0 siblings, 1 reply; 5+ messages in thread
From: Saul Wold @ 2012-01-09 17:01 UTC (permalink / raw)
  To: Patches and discussions about the oe-core layer

On 01/06/2012 04:20 PM, Andrea Adami wrote:
> * 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.
> *
You need to fix task-core-tools.bb in oe-core/meta itself also.

Thanks
	Sau!

> * Bump PR.
>
> Signed-off-by: Andrea Adami<andrea.adami@gmail.com>
> ---
>   meta/recipes-kernel/kexec/kexec-tools_2.0.2.bb |    7 ++++++-
>   1 files changed, 6 insertions(+), 1 deletions(-)
>
> diff --git a/meta/recipes-kernel/kexec/kexec-tools_2.0.2.bb b/meta/recipes-kernel/kexec/kexec-tools_2.0.2.bb
> index caed816..8d2e606 100644
> --- a/meta/recipes-kernel/kexec/kexec-tools_2.0.2.bb
> +++ b/meta/recipes-kernel/kexec/kexec-tools_2.0.2.bb
> @@ -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"



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

* Re: [PATCH v2] kexec-tools: split packaging of kexec and kdump
  2012-01-09 17:01   ` Saul Wold
@ 2012-01-09 22:15     ` Andrea Adami
  0 siblings, 0 replies; 5+ messages in thread
From: Andrea Adami @ 2012-01-09 22:15 UTC (permalink / raw)
  To: Patches and discussions about the oe-core layer

On Mon, Jan 9, 2012 at 6:01 PM, Saul Wold <sgw@linux.intel.com> wrote:
> On 01/06/2012 04:20 PM, Andrea Adami wrote:
>>
>> * 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.
>> *
>
> You need to fix task-core-tools.bb in oe-core/meta itself also.
>
> Thanks
>        Sau!
>
>

Sure! My bad I overlooked this.
I'd add just kexec, being kdump is probably installed on demand with
capables kernels.
While there, I'd rename the recipe PN to 'kexec-tools' s upstream.

New patchset following soon.
Thanks for reviewing!

Cheers


>> * Bump PR.
>>
>> Signed-off-by: Andrea Adami<andrea.adami@gmail.com>
>> ---
>>  meta/recipes-kernel/kexec/kexec-tools_2.0.2.bb |    7 ++++++-
>>  1 files changed, 6 insertions(+), 1 deletions(-)
>>
>> diff --git a/meta/recipes-kernel/kexec/kexec-tools_2.0.2.bb
>> b/meta/recipes-kernel/kexec/kexec-tools_2.0.2.bb
>> index caed816..8d2e606 100644
>> --- a/meta/recipes-kernel/kexec/kexec-tools_2.0.2.bb
>> +++ b/meta/recipes-kernel/kexec/kexec-tools_2.0.2.bb
>> @@ -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"



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

end of thread, other threads:[~2012-01-09 22:22 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-01-07  0:13 [PATCH] kexec-tools: split packaging of kexec and kdump Andrea Adami
2012-01-07  0:16 ` Andrea Adami
2012-01-07  0:20 ` [PATCH v2] " Andrea Adami
2012-01-09 17:01   ` Saul Wold
2012-01-09 22:15     ` Andrea Adami

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.