diff --git a/image_builder/image_config.sh b/image_builder/image_config.sh index eef3ba55..d9243bb2 100755 --- a/image_builder/image_config.sh +++ b/image_builder/image_config.sh @@ -48,7 +48,7 @@ get_image() { } resize_fs() { - # TEMPLATE: resize_fs $IMAGE_PATH $SIZE + # TEMPLATE: resize_fs set +e @@ -92,7 +92,7 @@ resize_fs() { } execute() { - # TEMPLATE: execute $IMAGE <$EXECUTE_FILE> <...> + # TEMPLATE: execute <$EXECUTE_FILE> <...> echo_stamp "Mount loop-image: $1" local DEV_IMAGE=$(losetup -Pf $1 --show) @@ -160,7 +160,7 @@ execute() { } copy_to_chroot() { - # TEMPLATE: copy_to_chroot $IMAGE $MOVE_FILE $MOVE_TO + # TEMPLATE: copy_to_chroot echo_stamp "Mount loop-image: $1" local DEV_IMAGE=$(losetup -Pf $1 --show) @@ -182,7 +182,7 @@ copy_to_chroot() { } umount_system() { - # TEMPLATE: umount_system $MOUNT_POINT $DEV_IMAGE + # TEMPLATE: umount_system echo_stamp "Umount recursive dirs: $1" # There is a risk that umount will fail @@ -299,11 +299,11 @@ case "$1" in publish_image $2 $3 $4 $5 "$6";; execute) - # execute [] [...] + # execute [] [...] execute $2 $3 ${@:4};; copy_to_chroot) - # copy_to_chroot + # copy_to_chroot copy_to_chroot $2 $3 $4;; *)