diff options
author | Harald Hoyer <harald@eeepc.(none)> | 2009-07-22 12:43:26 +0200 |
---|---|---|
committer | Harald Hoyer <harald@eeepc.(none)> | 2009-07-22 15:07:11 +0200 |
commit | 33ee031c4ac32b113d0319f082d426139c48990c (patch) | |
tree | 4bb1f5bb824b70e0939299b2105929e2d21617fb /README.kernel | |
parent | f24a2d46b73993e79967a7a0cd9afe8222ba7f36 (diff) | |
download | dracut-33ee031c4ac32b113d0319f082d426139c48990c.tar.gz dracut-33ee031c4ac32b113d0319f082d426139c48990c.tar.bz2 dracut-33ee031c4ac32b113d0319f082d426139c48990c.zip |
dracut: add --kernel-only and --no-kernel arguments
--kernel-only
only install kernel drivers and firmware files
--no-kernel
do not install kernel drivers and firmware files
All kernel module related install commands moved from "install"
to "installkernel".
For "--kernel-only" all installkernel scripts of the specified
modules are used, regardless of any checks, so that all modules
which might be needed by any dracut generic image are in.
The basic idea is to create two images. One image with the kernel
modules and one without. So if the kernel changes, you only have
to replace one image.
Grub and the kernel can handle multiple images, so grub entry can
look like this:
title Fedora (2.6.29.5-191.fc11.i586)
root (hd0,0)
kernel /vmlinuz-2.6.29.5-191.fc11.i586 ro rhgb quiet
initrd /initrd-20090722.img
initrd /initrd-kernel-2.6.29.5-191.fc11.i586.img
initrd /initrd-config.img
initrd-20090722.img
the image provided by the initrd rpm
one old backup version is kept like with the kernel
initrd-kernel-2.6.29.5-191.fc11.i586.img
the image provided by the kernel rpm
initrd-config.img
optional image with local configuration files
Diffstat (limited to 'README.kernel')
-rw-r--r-- | README.kernel | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/README.kernel b/README.kernel new file mode 100644 index 00000000..f477ee5a --- /dev/null +++ b/README.kernel @@ -0,0 +1,6 @@ +dracut-kernel is used to pull in all firmware files to build an initrd with +only kernel modules and firmware files. + +dracut --kernel-only only executes "installkernel" in the modules +subdirectories. + |