From: Denys Dmytriyenko <[email protected]>
Signed-off-by: Denys Dmytriyenko <[email protected]>
---
meta-arago-distro/classes/image_types_md5.bbclass | 6 +++++-
meta-arago-distro/conf/distro/arago.conf | 2 +-
2 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/meta-arago-distro/classes/image_types_md5.bbclass
b/meta-arago-distro/classes/image_types_md5.bbclass
index dfae60d..9e2c04f 100644
--- a/meta-arago-distro/classes/image_types_md5.bbclass
+++ b/meta-arago-distro/classes/image_types_md5.bbclass
@@ -1,5 +1,9 @@
inherit image_types
COMPRESSIONTYPES += "gz.md5"
-COMPRESS_CMD_gz.md5 = "md5sum ${IMAGE_NAME}.rootfs.${type}.gz >
${IMAGE_NAME}.rootfs.${type}.gz.md5"
+COMPRESS_CMD_gz.md5 = "${COMPRESS_CMD_gz}; md5sum
${IMAGE_NAME}.rootfs.${type}.gz > ${IMAGE_NAME}.rootfs.${type}.gz.md5"
IMAGE_TYPES += "tar.gz.md5"
+
+COMPRESSIONTYPES += "xz.md5"
+COMPRESS_CMD_xz.md5 = "${COMPRESS_CMD_xz}; md5sum
${IMAGE_NAME}.rootfs.${type}.xz > ${IMAGE_NAME}.rootfs.${type}.xz.md5"
+IMAGE_TYPES += "tar.xz.md5"
diff --git a/meta-arago-distro/conf/distro/arago.conf
b/meta-arago-distro/conf/distro/arago.conf
index a967577..526e1a9 100644
--- a/meta-arago-distro/conf/distro/arago.conf
+++ b/meta-arago-distro/conf/distro/arago.conf
@@ -20,7 +20,7 @@ SDKPATH_REAL = "/usr/local/${SDK_NAME_PREFIX}-${SDK_VERSION}"
SDKPATH = "${@"/tmp/"+"x"*96+"/"+"y"*96}"
IMAGE_CLASSES += "image_types_md5"
-IMAGE_FSTYPES += "tar.gz.md5"
+IMAGE_FSTYPES += "tar.gz.md5 tar.xz.md5"
# Mask any broken recipes (currently none)
#BBMASK = ""
--
2.2.0
_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago