summaryrefslogtreecommitdiffstats
path: root/README
diff options
context:
space:
mode:
authorErik Nolte <erik_nolte@acm.org>2011-10-06 14:31:37 -0600
committerRichard W.M. Jones <rjones@redhat.com>2011-10-14 10:57:46 +0100
commita98be5ba1deea4f0b46eb4273ea278e3e0eb87ea (patch)
tree17363a8abd6becd363e13e9663d09844e7122a90 /README
parent359718fa6c7ff177ef3413552f57a174d7205102 (diff)
downloadfebootstrap-a98be5ba1deea4f0b46eb4273ea278e3e0eb87ea.tar.gz
febootstrap-a98be5ba1deea4f0b46eb4273ea278e3e0eb87ea.tar.xz
febootstrap-a98be5ba1deea4f0b46eb4273ea278e3e0eb87ea.zip
helper/init: Handle compressed modules transparently.
Detect libz and, if present, define HAS_LIBZ and add -lz to Makefile's LIBS variable. Add entry on optional zlib package requirement. Detect both uncompressed and gzipped kernel modules. Some Linux distros (like ArchLinux) use gzipped kernel modules with filenames like ext2.ko.gz. This change modifies the filename pattern from (e.g.) "ext2.ko" to "ext2.ko*". When available, use libz to read the module. The init_module system call requires uncompressed kernel module bytes. On some systems (e.g. ArchLinux) the modules are gzipped on disk. Libz is used to read and uncompress gzipped disk files (*.ko.gz) or transparently read uncompressed modules (*.ko).
Diffstat (limited to 'README')
-rw-r--r--README2
1 files changed, 2 insertions, 0 deletions
diff --git a/README b/README
index 99c4d36..2c42b2e 100644
--- a/README
+++ b/README
@@ -59,6 +59,8 @@ are building:
qemu >= 0.13
kernel >= 2.6.36
+ zlib - if your kernel uses gzipped modules
+
Building and installing
-----------------------