X-Git-Url: https://gerrit.akraino.org/r/gitweb?p=ta%2Fbuild-tools.git;a=blobdiff_plain;f=build_step_create_install_cd.sh;fp=build_step_create_install_cd.sh;h=f2f7daba4e61842a74dbe7d072d9fd6cdcc653a1;hp=40de1cc407aa985c21e87335053e004a4e33c621;hb=900738828f48bade06f69c1e3a8f6fb988b97950;hpb=c9329b7df4c8a39f97f0c16fc2b14b3ca25d9896 diff --git a/build_step_create_install_cd.sh b/build_step_create_install_cd.sh index 40de1cc..f2f7dab 100755 --- a/build_step_create_install_cd.sh +++ b/build_step_create_install_cd.sh @@ -23,11 +23,9 @@ _read_manifest_vars tmp=$WORKTMP/install_cd iso_build_dir=$tmp/build -input_image="$WORKTMP/goldenimage/${GOLDEN_IMAGE_NAME}" -output_image_path="$1" -[[ $output_image_path =~ ^/ ]] || output_image_path=$(pwd)/$output_image_path -output_bootcd_path="$2" -[[ $output_bootcd_path =~ ^/ ]] || output_bootcd_path=$(pwd)/$output_bootcd_path +input_image=$(readlink -f ${1:-$WORKTMP/goldenimage/$GOLDEN_IMAGE_NAME}) +output_image_path=${2:-$RESULT_IMAGES_DIR/rec.iso} +output_bootcd_path=${3:-$RESULT_IMAGES_DIR/bootcd.iso} mkdir -p $tmp rm -rf $iso_build_dir mkdir -p $iso_build_dir