Fix deb rootfs generation
cover Fix deb rootfs generation
The following change since commit bde1744018afd4616e114b20ffdc21b9abddcedc:
hello-mod: Move hello-mod from meta to meta-skeleton (2012-04-10 13:16:00 +0100)
is available in the git repository at:
git://git.openembedded.org/openembedded-core-contrib paule/apt
http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=paule/apt
Paul Eggleton (1):
classes/package_deb: create .gz index instead of .bz2
meta/classes/package_deb.bbclass | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
Signature · 1 line
1.7.5.4
PATCH 1/1 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].
--- meta/classes/package_deb.bbclass | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
meta/classes/package_deb.bbclass +1 -1
@@ -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 }
Signature · 1 line
1.7.5.4
Saul Wold
AppliedRe: [PATCH 1/1] classes/package_deb: create .gz index instead of .bz2
Quoted 20 lines · Paul Eggleton
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<[email protected]>--- meta/classes/package_deb.bbclass | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)meta/classes/package_deb.bbclass +0
-0
meta/classes/package_deb.bbclass package_update_index_deb () { · line 89
Quoted 8 lines
meta/classes/package_deb.bbclass +1
-1@@ -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!