public inbox for openembedded-core@lists.openembedded.org
 help / color / mirror / Atom feed
From: Marco <koansoftware@gmail.com>
To: Paul Barker <paul@paulbarker.me.uk>
Cc: openembedded-core@lists.openembedded.org
Subject: Re: Upgrade to a package with all its dependency without network
Date: Wed, 07 May 2014 09:54:41 +0200	[thread overview]
Message-ID: <5369E6C1.2090907@gmail.com> (raw)
In-Reply-To: <20140505152931.GA26865@gmail.com>

Il 05/05/2014 17:29, Paul Barker ha scritto:
> On Mon, May 05, 2014 at 04:16:46PM +0200, Marco wrote:
>> Hello,
>> I need to be able to upgrade to a package with all its dependency chain on a
>> target system that does not have access to the network.
>>
>> I'm trying to understand what may be the best and also the simplest
>> solution.
>> Perhaps there is already this functionality in OE/Yocto?
>>
>> I thought to implement a new opkg feture so that I can to generate the list
>> of dependencies of a package and then extract the packages from OE/Yocto
>> using a script or an application.
>
> opkg v0.2.x (the latest release series) doesn't really support this behaviour
> very well. The caching logic just doesn't work. For example, I have a board
> connected at the minute with a feed configured so I tried this:
>
>      opkg install --download-only ncurses-terminfo
>      ifdown eth0
>      opkg install ncurses-terminfo
>
> You'd hope that would pick up the package files from the cache but it doesn't.
> So even if you put the files there yourself, you may no have a simple way to
> install them.
>
> An interim solution I can see is to put all the packages you want in one
> directory then run 'opkg-make-index' from opkg-utils on that directory so that
> it is a complete package feed. Then add that as a source in
> /etc/opkg/base-feeds.conf.
>

Hi Paul,
thank you for answering.

This is exactly the main problem, how to extract all the packages I (or 
I should say the package itself) want, in one directory.
Would be possible to extend opkg with this feature?

Cheers
--
Marco Cavallini | KOAN sas | Bergamo - Italia



  reply	other threads:[~2014-05-07  7:54 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-05-05 14:16 Upgrade to a package with all its dependency without network Marco
2014-05-05 15:29 ` Paul Barker
2014-05-07  7:54   ` Marco [this message]
2014-05-07 11:31     ` Paul Barker

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=5369E6C1.2090907@gmail.com \
    --to=koansoftware@gmail.com \
    --cc=openembedded-core@lists.openembedded.org \
    --cc=paul@paulbarker.me.uk \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox