Skip to content

Commit

Permalink
Create tarball of update files with correct names
Browse files Browse the repository at this point in the history
Signed-off-by: Norman James <nkskjames@gmail.com>
  • Loading branch information
nkskjames committed Feb 1, 2016
1 parent a5360ea commit b7bc04b
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions meta-phosphor/classes/obmc-phosphor-image_types_uboot.bbclass
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

0 comments on commit b7bc04b

Please sign in to comment.