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
[email protected]

Reply via email to