Displaying 2 results from an estimated 2 matches for "e6d5fd".
Did you mean:
e6d5fde
2012 Sep 03
1
[PATCH] daemon: remove call to obsolete udevsettle
udevadm is included in all reasonable recent distributions.
This avoids 'command not found' errors in verbose mode.
Signed-off-by: Olaf Hering <olaf at aepfle.de>
diff --git a/daemon/guestfsd.c b/daemon/guestfsd.c
index e6d5fde..0db56e4 100644
--- a/daemon/guestfsd.c
+++ b/daemon/guestfsd.c
@@ -54,7 +54,6 @@
#include "daemon.h"
GUESTFSD_EXT_CMD(str_udevadm, udevadm);
-GUESTFSD_EXT_CMD(str_udevsettle, udevsettle);
static char *read_cmdline (void);
@@ -1287,16 +1286,9 @@ random_name (char *template)
*...
2012 Aug 30
2
[PATCH v2] daemon: collect list of called external commands
...*root, const char *device)
return -1;
}
- r = command (NULL, &err, "grub-install", buf, device, NULL);
+ r = command (NULL, &err, str_grub_install, buf, device, NULL);
free (buf);
if (r == -1) {
diff --git a/daemon/guestfsd.c b/daemon/guestfsd.c
index 80175e0..e6d5fde 100644
--- a/daemon/guestfsd.c
+++ b/daemon/guestfsd.c
@@ -53,6 +53,9 @@
#include "daemon.h"
+GUESTFSD_EXT_CMD(str_udevadm, udevadm);
+GUESTFSD_EXT_CMD(str_udevsettle, udevsettle);
+
static char *read_cmdline (void);
#ifndef MAX
@@ -1294,6 +1297,6 @@ random_name (char *template)...