summaryrefslogtreecommitdiff
path: root/mkimage.sh
Commit message (Collapse)AuthorAgeFilesLines
* tar: add -h option to extractionRichard Maw2012-03-161-1/+1
| | | | | | This should stop tar from replacing symbolic links with directories and instead follow the symbolic links, extracting the files into the linked directories
* Install mbr.bin from one of many placesLars Wirzenius2012-03-061-1/+10
|
* Fix hole creation to use a small bufferLars Wirzenius2012-03-061-1/+1
| | | | | dd does not need to allocate a buffer, but it evidently does, and this fails on ARM boards. Using a small buffer is no problem, of course.
* Replace install-mbr with the MBR boot loader from extlinuxLars Wirzenius2012-03-051-2/+2
|
* Revert "Do not use mbr as the bootloader, since extlinux is sufficient"Lars Wirzenius2012-03-051-0/+3
| | | | | | This reverts commit 8ea6a052f432000c00394cb6ee2324abe8b7c72b. Bad testing on my part, sorry.
* Do not use mbr as the bootloader, since extlinux is sufficientLars Wirzenius2012-03-051-3/+0
|
* Replace use of parted with sfdisk.Lars Wirzenius2012-03-051-11/+21
| | | | Add some inline documentation of what's happening.
* Add copyright license to scriptLars Wirzenius2012-03-051-0/+14
|
* Do without kpartx and remove use of sudoLars Wirzenius2012-03-051-19/+66
| | | | | | | | | | | These two changes accidentally got intermingled, oops. kpartx is a nice tool, but it's not necessary: we can just use losetup and sfdisk and do things ourselves. Almost nothing the script does works as a normal user, so it's not a good idea to sprinkle the code with calls to sudo. Instead, we'll just require the caller to run it as root.
* Use dd to create an image file, instead of qemu-imgLars Wirzenius2012-03-051-1/+1
| | | | | | | We don't want to have to add all of qemu to Baserock, just for qemu-img. Since we use a raw disk image file type, we can just create a big file full of zeroes, and the best way to do that is to create a giant hole. dd can do that.
* Make ./check check for long lines (with excptions); fix long linesLars Wirzenius2012-02-271-1/+3
|
* Expand TAB characters and make check check for themLars Wirzenius2012-02-271-3/+3
|
* mkimage.sh: add scriptRichard Maw2012-02-271-0/+50
baserock-bootstrap does not make system images any more I copied the part of the script out and made some changes These should be in version control