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 1YNJ0L-0001Sm-7x for ptxdist@pengutronix.de; Mon, 16 Feb 2015 11:34:17 +0100 Received: from mol by ptx.hi.pengutronix.de with local (Exim 4.80) (envelope-from ) id 1YNJ0L-0007pG-6T for ptxdist@pengutronix.de; Mon, 16 Feb 2015 11:34:17 +0100 Date: Mon, 16 Feb 2015 11:34:17 +0100 From: Michael Olbrich Message-ID: <20150216103417.GC19943@pengutronix.de> References: <9BA84827B30CBE4996725F98F7DC91234290065F@SMExchange01.siebmeyer.org> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <9BA84827B30CBE4996725F98F7DC91234290065F@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 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 co= mmands 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 fi= les, 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 ptxdist@pengutronix.de