* [PATCH openbmc] Create tarball of update files with correct names
@ 2016-02-01 4:40 OpenBMC Patches
2016-02-01 4:40 ` OpenBMC Patches
0 siblings, 1 reply; 3+ messages in thread
From: OpenBMC Patches @ 2016-02-01 4:40 UTC (permalink / raw)
To: openbmc; +Cc: Norman James
Creates 2 tarballs. The file names match the /proc/mtd partition names.
1. Contains full flash image (image-bmc)
2. Contains image-u-boot, image-kernel, image-rofs, and image-initramfs
Signed-off-by: Norman James <nkskjames@gmail.com>
https://github.com/openbmc/openbmc/pull/154
Norman James (1):
Create tarball of update files with correct names
meta-phosphor/classes/obmc-phosphor-image_types_uboot.bbclass | 9 +++++++++
1 file changed, 9 insertions(+)
--
2.6.4
^ permalink raw reply [flat|nested] 3+ messages in thread
* [PATCH openbmc] Create tarball of update files with correct names
2016-02-01 4:40 [PATCH openbmc] Create tarball of update files with correct names OpenBMC Patches
@ 2016-02-01 4:40 ` OpenBMC Patches
2016-02-01 19:04 ` Brad Bishop
0 siblings, 1 reply; 3+ messages in thread
From: OpenBMC Patches @ 2016-02-01 4:40 UTC (permalink / raw)
To: openbmc; +Cc: Norman James, Norman James
From: Norman James <njames@us.ibm.com>
Signed-off-by: Norman James <nkskjames@gmail.com>
---
meta-phosphor/classes/obmc-phosphor-image_types_uboot.bbclass | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/meta-phosphor/classes/obmc-phosphor-image_types_uboot.bbclass b/meta-phosphor/classes/obmc-phosphor-image_types_uboot.bbclass
index 14e9289..29dbb87 100644
--- a/meta-phosphor/classes/obmc-phosphor-image_types_uboot.bbclass
+++ b/meta-phosphor/classes/obmc-phosphor-image_types_uboot.bbclass
@@ -65,4 +65,13 @@ do_generate_flash() {
dstlink="${ddir}/${FLASH_IMAGE_LINK}"
rm -rf $dstlink
ln -sf ${FLASH_IMAGE_NAME} $dstlink
+
+ ln -sf ${FLASH_IMAGE_NAME} ${ddir}/image-bmc
+ ln -sf ${uboot} ${ddir}/image-u-boot
+ ln -sf ${kernel} ${ddir}/image-kernel
+ ln -sf ${uinitrd} ${ddir}/image-initramfs
+ ln -sf ${rootfs} ${ddir}/image-rofs
+
+ tar -h -cvf ${ddir}/${MACHINE}-${DATETIME}.all.tar -C ${ddir} image-bmc
+ tar -h -cvf ${ddir}/${MACHINE}-${DATETIME}.tar -C ${ddir} image-u-boot image-kernel image-initramfs image-rofs
}
--
2.6.4
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH openbmc] Create tarball of update files with correct names
2016-02-01 4:40 ` OpenBMC Patches
@ 2016-02-01 19:04 ` Brad Bishop
0 siblings, 0 replies; 3+ messages in thread
From: Brad Bishop @ 2016-02-01 19:04 UTC (permalink / raw)
To: OpenBMC Patches; +Cc: openbmc, Norman James
Reviewed-by: Brad Bishop <brad@bwbmail.net>
> On Jan 31, 2016, at 11:40 PM, OpenBMC Patches <openbmc-patches@stwcx.xyz> wrote:
>
> From: Norman James <njames@us.ibm.com>
>
> Signed-off-by: Norman James <nkskjames@gmail.com>
> ---
> meta-phosphor/classes/obmc-phosphor-image_types_uboot.bbclass | 9 +++++++++
> 1 file changed, 9 insertions(+)
>
> diff --git a/meta-phosphor/classes/obmc-phosphor-image_types_uboot.bbclass b/meta-phosphor/classes/obmc-phosphor-image_types_uboot.bbclass
> index 14e9289..29dbb87 100644
> --- a/meta-phosphor/classes/obmc-phosphor-image_types_uboot.bbclass
> +++ b/meta-phosphor/classes/obmc-phosphor-image_types_uboot.bbclass
> @@ -65,4 +65,13 @@ do_generate_flash() {
> dstlink="${ddir}/${FLASH_IMAGE_LINK}"
> rm -rf $dstlink
> ln -sf ${FLASH_IMAGE_NAME} $dstlink
> +
> + ln -sf ${FLASH_IMAGE_NAME} ${ddir}/image-bmc
> + ln -sf ${uboot} ${ddir}/image-u-boot
> + ln -sf ${kernel} ${ddir}/image-kernel
> + ln -sf ${uinitrd} ${ddir}/image-initramfs
> + ln -sf ${rootfs} ${ddir}/image-rofs
> +
> + tar -h -cvf ${ddir}/${MACHINE}-${DATETIME}.all.tar -C ${ddir} image-bmc
> + tar -h -cvf ${ddir}/${MACHINE}-${DATETIME}.tar -C ${ddir} image-u-boot image-kernel image-initramfs image-rofs
> }
> --
> 2.6.4
>
>
> _______________________________________________
> openbmc mailing list
> openbmc@lists.ozlabs.org
> https://lists.ozlabs.org/listinfo/openbmc
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2016-02-01 19:13 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-02-01 4:40 [PATCH openbmc] Create tarball of update files with correct names OpenBMC Patches
2016-02-01 4:40 ` OpenBMC Patches
2016-02-01 19:04 ` Brad Bishop
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.