On 04/10/2012 03:52 PM, Paul Eggleton wrote:
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.eggle...@linux.intel.com>
---
  meta/classes/package_deb.bbclass |    2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/meta/classes/package_deb.bbclass b/meta/classes/package_deb.bbclass
index 9880258..dc0f963 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
  }

Merged into OE-Core

Thanks
        Sau!


_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core

Reply via email to