image-overlay.bbclass: Restore deploying the intermediate files
Restore deploying the intermediate image-* files used for the tar
image generation per issue request as some processes were built
around them and for the convenience of some users.
Resolves openbmc/openbmc#2116
Change-Id: I206cb1895ad8ab1a8cdb1266a85a464108195c5c
Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
diff --git a/classes/image-overlay.bbclass b/classes/image-overlay.bbclass
index 1e2105c..443c271 100644
--- a/classes/image-overlay.bbclass
+++ b/classes/image-overlay.bbclass
@@ -63,6 +63,12 @@
# Maintain a number of non-standard name legacy links.
ln -sf $flash ${IMGDEPLOYDIR}/flash-${MACHINE}
+ ln -sf $flash ${IMGDEPLOYDIR}/image-bmc
+ ln -sf $uboot ${IMGDEPLOYDIR}/image-u-boot
+ ln -sf $kernel ${IMGDEPLOYDIR}/image-kernel
+ ln -sf $rootfs ${IMGDEPLOYDIR}/image-rofs
+ cp ${S}/$rwfs ${IMGDEPLOYDIR}/$rwfs
+ ln -sf $rwfs ${IMGDEPLOYDIR}/image-rwfs
}
make_overlay_tars() {