* [ptxdist] ext2.make:16: warning: overriding commands for target
@ 2015-02-13 6:45 Hänel-Baas, Alexander
2015-02-16 10:34 ` Michael Olbrich
0 siblings, 1 reply; 4+ messages in thread
From: Hänel-Baas, Alexander @ 2015-02-13 6:45 UTC (permalink / raw)
To: ptxdist
[-- Attachment #1.1: Type: text/plain, Size: 474 bytes --]
Hi
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"
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 best regards
Alexander Hänel-Baas
[-- Attachment #1.2: Type: text/html, Size: 3533 bytes --]
[-- Attachment #2: Type: text/plain, Size: 48 bytes --]
--
ptxdist mailing list
ptxdist@pengutronix.de
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [ptxdist] ext2.make:16: warning: overriding commands for target
2015-02-13 6:45 [ptxdist] ext2.make:16: warning: overriding commands for target Hänel-Baas, Alexander
@ 2015-02-16 10:34 ` Michael Olbrich
2015-02-17 8:23 ` Hänel-Baas, Alexander
0 siblings, 1 reply; 4+ messages in thread
From: Michael Olbrich @ 2015-02-16 10:34 UTC (permalink / raw)
To: ptxdist
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [ptxdist] ext2.make:16: warning: overriding commands for target
2015-02-16 10:34 ` Michael Olbrich
@ 2015-02-17 8:23 ` Hänel-Baas, Alexander
2015-02-19 14:18 ` Michael Olbrich
0 siblings, 1 reply; 4+ messages in thread
From: Hänel-Baas, Alexander @ 2015-02-17 8:23 UTC (permalink / raw)
To: ptxdist
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: 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
--
ptxdist mailing list
ptxdist@pengutronix.de
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [ptxdist] ext2.make:16: warning: overriding commands for target
2015-02-17 8:23 ` Hänel-Baas, Alexander
@ 2015-02-19 14:18 ` Michael Olbrich
0 siblings, 0 replies; 4+ messages in thread
From: Michael Olbrich @ 2015-02-19 14:18 UTC (permalink / raw)
To: ptxdist
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
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2015-02-19 14:18 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-02-13 6:45 [ptxdist] ext2.make:16: warning: overriding commands for target 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 is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox