summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Oberritter <obi@opendreambox.org>2014-09-03 00:38:18 +0200
committerAndreas Oberritter <obi@opendreambox.org>2015-02-23 17:15:52 +0100
commitf780a10f8f7d1a169980abfe3120b4a03700f0f7 (patch)
treed05381a79a507b95c5c316c5a773d7d460b386db
parente6c8cb24da0d9763f2d42f9a5dd85ffafea8f186 (diff)
downloadopenembedded-core-contrib-f780a10f8f7d1a169980abfe3120b4a03700f0f7.tar.gz
openembedded-core-contrib-f780a10f8f7d1a169980abfe3120b4a03700f0f7.tar.bz2
openembedded-core-contrib-f780a10f8f7d1a169980abfe3120b4a03700f0f7.zip
package_deb.bbclass: create Packages.xz
apt-get prefers it over Packages.gz. Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
-rw-r--r--meta/classes/package_deb.bbclass1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/classes/package_deb.bbclass b/meta/classes/package_deb.bbclass
index 80d860b686..980c81d8aa 100644
--- a/meta/classes/package_deb.bbclass
+++ b/meta/classes/package_deb.bbclass
@@ -52,6 +52,7 @@ package_update_index_deb () {
cd ${DEPLOY_DIR_DEB}/$arch
PSEUDO_UNLOAD=1 apt-ftparchive packages . > Packages
gzip -fc Packages > Packages.gz
+ xz -fc Packages > Packages.xz
echo "Label: $arch" > Release
PSEUDO_UNLOAD=1 apt-ftparchive release . >> Release
found=1