Hi Michael Thank you for reply
But I have only changed the entry in ptxdist -> platformconfig -> image creation window. No rules or other files was changed. You see the message printed the original file under ptxdist-2014.10.0/rules/post/. These files I have never touched?! I try ptxdist newpackage image-genimage, very good idea. I think that is my way. Best regards Alexander -----Ursprüngliche Nachricht----- Von: [email protected] [mailto:[email protected]] Im Auftrag von Michael Olbrich Gesendet: Montag, 16. Februar 2015 11:34 An: [email protected] Betreff: Re: [ptxdist] ext2.make:16: warning: overriding commands for target On Fri, Feb 13, 2015 at 06:45:52AM +0000, Hänel-Baas, Alexander wrote: > I change the image creation option under ptxdist platformconfig -> > image creation -> generates images/hd.img an now i get the message: > "ptxdist-2014.10.0/ rules/post/image_ext2.make:16: warning: overriding > commands for target" You're mixing the 'old' and 'new' image rules. That does not work. > I would like to create a further partition in the hd.img . > The best solution for me is a filesystem that contains directories and files, > such as projectroot. > > How I can di this in ptxdist? With the 'new' image creation rules you can do this, but there is not a lot of documentation. You can define a new image with 'ptxdist newpackage image-genimage'. Look at rules/image-*.make (and config/images/) for examples. The input data is usually a tarball. 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] -- ptxdist mailing list [email protected]
