aboutsummaryrefslogtreecommitdiff
path: root/scripts/disk_image
Commit message (Collapse)AuthorAgeFilesLines
* Add command line arguments for disk_imageBrian Woods2019-10-251-7/+83
| | | | | | | | | Add some simple command line arguments and some dependency checking that makes running the script outside of a container much easier. Signed-off-by: Brian Woods <brian.woods@xilinx.com> Signed-off-by: Stefano Stabellini <stefano.stabellini@xilinx.com> Reviewed-by: Stefano Stabellini <sstabellini@kernel.org>
* Convert indentation of disk_imageBrian Woods2019-10-251-23/+23
| | | | | | | | Convert the indentation of disk_image to 4 space from hard tabs so that it matches the rest of the Imagebuilder scripts. Signed-off-by: Brian Woods <brian.woods@xilinx.com> Acked-by: Stefano Stabellini <sstabellini@kernel.org>
* Fix copying files to boot partition in disk_imageBrian Woods2019-10-241-2/+24
| | | | | | | | | | Copy only the files that were used to generate the size of the boot partition. This fixes a bug where if the Dom0 ramdisk is over ~16M the boot partition will run out of space since everything in the directory is copied over. Signed-off-by: Brian Woods <brian.woods@xilinx.com> Reviewed-by: Stefano Stabellini <sstabellini@kernel.org>
* Fix hardcoded dom0 ramdisk name in disk_imageBrian Woods2019-10-241-4/+5
| | | | | | | | Get rid of a hardcoded dom0 ramdisk name so that it doesn't err out when the name is different. Signed-off-by: Brian Woods <brian.woods@xilinx.com> Reviewed-by: Stefano Stabellini <sstabellini@kernel.org>
* Rename docker-extras to scriptsStefano Stabellini2019-10-211-0/+134
Signed-off-by: Stefano Stabellini <stefano.stabellini@xilinx.com>