mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] opkg: wget/curl dependencies
@ 2014-06-12 12:18 Alexander Dahl
  2014-06-13  6:11 ` Michael Olbrich
  0 siblings, 1 reply; 2+ messages in thread
From: Alexander Dahl @ 2014-06-12 12:18 UTC (permalink / raw)
  To: PTXdist Developer Mailinglist

Hei hei, 

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. 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?

Greets
Alex

-- 
»With the first link, the chain is forged. The first speech censured,
the first thought forbidden, the first freedom denied, chains us all
irrevocably.« (Jean-Luc Picard, quoting Judge Aaron Satie)
*** GnuPG-FP: 02C8 A590 7FE5 CA5F 3601  D1D5 8FBA 7744 CC87 10D0 ***

-- 
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [ptxdist] opkg: wget/curl dependencies
  2014-06-12 12:18 [ptxdist] opkg: wget/curl dependencies Alexander Dahl
@ 2014-06-13  6:11 ` Michael Olbrich
  0 siblings, 0 replies; 2+ messages in thread
From: Michael Olbrich @ 2014-06-13  6:11 UTC (permalink / raw)
  To: ptxdist

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-06-13  6:11 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-06-12 12:18 [ptxdist] opkg: wget/curl dependencies Alexander Dahl
2014-06-13  6:11 ` Michael Olbrich

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox