diff options
author | Ayan Kumar Halder | 2021-12-21 13:04:47 +0000 |
---|---|---|
committer | Stefano Stabellini | 2021-12-21 09:43:01 -0800 |
commit | b098f3d5d627ad40c000fa100f8a72d011dba15e (patch) | |
tree | 07536202d04d8c4b1eeeeb7356a8cbcadccf9b55 /docker-extras/disk_image | |
parent | 1ff56037d6dc9e94c4ba512dd0af41e6843645af (diff) |
Generate the domU partial dtb via disk_image
Similar to uboot-script-gen, disk_image invokes compile_merge_partial_dts
to generate the domU partial dtbs. It copies the dtbs to /etc/xen.
Added functions to cleanup the temporary files.
Also removed 'set -e'. This was causing the script to terminate if any
of the functions returned non zero. In our approach, the functions in
common script will return 1 (on failure), and the caller (ie disk_image)
will check the return code and do the appropriate cleanup.
Moreover, 'set -e' cannot be relied upon to terminate the script if
any function returns error. Thus, it is not very useful.
Details :- https://www.gnu.org/software/bash/manual/html_node/The-Set-Builtin.html
Signed-off-by: Ayan Kumar Halder <ayankuma@xilinx.com>
Reviewed-by: Stefano Stabellini <sstabellini@kernel.org>
Signed-off-by: Stefano Stabellini <stefano.stabellini@xilinx.com>
Diffstat (limited to 'docker-extras/disk_image')
0 files changed, 0 insertions, 0 deletions