From: Michael Olbrich <m.olbrich@pengutronix.de>
To: ptxdist@pengutronix.de
Subject: Re: [ptxdist] rootfs: package
Date: Tue, 4 Dec 2018 11:40:25 +0100 [thread overview]
Message-ID: <20181204104025.o4bp4azqaczaxlym@pengutronix.de> (raw)
In-Reply-To: <CAA0ZWqY8n35wx=9p+E1Xcn_uYc3bZ5=Pb9MZ_iUwBpadZwjLhQ@mail.gmail.com>
On Tue, Dec 04, 2018 at 10:40:11AM +0100, Andreas Friesen wrote:
> Hi Michael.
>
> I compiled opkg for my host system (archlinux) with : "./configure ; make ;
> make install" and installed all packages from ptxdist without any errors:
> DESTDIR="/home/friesen/rootfs/rootfs" opkg -f
> "/home/friesen/rootfs/opkg.conf" -o "/home/friesen/rootfs/rootfs/" install
> /home/friesen/ptx-multi/platform-soc/packages/*.ipk
>
> but
>
> DESTDIR="/home/friesen/rootfs/rootfs"
> /home/friesen/gitlab/ptx-multi/platform-soc/sysroot-host/bin/opkg
> -f "/home/friesen/rootfs/opkg.conf" -o "/home/friesen/rootfs/rootfs/"
> install
> /home/friesen/gitlab/quantumx-master/projects/ppc/ptx-multi/platform-soc/packages/*,pkg
>
> produced this error:
>
> * check_data_file_clashes: Package rootfs wants to install file
> /home/faix/ptx-multi/platform-soc/build-target/image-nor-mxfs4/var/run
> But that path is currently a directory
>
> I finded out with try-and-error method, that opkg do not like "prefix= " !
Very strange. I don't see this issue here. Also, did you copy the correct
error message? The path there is not inside the specified DESTDIR. And is
var/run inside the generated rootfs an empty directory?
Also, calling opkg manually may work for other reasons: If rootfs is
installed before another package created the directory, then I think it
will just work.
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
next prev parent reply other threads:[~2018-12-04 10:40 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-11-29 7:35 Andreas Friesen
2018-12-03 22:38 ` Andreas Friesen
2018-12-04 7:50 ` Michael Olbrich
2018-12-04 9:40 ` Andreas Friesen
2018-12-04 10:40 ` Michael Olbrich [this message]
2018-12-04 11:47 ` Andreas Friesen
2018-12-04 11:53 ` Andreas Friesen
2018-12-04 11:58 ` Michael Olbrich
2018-12-04 12:47 ` Andreas Friesen
2018-12-04 12:58 ` Michael Olbrich
2018-12-04 13:25 ` Andreas Friesen
2018-12-04 13:39 ` Michael Olbrich
2018-12-05 6:32 ` Andreas Friesen
2018-12-04 7:49 ` Michael Olbrich
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=20181204104025.o4bp4azqaczaxlym@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