All of lore.kernel.org
 help / color / mirror / Atom feed
From: Richard Purdie <richard.purdie@linuxfoundation.org>
To: Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com>
Cc: openembedded-core@lists.openembedded.org
Subject: Re: [PATCH 2/2] package_deb: Use apt-ftparchive
Date: Sun, 16 Mar 2014 23:01:12 +0000	[thread overview]
Message-ID: <1395010872.3808.16.camel@ted> (raw)
In-Reply-To: <1394717224-15283-2-git-send-email-ricardo.ribalda@gmail.com>

On Thu, 2014-03-13 at 14:27 +0100, Ricardo Ribalda Delgado wrote:
> Use apt-ftparchive to create a Release file compatible with SecureApt.
> 
> apt-ftparchive is not compatible with libpseudo. The calls to ftw()
> returns the path in absolute format instead of relative. This produces
> wrong Packages and Release files.
> 
> ie:
> MD5Sum:
> d20227a958f6870137ce0e41b7b84307             1453
> /home/ricardo/curro/qtec/qt5022/build-qt5022-cesium/build/tmp/deploy/deb/all/Release
> 
> This is why it is called with PSEUDO_UNLOAD.
> 
> apt-ftparchive is also a more efficient replacement of dpkg-scanpackages:
> 
> root@neopili:~/curro/qtec/qt5022/build-qt5022-cesium/build/tmp/deploy/deb/bobcat
> _64# time PSEUDO_UNLOAD=1 apt-ftparchive packages . >/tmp/kkk
> real 0m26.873s
> user 0m20.968s
> sys 0m1.212s
> 
> root@neopili:~/curro/qtec/qt5022/build-qt5022-cesium/build/tmp/deploy/deb/bobcat
> _64# time PSEUDO_UNLOAD=1 dpkg-scanpackages . >/tmp/kkk
> dpkg-scanpackages: info: Wrote 6022 entries to output Packages file.
> real 0m59.721s
> user 0m16.668s
> sys 0m11.164s
> 
> Signed-off-by: Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com>
> ---
>  meta/classes/package_deb.bbclass | 4 +++-
>  1 file changed, 3 insertions(+), 1 deletion(-)

This doesn't apply against master? What was this tested against?

Cheers,

Richard



  reply	other threads:[~2014-03-16 23:01 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-03-13 13:27 [PATCH 1/2] apt-native: Install apt-ftparchive Ricardo Ribalda Delgado
2014-03-13 13:27 ` [PATCH 2/2] package_deb: Use apt-ftparchive Ricardo Ribalda Delgado
2014-03-16 23:01   ` Richard Purdie [this message]
2014-03-17  7:59     ` Ricardo Ribalda Delgado
2014-03-17  8:30       ` Robert Yang
2014-03-17 12:28         ` Ricardo Ribalda Delgado

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1395010872.3808.16.camel@ted \
    --to=richard.purdie@linuxfoundation.org \
    --cc=openembedded-core@lists.openembedded.org \
    --cc=ricardo.ribalda@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.