From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from ptx.hi.pengutronix.de ([2001:67c:670:100:1d::c0] ident=Debian-exim) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1YORwJ-00050q-0K for ptxdist@pengutronix.de; Thu, 19 Feb 2015 15:18:51 +0100 Received: from mol by ptx.hi.pengutronix.de with local (Exim 4.80) (envelope-from ) id 1YORwI-0000uy-V2 for ptxdist@pengutronix.de; Thu, 19 Feb 2015 15:18:50 +0100 Date: Thu, 19 Feb 2015 15:18:50 +0100 From: Michael Olbrich Message-ID: <20150219141850.GN30223@pengutronix.de> References: <9BA84827B30CBE4996725F98F7DC91234290065F@SMExchange01.siebmeyer.org> <20150216103417.GC19943@pengutronix.de> <9BA84827B30CBE4996725F98F7DC912342900AED@SMExchange01.siebmeyer.org> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <9BA84827B30CBE4996725F98F7DC912342900AED@SMExchange01.siebmeyer.org> Subject: Re: [ptxdist] ext2.make:16: warning: overriding commands for target Reply-To: ptxdist@pengutronix.de List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Sender: ptxdist-bounces@pengutronix.de Errors-To: ptxdist-bounces@pengutronix.de To: ptxdist@pengutronix.de On Tue, Feb 17, 2015 at 08:23:22AM +0000, H=E4nel-Baas, Alexander wrote: > Hi Michael > = > Thank you for reply > = > But I have only changed the entry in ptxdist -> platformconfig -> image c= reation window. > No rules or other files was changed. > You see the message printed the original file under ptxdist-2014.10.0/rul= es/post/. > These files I have never touched?! rules/image-root-ext.make and rules/post/image_ext2.make both define a rule for root.ext2. However, both are inside an ifdef and only active if the corresponding option is enabled. The error occures if both options are enabled. Michael > I try ptxdist newpackage image-genimage, very good idea. I think that is = my way. > = > Best regards > Alexander > = > -----Urspr=FCngliche Nachricht----- > Von: ptxdist-bounces@pengutronix.de [mailto:ptxdist-bounces@pengutronix.d= e] Im Auftrag von Michael Olbrich > Gesendet: Montag, 16. Februar 2015 11:34 > An: ptxdist@pengutronix.de > Betreff: Re: [ptxdist] ext2.make:16: warning: overriding commands for tar= get > = > On Fri, Feb 13, 2015 at 06:45:52AM +0000, H=E4nel-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 l= ot 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 ptxdist@pengutronix.de