mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Michael Olbrich <m.olbrich@pengutronix.de>
To: ptxdist@pengutronix.de
Subject: Re: [ptxdist] opkg: wget/curl dependencies
Date: Fri, 13 Jun 2014 08:11:35 +0200	[thread overview]
Message-ID: <20140613061135.GE23595@pengutronix.de> (raw)
In-Reply-To: <244f27ed76ffbc8a46236c86fff748e4@idefix.lespocky.dyndns.org>

Hi,

On Thu, Jun 12, 2014 at 02:18:11PM +0200, Alexander Dahl wrote:
> while testing some things with wget I noticed it's possible to configure
> ptxdist in a way opkg on the target get's useless. I can unset all of
> BUSYBOX_WGET, WGET and OPKG_CURL so opkg can not fetch lists and
> packages anymore.

Well, you can still install packages provided e.g. with a USB stick, or
something like that.

> I played with the "select" statement of kconfig but
> couldn't figure out a way to set a dependency like "any of those three
> but at least one" (which is probably even more complicated because both
> wget variants exclude each other). Is it possible to handle such
> dependencies with kconfig and how?

maybe something like this:

config OPKG_DOWNLOAD
	bool
	prompt "make sure opkg can download something"
	select WGET if RUNTIME && !OPKG_CURL && !BUSYBOX_WGET

Michael

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

-- 
ptxdist mailing list
ptxdist@pengutronix.de

      reply	other threads:[~2014-06-13  6:11 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-06-12 12:18 Alexander Dahl
2014-06-13  6:11 ` Michael Olbrich [this message]

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=20140613061135.GE23595@pengutronix.de \
    --to=m.olbrich@pengutronix.de \
    --cc=ptxdist@pengutronix.de \
    /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