Commit Graph

65 Commits

Author SHA1 Message Date
Harald Hoyer
7f1282834f Makefile: add WITH_SWITCH_ROOT 2009-11-23 12:28:53 +01:00
Harald Hoyer
3f793c91f4 AUTHORS: generated by git-shortlog
add AUTHORS target to Makefile

only list main authors in man page
2009-10-07 10:11:55 +02:00
Harald Hoyer
5cf5569d6e Makefile: reorder targets 2009-09-30 10:18:25 +02:00
Lance Albertson
13d942e163 custom paths
Fix Makefile so that it allows us to install the root in a sane location (which
is needed in Gentoo).
2009-09-29 19:00:48 +02:00
Harald Hoyer
9a99c974a4 version 002 2009-09-17 17:52:00 +02:00
Harald Hoyer
d889c019e7 version 001 2009-09-02 15:55:35 +02:00
Harald Hoyer
54b87586aa fixed gitrpm 2009-09-01 15:42:27 +02:00
Harald Hoyer
bdccc34e7e Makefile: add hostimage target for a hostonly image
call it with root priviledges
2009-08-19 17:10:38 +02:00
Harald Hoyer
5d12f1a485 version 0.9 2009-08-14 17:59:43 +02:00
Harald Hoyer
1def132d53 version 0.8 2009-08-06 15:10:59 +02:00
Harald Hoyer
21007cb6ec version 0.7 2009-07-25 11:09:35 +02:00
Harald Hoyer
5494f08cc5 add dracut-catimages
Usage: ./dracut-catimages [OPTION]... <initramfs> <base image>
[<image>...]
Creates initial ramdisk image by concatenating several images from the
command
line and /boot/dracut/

  -f, --force           Overwrite existing initramfs file.
  -i, --imagedir        Directory with additional images to add
                        (default: /boot/dracut/)
  -o, --overlaydir      Overlay directory, which contains files that
                        will be used to create an additional image
  --nooverlay           Do not use the overlay directory
  --noimagedir          Do not use the additional image directory
  -h, --help            This message
  --debug               Output debug information of the build process
  -v, --verbose         Verbose output during the build process
2009-07-25 11:09:35 +02:00
Harald Hoyer
a8b15b36bf version 0.6 2009-07-22 15:07:47 +02:00
Harald Hoyer
33ee031c4a 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
2009-07-22 15:07:11 +02:00
Harald Hoyer
b54cac21c1 Makefile: make clean before rpm 2009-07-17 16:00:20 +02:00
Harald Hoyer
acff0cc10c version 0.5 2009-07-17 16:00:20 +02:00
Harald Hoyer
a6f8c08347 dracut-gencmdline - generate the kernel command line for the local host 2009-07-17 16:00:20 +02:00
Harald Hoyer
f4da80735a Makefile: add debug module to the testimage target 2009-07-15 18:27:21 +02:00
Harald Hoyer
616f1557b1 version 0.4 2009-07-04 10:05:38 +02:00
Harald Hoyer
df328b6c36 version 0.3 2009-07-02 11:48:27 +02:00
Harald Hoyer
22a27a5023 version 0.2 2009-07-01 21:32:33 +02:00
Harald Hoyer
f1bbaa64b5 add target for "dist" and "gitrpm"
"make gitrpm" creates an rpm from the last git checkin
"make rpm" creates an rpm for the version tagged with $VERSION
"make dist" creates a tarball for the version tagged with $VERSION
2009-06-19 13:59:11 +02:00
Harald Hoyer
73198d53f3 /usr/lib/dracut -> /usr/share/dracut 2009-06-19 13:57:13 +02:00
Harald Hoyer
d49449cd4e updated switch_root.c
matches the version, which will go to util-linux-ng
2009-06-19 13:00:08 +02:00
Harald Hoyer
11e4b91677 install man page 2009-06-17 15:44:03 +02:00
Harald Hoyer
68ea18cfa1 specfile update 2009-06-04 17:49:28 +02:00
Harald Hoyer
59615e06a4 make paths configurable 2009-06-04 17:44:26 +02:00
Harald Hoyer
c4d25b18f5 prepare for release 2009-06-04 13:08:39 +02:00
Harald Hoyer
8afc472432 don't be verbose on testimage target 2009-06-03 17:04:43 +02:00
Harald Hoyer
c00f04f57a introduce modular test suite 2009-05-25 15:32:26 +02:00
Harald Hoyer
ce743a71cc create test/initramfs.testing from Makefile target 2009-05-25 12:11:27 +02:00
Victor Lowther
4957ab92f2 Create test image on an md array and improve cryptroot handling
If we purport to test booting to an md raid, we may as well test it.

We do not need the plymouth module and the normal crypt module to include
duplicate functionality.
2009-05-25 11:36:32 +02:00
Victor Lowther
c92e789ff4 Remove generated test initramfs'es when cleaning up 2009-05-25 11:36:32 +02:00
Harald Hoyer
e2367e1948 add APPEND and DRACUTOPTS to make target "test"
call test with additional dracut options and kernel command line
parameter:

$ make APPEND="udevinfo quiet" DRACUTOPTS="-verbose" test
2009-05-15 13:16:15 +02:00
Harald Hoyer
c4ad7ffff4 add debug and changed verbose parameter
previous -verbose is now -debug (set -x)
-verbose adds some information about the resulting initrd size
2009-05-15 12:45:58 +02:00
Harald Hoyer
5cb6c761c1 add target "check"
add dash syntax checking
2009-05-15 12:44:36 +02:00
Victor Lowther
0abfff0ddf Don't regenerate the test image when anything changes
Only regenerate it if we changed test-init or make-test-root
2009-03-20 03:40:02 -05:00
Victor Lowther
32d6bc5d75 Modify Makefile to use new test harness 2009-03-08 11:51:21 -05:00
Harald Hoyer
558fe20421 fixed Makefile and removed dracut.conf obsoleted by skip-missing 2009-03-07 13:14:59 +01:00
Harald Hoyer
af2ac89151 fixed -c parameter handling and Makefile 2009-03-07 12:06:17 +01:00
Harald Hoyer
771577a56a /usr/libexec -> /usr/lib 2009-03-05 19:12:18 +01:00
Harald Hoyer
dd737cf94e fixed modules install 2009-03-05 19:07:24 +01:00
Harald Hoyer
d554c7eceb do not rename dracut-functions to functions 2009-03-05 18:56:12 +01:00
Harald Hoyer
8ac8d68a0e testimage target fixes 2009-03-05 14:20:05 +01:00
Harald Hoyer
0680bbaf01 fixed rpm building on Fedora 11
"Only dest dir longer than base dir not supported"
2009-03-05 11:31:30 +01:00
Harald Hoyer
2f525c4905 add compile phase to testimage and force overwrite 2009-03-05 11:31:27 +01:00
Harald Hoyer
6567383252 do not get GITTAG, if there is no .git 2009-03-05 11:31:17 +01:00
Harald Hoyer
6b2a2be3ba added tar.bz2 target for the rpm and archive target 2009-03-05 10:56:13 +01:00
Harald Hoyer
710322ecf0 define gittag for rpm target 2009-03-05 10:55:49 +01:00
Harald Hoyer
4579f5a832 add sample dracut.conf 2009-03-05 10:44:17 +01:00