mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Michael Olbrich <m.olbrich@pengutronix.de>
To: ptxdist@pengutronix.de
Subject: Re: [ptxdist] ext2.make:16: warning: overriding commands for target
Date: Thu, 19 Feb 2015 15:18:50 +0100	[thread overview]
Message-ID: <20150219141850.GN30223@pengutronix.de> (raw)
In-Reply-To: <9BA84827B30CBE4996725F98F7DC912342900AED@SMExchange01.siebmeyer.org>

On Tue, Feb 17, 2015 at 08:23:22AM +0000, Hänel-Baas, Alexander wrote:
> 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?!

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üngliche Nachricht-----
> Von: ptxdist-bounces@pengutronix.de [mailto:ptxdist-bounces@pengutronix.de] 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 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
ptxdist@pengutronix.de

      reply	other threads:[~2015-02-19 14:18 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-02-13  6:45 Hänel-Baas, Alexander
2015-02-16 10:34 ` Michael Olbrich
2015-02-17  8:23   ` Hänel-Baas, Alexander
2015-02-19 14:18     ` 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=20150219141850.GN30223@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