From 518f4af617f91b209086acb51454393147aa92dd Mon Sep 17 00:00:00 2001 From: Paul Eggleton Date: Tue, 10 Apr 2012 23:52:23 +0100 Subject: 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 Signed-off-by: Richard Purdie --- meta/classes/package_deb.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'meta/classes/package_deb.bbclass') diff --git a/meta/classes/package_deb.bbclass b/meta/classes/package_deb.bbclass index 988025885..dc0f96366 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 } -- cgit v1.2.3