summaryrefslogtreecommitdiffstats
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 12:08:14 +0100
commit91a77020eb175000847e493ec30196aba9fb11f2 (patch)
tree71943dce6666ad49737c6cb6cfd6d3047c7ceb71
parent0dca188d2d1a453b15d6e896cbde8e07979a37c2 (diff)
downloadpoky-91a77020eb175000847e493ec30196aba9fb11f2.tar.gz
poky-91a77020eb175000847e493ec30196aba9fb11f2.tar.bz2
poky-91a77020eb175000847e493ec30196aba9fb11f2.zip
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]. (From OE-Core rev: 518f4af617f91b209086acb51454393147aa92dd) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-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
}