Revision 8576747b snf-image-helper/snf-image-helper.in
b/snf-image-helper/snf-image-helper.in | ||
---|---|---|
59 | 59 |
add_cleanup rmdir "$target" |
60 | 60 |
|
61 | 61 |
export SNF_IMAGE_TARGET="$target" |
62 |
export SNF_IMAGE_RESIZE_PART="$(get_last_partition_id "$SNF_IMAGE_DEV")" |
|
63 | 62 |
|
64 | 63 |
if [ ! -d "@tasksdir@" ]; then |
65 | 64 |
log_error "snf-image/tasks directory is missing" |
... | ... | |
76 | 75 |
|
77 | 76 |
if [ -z "$SNF_IMAGE_PROPERTY_EXCLUDE_ALL_TASKS" ]; then |
78 | 77 |
|
78 |
export SNF_IMAGE_RESIZE_PART="$(get_partition_to_resize "$SNF_IMAGE_DEV")" |
|
79 |
|
|
79 | 80 |
if [[ ! "$SNF_IMAGE_PROPERTY_OSFAMILY" =~ ^(linux|windows)$ ]]; then |
80 | 81 |
log_error "Supported values for OSFAMILY property are: linux|windows" |
81 | 82 |
fi |
Also available in: Unified diff