aboutsummaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorPaul Eggleton <paul.eggleton@linux.intel.com>2012-04-10 23:52:23 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-04-11 10:58:16 +0100
commit518f4af617f91b209086acb51454393147aa92dd (patch)
treef8a167c4f157ed1c9c2f18e99a91e76164221233 /meta
parentb30a6eb08640b25bb0b0530f51a8cb749de1c311 (diff)
downloadopenembedded-core-contrib-518f4af617f91b209086acb51454393147aa92dd.tar.gz
classes/package_deb: create .gz index instead of .bz2
apt is looking for Packages.gz files instead of the .bz2 files we are currently creating and failing when they cannot be found. It is not immediately obvious how to make the current version use the .bz2 indexes; thus create .gz indexes for now which allows us to successfully create images. Tested on both a Fedora 14 and an Ubuntu 11.10 host machine. Fixes [YOCTO #1858]. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/classes/package_deb.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/package_deb.bbclass b/meta/classes/package_deb.bbclass
index 9880258853..dc0f96366a 100644
--- a/meta/classes/package_deb.bbclass
+++ b/meta/classes/package_deb.bbclass
@@ -83,7 +83,7 @@ package_update_index_deb () {
continue;
fi
cd ${DEPLOY_DIR_DEB}/$arch
- dpkg-scanpackages . | bzip2 > Packages.bz2
+ dpkg-scanpackages . | gzip > Packages.gz
echo "Label: $arch" > Release
done
}