summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHilko Bengen <bengen@hilluzination.de>2011-05-31 00:14:11 +0200
committerRichard W.M. Jones <rjones@redhat.com>2011-06-01 10:08:13 +0100
commit8dcb6d97b279ad752732d2880b7ef7a65887e401 (patch)
tree4dab542f9d7e497ec9cd12fcb32f2fa644120267
parentb5ed2a56e1d9c826e494fea5c6a353d45f3c857f (diff)
downloadfebootstrap-8dcb6d97b279ad752732d2880b7ef7a65887e401.tar.gz
febootstrap-8dcb6d97b279ad752732d2880b7ef7a65887e401.tar.xz
febootstrap-8dcb6d97b279ad752732d2880b7ef7a65887e401.zip
Force creation of /lib/modules directory.
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.
-rw-r--r--helper/appliance.c1
1 files changed, 1 insertions, 0 deletions
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);