On Mon, Oct 08, 2018 at 02:03:21PM +0200, Alexander Dahl wrote:
> 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.

I can reproduce this. I broke this with the opkg-utils update. I'm working
on a fix.

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 via email to