From: Michael Olbrich <m.olbrich@pengutronix.de>
To: ptxdist@pengutronix.de
Subject: Re: [ptxdist] rootfs: package
Date: Tue, 4 Dec 2018 08:49:17 +0100 [thread overview]
Message-ID: <20181204074917.cxkfi5zuswzrsa4w@pengutronix.de> (raw)
In-Reply-To: <CAA0ZWqbvs+ShSoMRm=QzLMcuO45fTLbemeSjdQ9qX=Amxk+qiQ@mail.gmail.com>
On Thu, Nov 29, 2018 at 08:35:09AM +0100, Andreas Friesen wrote:
> ...
> Hello everyone,
>
> I migrated my project from 2017.05.0 to 2018.11.0 without any troubles, but
> "ptxdist images" has a problem with rootfs package. Options
> PTXCONF_ROOTFS_RUN=y
> PTXCONF_ROOTFS_VAR_RUN=y are active and I don't have any packages, which
> install /run or /var/run as a directory. I checked all packages with
> manually extract with :
> ar x $package ; tar -xf ./data.tar.gz ;
>
> rootfs_1.0.0_armhf.ipk
> ...
> drwx------ 2 40 Nov 1 01:00 root
> drwxr-xr-x 2 40 Nov 1 01:00 run
> drwxr-xr-x 2 40 Nov 1 01:00 sys
> ...
> drwxr-xr-x 2 40 Nov 1 01:00 var/log
> lrwxrwxrwx 1 6 Nov 1 01:00 var/run -> ../run
> drwxr-xr-x 2 40 Nov 1 01:00 var/tmp
>
> also, rootfs package looks great for me, but what is wrong with "ptxdist
> images"
> ...
> Installing usr-rootfs (1.0) on root.
> InstallinCollected errors:
> * 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
> * opkg_solver_install: Cannot install package rootfs.
> g luacjson (1.0.0) on root.
> ....
> Installing rootfs (1.0.0) on root.
> To remove package debris, try `opkg remove rootfs`.
> To re-attempt the install, try `opkg install rootfs`.
> ...
> Configuring libndp.
> make: *** [/home/faix/ptx-multi/rules/image-ubifs-mxfs4.make:12:
> /home/ffaix/ptx-multi/platform-soc/images/root-mxfs4.ubifs] Error 255
I think build-target/image-nor-mxfs4/ should still contain the image
content if image creation fails. Is /var/run empty there?
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
prev parent reply other threads:[~2018-12-04 7:49 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
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 [this message]
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=20181204074917.cxkfi5zuswzrsa4w@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