Skip to contentSkip to conversation

arago-amsdk-image: use gz compression instead of bz2

PATCH New Chase Maupin 1 participant 2 messages Nov 15, 2012

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 arago-amsdk-image: use gz compression instead of bz2

* Use gzip compression instead of bzip2 to save on extraction time.
* This has a tradeoff in file size but using bz2 takes too long to extract on many systems leading to a slow installation.

---
 .../recipes-core/images/arago-amsdk-image.bb       |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
meta-arago-distro/recipes-core/images/arago-amsdk-image.bb +1 -1
index ccb25b1..9ce7754 100644
@@ -1,7 +1,7 @@
 LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58"
 
-IMAGE_FSTYPES = "tar.bz2"
+IMAGE_FSTYPES = "tar.gz"
 
 inherit tisdk-image
 
Signature · 1 line
1.7.0.4
#1 lore raw

PATCH 2/2 tisdk-image: Package gz file systems by default

* Allow packaging tar.gz files as well for the root file system if they exist.
* Usually only one tar.gz or tar.bz2 should be set to build but if both are there they will get packaged. To set one or the other you should set IMAGE_FSTYPES in the machine.conf file for your machine.

---
 meta-arago-distro/classes/tisdk-image.bbclass |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
meta-arago-distro/classes/tisdk-image.bbclass +1 -1
index 916baa9..bbccdc4 100644
@@ -37,7 +37,7 @@ TISDK_TOOLCHAIN_PATH ?= "linux-devkit"
 TISDK_TOOLCHAIN ?= "meta-toolchain-arago"
 
 # List of the type of target file system images we want to include
-TARGET_IMAGE_TYPES ?= "tar.bz2 ubi"
+TARGET_IMAGE_TYPES ?= "tar.bz2 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
Signature · 1 line
1.7.0.4