]> code.ossystems Code Review - openembedded-core.git/commitdiff
classes/package_deb: create .gz index instead of .bz2
authorPaul Eggleton <paul.eggleton@linux.intel.com>
Tue, 10 Apr 2012 22:52:23 +0000 (23:52 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 11 Apr 2012 09:58:16 +0000 (10:58 +0100)
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>
meta/classes/package_deb.bbclass

index 9880258853f4e36029a6680084f1e1a3a78f4a11..dc0f96366af504dedc0195479c6795eb33d198bc 100644 (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
 }