Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
itminedu
snf-image
Commits
9238529d
Commit
9238529d
authored
Mar 11, 2014
by
Nikos Skalkotos
Browse files
helper: add missing program checks in ./configure
Add checks for tune2fs, sfdisk, sgdisk and eatmydata
parent
ad6e8bf1
Changes
1
Hide whitespace changes
Inline
Side-by-side
snf-image-helper/configure.ac
View file @
9238529d
...
...
@@ -19,6 +19,11 @@ if test -z "$XMLSTARLET" ; then
AC_MSG_ERROR([xmlstarlet not found in $PATH])
fi
AC_PATH_PROG(TUNE2FS, [tune2fs], [], [$PATH:/usr/sbin:/sbin])
if test -z "$TUNE2FS" ; then
AC_MSG_ERROR([tune2fs not found in $PATH])
fi
AC_PATH_PROG(RESIZE2FS, [resize2fs], [], [$PATH:/usr/sbin:/sbin])
if test -z "$RESIZE2FS" ; then
AC_MSG_ERROR([resize2fs not found in $PATH])
...
...
@@ -29,6 +34,21 @@ if test -z "$PARTED" ; then
AC_MSG_ERROR([parted not found in $PATH])
fi
AC_PATH_PROG(SFDISK, [sfdisk], [], [$PATH:/usr/sbin:/sbin])
if test -z "$SFDISK" ; then
AC_MSG_ERROR([sfdisk not found in $PATH])
fi
AC_PATH_PROG(SGDISK, [sgdisk], [], [$PATH:/usr/sbin:/sbin])
if test -z "$SGDISK" ; then
AC_MSG_ERROR([SGDISK not found in $PATH])
fi
AC_PATH_PROG(EATMYDATA, [eatmydata], [], [$PATH:/usr/sbin:/sbin])
if test -z "$EATMYDATA" ; then
AC_MSG_ERROR([EATMYDATA not found in $PATH])
fi
AC_PATH_PROG(HIVEXGET, [hivexget], [], [$PATH:/usr/sbin:/sbin])
if test -z "$HIVEXGET" ; then
AC_MSG_ERROR([hivexget not found in $PATH])
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment