Commit 35ab9f4c authored by Nikos Skalkotos's avatar Nikos Skalkotos
Browse files

Rename snf-image-host to snf-image

parent 444a0cb9
AC_PREREQ(2.59)
AC_INIT(snf-image-host, 0.7.6, synnefo@lists.grnet.gr)
AC_INIT(snf-image, 0.7.6, synnefo@lists.grnet.gr)
AC_CONFIG_AUX_DIR(autotools)
AC_CONFIG_SRCDIR(configure)
......
......@@ -47,9 +47,9 @@ fi
exec {MONITOR_FD}>${monitor_pipe}
add_cleanup close_fd ${MONITOR_FD}
# Ignore sigpipe signals. If progress monitor is dead and snf-image-host tries
# to output something to the opened pipe, then a sigpipe will be raised. If we
# do not catch this, the program will terminate.
# Ignore sigpipe signals. If progress monitor is dead and snf-image tries to
# output something to the opened pipe, then a sigpipe will be raised. If we do
# not catch this, the program will terminate.
trap "" SIGPIPE
trap report_and_cleanup EXIT
......
......@@ -12,9 +12,9 @@
# IMAGE_DEBUG: turn on debugging output for the scripts
# IMAGE_DEBUG=no
# VERSION_CHECK: Check if host and helper have the
# same version. This is usefull if snf-image-host is
# installed as debian package and not from source.
# VERSION_CHECK: Check if snf-image and snf-image-helper have the same version.
# This is usefull if snf-image is installed as debian package and not from
# source.
# VERSION_CHECK="@VERSION_CHECK@"
# HELPER_DIR: Directory hosting the helper files
......
......@@ -220,9 +220,9 @@ fi
if [ "$VERSION_CHECK" == yes -a -z "$HELPER_PKG" ]; then
helper_version="$(grep ^snf-image-helper[[:space:]] "$HELPER_DIR/packages" | cut -f2)"
host_version="$(dpkg-query -W -f "\${Version}\n" snf-image-host)"
host_version="$(dpkg-query -W -f "\${Version}\n" snf-image)"
if [ "$host_version" != "$helper_version" ]; then
log_error "snf-image-host version (=$host_version) and " \
log_error "snf-image version (=$host_version) and " \
"snf-image-helper version (=$helper_version) don't match."
exit 1
fi
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment