Verbose message when adding kernel modules.
authorRichard W.M. Jones <rjones@redhat.com>
Fri, 23 Sep 2011 08:51:25 +0000 (09:51 +0100)
committerRichard W.M. Jones <rjones@redhat.com>
Fri, 23 Sep 2011 08:51:25 +0000 (09:51 +0100)
This step takes a considerable amount of time (about half of the total
construction time), so separately display a timestamped message for it.

helper/appliance.c

index 50d1d78..b2cc840 100644 (file)
@@ -197,6 +197,9 @@ static void
 add_kernel_modules (const char *whitelist_file, const char *modpath,
                     struct writer *writer)
 {
+  if (verbose)
+    print_timestamped_message ("adding kernel modules");
+
   char **whitelist = NULL;
   if (whitelist_file != NULL)
     whitelist = load_file (whitelist_file);