summaryrefslogtreecommitdiffstats
path: root/scripts/genhdimg
Commit message (Collapse)AuthorAgeFilesLines
* Replace seq by the appropriate sequenceDaniel Kriesten2012-04-181-2/+2
| | | | | | | | | The seq command is not availabale on all systems. By replacing the (at least two) occurences of seq with the corresponding sequence the dependecy on seq is resolved. Signed-off-by: Daniel Kriesten <krid@tu-chemnitz.eu> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* genhdimg: write as little as possibleMichael Olbrich2011-03-171-90/+15
| | | | Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* image_hd: move adding the bootloader to a separate scriptMichael Olbrich2011-03-151-46/+76
| | | | Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* [genhdimg] Fixed a problem where genhdimg could generate a corrupt image fileGeorge McCollister2009-12-161-1/+13
| | | | | | | | | | | | | pad() wasn't always padding the output file to the correct length. On some machines dd wasn't reading full blocks which resulted in an incorrectly padded file. pad() now makes one call to dd to write the input file using conv=sync to pad to the nearest 512 byte boundry. Then dd is called again if additional 512 byte '\0' blocks are needed to meet the padding size. Signed-off-by: George McCollister <georgem@novatech-llc.com> Tested-by: George McCollister <georgem@novatech-llc.com> Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
* * scripts/genhdimg:Marc Kleine-Budde2008-11-071-1/+1
| | | | | | | | use "stat -c" rather then "stat --printf" which is not available in older stat versions git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-trunk@9097 33e552b5-05e3-0310-8538-816dae2090ed
* * genhdimg: remove trailing whitespaceRobert Schwebel2008-02-121-1/+1
| | | | git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-trunk@7738 33e552b5-05e3-0310-8538-816dae2090ed
* git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-trunk@6480 ↵Sascha Hauer2006-12-071-1/+1
| | | | 33e552b5-05e3-0310-8538-816dae2090ed
* allow to specify a partition definition on the command lineSascha Hauer2006-12-071-20/+111
| | | | git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-trunk@6474 33e552b5-05e3-0310-8538-816dae2090ed
* used wrong partition sizeSascha Hauer2006-11-281-1/+2
| | | | git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-trunk@6402 33e552b5-05e3-0310-8538-816dae2090ed
* almost rewrittenSascha Hauer2006-11-221-71/+25
| | | | git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-trunk@6361 33e552b5-05e3-0310-8538-816dae2090ed
* don't use mktemp -t, not supported on red hat. Found by mike wakerlyRobert Schwebel2006-03-141-1/+1
| | | | git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-0.10-trunk@5158 33e552b5-05e3-0310-8538-816dae2090ed
* added script to generate (flash-)disk images with ptxdistSascha Hauer2004-09-211-0/+100
git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-0.7.0-trunk@1780 33e552b5-05e3-0310-8538-816dae2090ed