Patchwork package_ipk: don't generate Packages.filelist

login
register
mail settings
Submitter Martin Jansa
Date April 5, 2012, 9:21 a.m.
Message ID <1333617674-32640-1-git-send-email-Martin.Jansa@gmail.com>
Download mbox | patch
Permalink /patch/25187/
State Accepted
Commit ad77d367e1526a805c383ce20f8f81ef3082c3d8
Headers show

Comments

Martin Jansa - April 5, 2012, 9:21 a.m.
* it works only with 'new' packages and with fixed opkg-utils it will unpack
  *all* packages, because filelist doesn't support 'cache' like Packages does

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
---
 meta/classes/package_ipk.bbclass |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
Saul Wold - April 6, 2012, 3:17 a.m.
On 04/05/2012 02:21 AM, Martin Jansa wrote:
> * it works only with 'new' packages and with fixed opkg-utils it will unpack
>    *all* packages, because filelist doesn't support 'cache' like Packages does
>
> Signed-off-by: Martin Jansa<Martin.Jansa@gmail.com>
> ---
>   meta/classes/package_ipk.bbclass |    2 +-
>   1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/meta/classes/package_ipk.bbclass b/meta/classes/package_ipk.bbclass
> index e4a217b..e7d038f 100644
> --- a/meta/classes/package_ipk.bbclass
> +++ b/meta/classes/package_ipk.bbclass
> @@ -214,7 +214,7 @@ package_update_index_ipk () {
>   	for pkgdir in $packagedirs; do
>   		if [ -e $pkgdir/ ]; then
>   			touch $pkgdir/Packages
> -			flock $pkgdir/Packages.flock -c "opkg-make-index -r $pkgdir/Packages -p $pkgdir/Packages -l $pkgdir/Packages.filelist -m $pkgdir/"
> +			flock $pkgdir/Packages.flock -c "opkg-make-index -r $pkgdir/Packages -p $pkgdir/Packages -m $pkgdir/"
>   		fi
>   	done
>   }

Merged into OE-Core

Thanks
	Sau!

Patch

diff --git a/meta/classes/package_ipk.bbclass b/meta/classes/package_ipk.bbclass
index e4a217b..e7d038f 100644
--- a/meta/classes/package_ipk.bbclass
+++ b/meta/classes/package_ipk.bbclass
@@ -214,7 +214,7 @@  package_update_index_ipk () {
 	for pkgdir in $packagedirs; do
 		if [ -e $pkgdir/ ]; then
 			touch $pkgdir/Packages
-			flock $pkgdir/Packages.flock -c "opkg-make-index -r $pkgdir/Packages -p $pkgdir/Packages -l $pkgdir/Packages.filelist -m $pkgdir/"
+			flock $pkgdir/Packages.flock -c "opkg-make-index -r $pkgdir/Packages -p $pkgdir/Packages -m $pkgdir/"
 		fi
 	done
 }