From: Denys Dmytriyenko <[email protected]>

Signed-off-by: Denys Dmytriyenko <[email protected]>
---
 meta-arago-distro/classes/tisdk-image.bbclass                    | 6 +++---
 meta-arago-distro/recipes-core/images/arago-core-tisdk-image.inc | 5 +++--
 meta-arago-distro/recipes-core/images/arago-test-image.bb        | 2 +-
 3 files changed, 7 insertions(+), 6 deletions(-)

diff --git a/meta-arago-distro/classes/tisdk-image.bbclass 
b/meta-arago-distro/classes/tisdk-image.bbclass
index 9a7c7e8..78393ce 100644
--- a/meta-arago-distro/classes/tisdk-image.bbclass
+++ b/meta-arago-distro/classes/tisdk-image.bbclass
@@ -40,7 +40,7 @@ TISDK_TOOLCHAIN ?= "meta-toolchain-arago"
 TOOLCHAIN_SUFFIX ?= "-sdk"
 
 # List of the type of target file system images we want to include
-TARGET_IMAGE_TYPES ?= "tar.bz2 tar.gz ubi"
+TARGET_IMAGE_TYPES ?= "tar.xz tar.gz ubi"
 
 # If EXTRA_TISDK_FILES points to a valid directory then all the contents
 # of that directory will be added to the SDK using the same directory
@@ -411,9 +411,9 @@ sw_manifest_target() {
     for image in ${TARGET_IMAGES}
     do
         # Only extract tar.gz or tar.bz2 types
-        if [ -e ${IMAGE_ROOTFS}/filesystem/${image}-${MACHINE}.tar.bz2 ]
+        if [ -e ${IMAGE_ROOTFS}/filesystem/${image}-${MACHINE}.tar.xz ]
         then
-            tar xjf ${IMAGE_ROOTFS}/filesystem/${image}-${MACHINE}.tar.bz2 -C 
${IMAGE_ROOTFS}/filesystem --wildcards *.control
+            tar xJf ${IMAGE_ROOTFS}/filesystem/${image}-${MACHINE}.tar.xz -C 
${IMAGE_ROOTFS}/filesystem --wildcards *.control
         elif [ -e ${IMAGE_ROOTFS}/filesystem/${image}-${MACHINE}.tar.gz ]
         then
             tar xzf ${IMAGE_ROOTFS}/filesystem/${image}-${MACHINE}.tar.gz -C 
${IMAGE_ROOTFS}/filesystem --wildcards *.control
diff --git a/meta-arago-distro/recipes-core/images/arago-core-tisdk-image.inc 
b/meta-arago-distro/recipes-core/images/arago-core-tisdk-image.inc
index c8afb0e..806644c 100644
--- a/meta-arago-distro/recipes-core/images/arago-core-tisdk-image.inc
+++ b/meta-arago-distro/recipes-core/images/arago-core-tisdk-image.inc
@@ -3,7 +3,8 @@
 LICENSE = "MIT"
 LIC_FILES_CHKSUM = 
"file://${COREBASE}/LICENSE;md5=4d92cd373abda3937c2bc47fbc49d690"
 
-IMAGE_FSTYPES = "tar.gz"
+IMAGE_FSTYPES = "tar.xz"
+IMAGE_NAME_SUFFIX = ""
 
 inherit tisdk-image
 
@@ -15,7 +16,7 @@ HOST_CLEANUP_PACKAGES = ""
 TOOLCHAIN_CLEANUP_PACKAGES = "libgnutls-dev libgnutls-extra26 
libgnutls-openssl27 libtasn1-dev"
 
 # Set DTB filters for each machine.  Use "unknown" by default to avoid
-# picking up DTB files for devices with not DTB support.
+# picking up DTB files for devices with no DTB support.
 DTB_FILTER = "unknown"
 DTB_FILTER_ti33x = "am335x"
 DTB_FILTER_omap5-evm = "omap5"
diff --git a/meta-arago-distro/recipes-core/images/arago-test-image.bb 
b/meta-arago-distro/recipes-core/images/arago-test-image.bb
index 403041f..911e9b8 100644
--- a/meta-arago-distro/recipes-core/images/arago-test-image.bb
+++ b/meta-arago-distro/recipes-core/images/arago-test-image.bb
@@ -5,7 +5,7 @@ LIC_FILES_CHKSUM = 
"file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3
 
 require arago-image.inc
 
-IMAGE_FSTYPES = "tar.gz ext2.gz"
+IMAGE_FSTYPES = "tar.xz"
 
 IMAGE_INSTALL += "\
     packagegroup-arago-base \
-- 
2.7.4

_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago

Reply via email to