mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Alexander Dahl <post@lespocky.de>
To: ptxdist@pengutronix.de
Subject: Re: [ptxdist] [ANNOUNCE] PTXdist 2015.12.0 released
Date: Mon, 21 Dec 2015 19:09:08 +0100	[thread overview]
Message-ID: <5956ea45a4ca85ba2b41df84468f6cbf@localhost> (raw)
In-Reply-To: <20151218112036.GB16294@pengutronix.de>

Hei hei, 

Am 2015-12-18 12:20, schrieb Michael Olbrich:
>       opkg: version bump 0.2.2 -> 0.3.0

Tested ptxdist 2015.12.0 today and ran into problems with opkg. Firts
noticed this on executing opkg on the target:

$ opkg update
Downloading
http://ada/ipkg-repository/***/dists/***-v2015.11.0-00173-g29ec7212f51b-dirty/Packages.
Downloading
http://ada/ipkg-repository/***/dists/***-Lite-v2015.11.0-00173-g29ec7212f51b-dirty/Packages.sig.
wget: server returned error: HTTP/1.1 404 Not Found
Collected errors:
 * opkg_download_backend: Failed to download
http://ada/ipkg-repository/***/dists/***-v2015.11.0-00173-g29ec7212f51b-dirty/Packages.sig,
wget returned 1.
 * pkg_src_download_signature: Failed to download signature for ptxdist.

Then I went to ptxdist menuconfig and checked my opkg options which were
just migrated from v2015.10.0:

% grep -i opkg configs/ptxconfig
PTXCONF_HOST_PACKAGE_MANAGEMENT_OPKG=y
PTXCONF_HOST_PACKAGE_MANAGEMENT="opkg"
PTXCONF_HOST_OPKG_UTILS=y
PTXCONF_HOST_OPKG=y
PTXCONF_OPKG=y
# PTXCONF_OPKG_CURL is not set
# PTXCONF_OPKG_SHA256 is not set
# PTXCONF_OPKG_OPENSSL is not set
# PTXCONF_OPKG_SSL_CURL is not set
PTXCONF_OPKG_OPKG_CONF=y
PTXCONF_OPKG_OPKG_CONF_HOST="ada"
PTXCONF_OPKG_OPKG_CONF_URL="src ptxdist
http://${PTXCONF_OPKG_OPKG_CONF_HOST}/ipkg-repository/${PTXCONF_PROJECT}/dists/${PTXCONF_PROJECT}${PTXCONF_PROJECT_VERSION}"

This is what still worked with ptxdist 2015.10.0 and now does not
anymore. I checked the prepare stage:

./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var
--libdir=/usr/lib --host=arm-v5te-linux-gnueabi
--build=x86_64-host-linux-gnu --enable-largefile --disable-static
--disable-libopkg-api --disable-pathfinder --disable-curl
--disable-sha256 --disable-openssl --disable-ssl-curl --disable-gpg

Then I poked around in the opkg source and it seems like verify is
mandatory and the only allowed options are gpg, gpg-asc, and openssl. My
/etc/opkg/opkg.conf is the one prepared by ptxdist:

option check_signature 0
#option signature_ca_path /etc/ssl/certs
#option signature_ca_file /etc/ssl/certs/opkg.crt

The check_signature 0 option does not work. Neither do these:

option signature_type none
option check_pkg_signature 0

So, I guess I have to use openssl signatures now, because the gpg stuff
is marked broken, right? How do those work and do I find some
documentation on how to set it up?

Or go back to opkg 0.2.x?

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

  reply	other threads:[~2015-12-21 18:09 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-12-18 11:20 Michael Olbrich
2015-12-21 18:09 ` Alexander Dahl [this message]
2015-12-22 11:42   ` [ptxdist] setting up opkg with ptxdist 2015.12.0 (Was: [ANNOUNCE] PTXdist 2015.12.0 released) Alexander Dahl
2016-01-11 12:10     ` [ptxdist] setting up opkg with ptxdist 2015.12.0 Alexander Dahl
2016-01-12 13:47       ` Tim Sander
2016-01-12 16:21       ` Michael Olbrich
2016-01-12 16:44     ` [ptxdist] setting up opkg with ptxdist 2015.12.0 (Was: [ANNOUNCE] PTXdist 2015.12.0 released) Michael Olbrich
2016-01-12 16:31   ` [ptxdist] [ANNOUNCE] PTXdist 2015.12.0 released Michael Olbrich
2016-08-02  8:44     ` Alexander Dahl

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=5956ea45a4ca85ba2b41df84468f6cbf@localhost \
    --to=post@lespocky.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