[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [Libguestfs] febootstrap: what am I doing wrong?



* Hilko Bengen:

> * Richard W.M. Jones:
>
>> Which version of febootstrap is this? If you're not using febootstrap
>> from git could you try that version?
>
> I was using version 3.5 from the tarball. The last commit on the master
> branch is tagged as 3.5.

After adding a line containing "/lib/modules" to hostfiles solved the
immediate problem for me -- febootstrap-supermin-helper finished its
run.

The attached patch makes sure that febootstrap-supermin-helper always
creates this directory.

Cheers,
-Hilko
diff --git a/helper/appliance.c b/helper/appliance.c
index 85efd75..50d1d78 100644
--- a/helper/appliance.c
+++ b/helper/appliance.c
@@ -77,6 +77,7 @@ create_appliance (const char *hostcpu,
 
   iterate_inputs (inputs, nr_inputs, writer);
 
+  writer->wr_file ("/lib/modules");
   /* Kernel modules (3). */
   add_kernel_modules (whitelist, modpath, writer);
 

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]