mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Alexander Dahl <ada@thorsis.com>
To: ptxdist@pengutronix.de
Subject: Re: [ptxdist] [ANNOUNCE] PTXdist 2018.10.0 released
Date: Mon, 08 Oct 2018 14:03:21 +0200	[thread overview]
Message-ID: <5049394.A8XEjiPAcj@ada> (raw)
In-Reply-To: <5310335.EiyOE3bkaf@ada>

Hei hei,

Am Montag, 8. Oktober 2018, 09:44:12 CEST schrieb Alexander Dahl:
> Am Freitag, 5. Oktober 2018, 16:21:40 CEST schrieb Michael Olbrich:
> > Note that the changes for the layer support where rather invasive. I've
> > tested this here intensively, but it's possible that I missed some
> > use-cases. Please test this release carefully and report any problems or
> > unexpected behaviour.
> 
> I got errors on target 'ipkg-push' when calling `ptxdist images`:
> 
> 
> creating index.....:
> Traceback (most recent call last):
>   File "/home/adahl/Work/bsp/FOO/platform-v7a/sysroot-host/bin/opkg-make-
> index", line 128, in <module>
>     pkg = opkg.Package(abspath, relpath=pkg_dir, all_fields=opt_f)
>   File "/home/adahl/Work/bsp/FOO/platform-v7a/sysroot-host/bin/opkg.py",
> line 183, in __init__
>     control = tarf.extractfile("./control")
>   File "/usr/lib/python2.7/tarfile.py", line 2145, in extractfile
>     tarinfo = self.getmember(member)
>   File "/usr/lib/python2.7/tarfile.py", line 1829, in getmember
>     raise KeyError("filename %r not found" % name)
> KeyError: "filename './control' not found"
> make: *** [/home/adahl/Work/bsp/FOO/platform-v7a/state/ipkg-push] Error 1
> /usr/local/lib/ptxdist-2018.10.0/rules/post/image_ipkg.make:19: recipe for
> target '/home/adahl/Work/bsp/FOO/platform-v7a/state/ipkg-push' failed

Because Roland asked on IRC, the output above is from a custom BSP, but I can 
also reproduce that on current DistroKit master (platform-v7a) with the 
following diff:

diff --git a/configs/platform-v7a/platformconfig b/configs/platform-v7a/
platformconfig
index 27fe3bb..04babd2 100644
--- a/configs/platform-v7a/platformconfig
+++ b/configs/platform-v7a/platformconfig
@@ -241,9 +241,11 @@ PTXCONF_IMAGE_VEXPRESS=y
 #
 # ipkg options
 #
-# PTXCONF_IMAGE_IPKG_PUSH_TO_REPOSITORY is not set
+PTXCONF_IMAGE_IPKG_PUSH_TO_REPOSITORY=y
+PTXCONF_IMAGE_IPKG_FORCED_PUSH=y
+# PTXCONF_IMAGE_IPKG_SIGN_OPENSSL is not set
 # PTXCONF_IMAGE_INSTALL_FROM_IPKG_REPOSITORY is not set
-# PTXCONF_IMAGE_IPKG_INDEX is not set
+PTXCONF_IMAGE_IPKG_INDEX=y
 PTXCONF_IMAGE_XPKG_EXTRA_ARGS=""
 # PTXCONF_HOST_ACL is not set
 # PTXCONF_HOST_ATTR is not set

I'm using opkg on the target and let my workstation serve packages with a 
webserver, which worked fine with ptxdist 2018.09.0. Ping me, if you need any 
additional information.

Greets
Alex


_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

  reply	other threads:[~2018-10-08 12:03 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-10-05 14:21 Michael Olbrich
2018-10-08  7:44 ` Alexander Dahl
2018-10-08 12:03   ` Alexander Dahl [this message]
2018-10-09 10:55     ` Michael Olbrich
2018-10-09 15:12       ` Michael Olbrich
2018-10-10  7:11         ` Alexander Dahl
2018-10-17 14:48 ` Tim Sander
2018-10-17 16:28   ` Roland Hieber

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=5049394.A8XEjiPAcj@ada \
    --to=ada@thorsis.com \
    --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