summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Makefile.am2
-rw-r--r--src/guestfs.c3
2 files changed, 3 insertions, 2 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index 68ee693e..4764a550 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -125,7 +125,7 @@ libguestfs_la_SOURCES = \
gettext.h \
libguestfs.syms
-libguestfs_la_LIBADD = $(LTLIBTHREAD)
+libguestfs_la_LIBADD = $(LTLIBTHREAD) ../gnulib/lib/libgnu.la
# Make libguestfs include the convenience library.
noinst_LTLIBRARIES = libprotocol.la
diff --git a/src/guestfs.c b/src/guestfs.c
index 0e91b96b..2ba062ce 100644
--- a/src/guestfs.c
+++ b/src/guestfs.c
@@ -1537,8 +1537,9 @@ build_supermin_appliance (guestfs_h *g, const char *path,
snprintf (cmd, sizeof cmd,
"PATH='%s':$PATH "
- "libguestfs-supermin-helper '%s' " host_cpu " " REPO " %s %s",
+ "libguestfs-supermin-helper%s '%s' " host_cpu " " REPO " %s %s",
path,
+ g->verbose ? " --verbose" : "",
path, *kernel, *initrd);
if (g->verbose)
print_timestamped_message (g, "%s", cmd);