summaryrefslogtreecommitdiffstats
path: root/tools
AgeCommit message (Collapse)AuthorFilesLines
2017-04-14add the argument WORKDIR in daisy-img-modify.shzhongjun1-2/+10
the daisy install tmp workdir can be configurated as an input argument in deploy.sh,and it also should be used in subshell daisy-img-modify.sh,so add the input argument -w workdir in daisy-img-modify.sh. 1.add an input argument -w workdir in daisy-img-modify.sh. 2.modify the WORKDIR default value to /tmp/workdir/daisy. 3.code refactor to put the centos7.qcow2 file clean statement from the deploy.sh to daisy-img-modify.sh. Change-Id: Id375a15ad2839c209329e644c5e032d044604e7d Signed-off-by: zhongjun <zhong.jun@zte.com.cn>
2017-03-09Eliminate the exception in image-modifyAlex Yang1-2/+12
Sometimes kpartx fails when it deletes the partition device mappings because of the automatic mounting to /run/media/root/xxxx. So umounting and removing forcibly are needed. Change-Id: Ic8a19ef9139adb9c0c5c4bead0ae0ffbd92f24b8 Signed-off-by: Alex Yang <yangyang1@zte.com.cn>
2016-12-09download and modify centos imageAlex Yang2-0/+307
Change-Id: I1934fb75d5d7f4a50f44c06080fbcec4f6c81f02 Signed-off-by: Alex Yang <yangyang1@zte.com.cn>