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>
This commit is contained in:
Paul Eggleton authored and Richard Purdie committed 2012-04-11 12:08:14 +01:00
1 parent 0dca188d2d
commit 91a77020eb
1 file changed
+1 -1
+1 -1
View File
@@ -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
}