Commit Graph

184 Commits (038)

Author SHA1 Message Date
Harald Hoyer df7be11b38 Version 022 2012-07-20 13:11:21 +02:00
Harald Hoyer ddf818dad5 Version 021 2012-07-20 11:46:48 +02:00
Harald Hoyer c243105e6b Makefile: set LC_MESSAGES=C ... not LANG 2012-07-19 13:35:31 +02:00
Harald Hoyer 2023d8eb5b Makefile: do not install service from 98systemd. They are copied to /run 2012-07-09 13:02:36 +02:00
Harald Hoyer eaf4cb6bbb Makefile: mkinitrd man page install typo 2012-07-05 06:57:43 +02:00
Harald Hoyer 0e14946a20 add lsinitrd and mkinitrd man pages 2012-07-03 14:19:58 +02:00
Harald Hoyer f4031e8a9a move dracut-install to dracutbasedir
We do not want to install dracut-install to /usr/bin until all
interfaces are set to stone and the manpage is written. Until then the
tool is dracut internal.
2012-07-02 18:52:49 +02:00
Harald Hoyer 09eaf9f5b3 Version 020 2012-06-29 12:54:38 +02:00
Harald Hoyer 026b81e980 install/*: add dracut-install tool 2012-06-29 12:54:38 +02:00
Harald Hoyer 784df1e4e3 version 019 2012-06-04 14:24:25 +02:00
Harald Hoyer ca024e3378 renamed switch-root.{service,target} -> initrd-switch-root 2012-05-22 14:50:19 +02:00
Harald Hoyer dbf8f6ba0e add dracut-version.sh 2012-05-22 14:32:36 +02:00
Harald Hoyer afd1fd8d41 Makefile: install dracut service files from systemd dracut module 2012-05-16 11:29:48 +02:00
Harald Hoyer 53e3244dba Makefile: call git2spec.pl with LANG=C 2012-05-10 14:30:31 +02:00
Harald Hoyer 2de297334b Makefile: do not install systemd service in reboot
shutdown is enough. It is pulled in on reboot.
2012-04-19 11:59:39 +02:00
Harald Hoyer 76c14799da Makefile: version 018 2012-04-05 13:54:38 +02:00
Harald Hoyer f5af0df821 Makefile: fix syncheck
skip dash syntax check, if bash found in shebang
2012-04-05 13:54:38 +02:00
Harald Hoyer 4ce3a1b1bb precompile doc 2012-03-14 15:48:33 +01:00
Harald Hoyer 888d53f270 replace xml documentation with asciidoc 2012-03-14 15:48:33 +01:00
Harald Hoyer dc824f1994 remove dracut-gencmdline 2012-03-14 15:07:20 +01:00
Harald Hoyer f5a9e45923 Version 017 2012-02-24 15:38:08 +01:00
Harald Hoyer a6b63f9192 dracut.spec,Makefile: backward compat symlink for dracut-functions.sh 2012-02-23 12:26:16 +01:00
Harald Hoyer 552ecca6db Renamed all shell scripts to *.sh 2012-02-22 15:15:21 +01:00
Harald Hoyer a2c631c0a3 Makefile: also link dracut-shutdown.service to shutdown target 2012-02-16 09:37:11 +01:00
Harald Hoyer 6bee336909 Version 16 2012-02-15 18:05:34 +01:00
Harald Hoyer 927d9273c4 Makefile: s/dracut-initramfs-backup.sh/dracut-initramfs-restore.sh/ 2012-02-13 18:20:12 +01:00
Harald Hoyer fb67e4aa36 shutdown on demand
Do not save and restore the initramfs, but instead, just unpack the
default initramfs for shutdown on shutdown.
2012-02-13 07:08:08 +01:00
Harald Hoyer 4cfd24d179 Backup and restore /run/initramfs via systemd services
This saves the space /run/initramfs is taking for the shutdown
2012-02-10 11:14:31 +01:00
Harald Hoyer a74eae77ac Version 15 2012-02-07 20:57:12 +01:00
Harald Hoyer dcba56cafa Makefile: dash does not like {} expansion
removed {} expansion for mandir mkdir for users, which have dash as
/bin/sh
2012-01-05 14:48:57 +01:00
Harald Hoyer 5e90d26658 Makefile: set bindir to ${prefix}/bin rather than sbin 2012-01-05 14:36:45 +01:00
Harald Hoyer ef8b121e2c version 014 2011-12-15 09:19:05 +01:00
Harald Hoyer 45abddb069 renamed dracut.kernel.7 to dracut.cmdline.7 2011-12-15 09:19:04 +01:00
Harald Hoyer ed919de0a7 dracut.spec: move sbindir from /sbin to /usr/bin
https://fedoraproject.org/wiki/Features/UsrMove
2011-12-02 13:03:01 +01:00
Harald Hoyer c5a6599080 Makefile, dracut.spec: move dracut to /usr/lib/dracut
Move dracut to /usr/lib/dracut.
We should not have picked /usr/share/dracut. Dracut is no ordinary "data".
2011-12-02 13:03:00 +01:00
Amadeusz Żołnowski 2799897ad8 Makefile: Append target files names for man pages.
Edited-By: harald@redhat.com: removed trailing whitespace
2011-11-16 15:32:07 +01:00
Harald Hoyer 9af39cbe31 Makefile, git2spec.pl: use temporary builddir
to build the dracut rpm, use a temporary builddir
2011-11-15 09:47:19 +01:00
Harald Hoyer e9519a397f version 013 2011-08-12 16:17:58 +02:00
Harald Hoyer ac965cd828 Makefile: increment version to 012 2011-08-11 17:52:58 +02:00
Harald Hoyer e7b877427b Makefile: do not remove rpmbuild on fail 2011-08-11 14:27:25 +02:00
Harald Hoyer 7893469fca Makefile: inc version 2011-07-18 17:05:06 +02:00
Harald Hoyer b038e0aac9 Makefile: copy created rpms from rpmbuild in "rpm" target 2011-07-18 17:04:27 +02:00
Harald Hoyer 0e6a94b329 Makefile: simplify "make rpm" 2011-05-31 16:34:37 +02:00
Harald Hoyer b99dc517d6 inc version 2011-04-14 12:03:24 +02:00
Harald Hoyer e365864bbc removed switch_root.c 2011-04-11 13:12:30 +02:00
Harald Hoyer 5dcd565dab NEWS: inc version and add NEWS 2011-03-31 18:49:27 +02:00
Harald Hoyer b4fbdbbe1e Makefile: "make dist" now generates .tar.gz 2011-03-31 18:45:01 +02:00
Harald Hoyer da22a02130 Makefile: split syntax check from target "check" to "syncheck"
also add syntax check for the bash scripts
2011-03-17 12:12:48 +01:00
Harald Hoyer f709fa439b Install dracut-logger and add it to the spec file 2011-03-16 13:56:20 +01:00
Harald Hoyer 4877bb510e dracut.spec: inc release to 009 prerelease 2011-03-10 19:25:09 +01:00
Harald Hoyer 440a4cc247 Makefile: do not dash syntax check module-setup.sh
module-setup.sh is bash syntax, so dash complains about bash contructs
2011-02-18 13:11:53 +01:00
Harald Hoyer 498a131239 Makefile: use xhtml instead of xhtml-1_1 for the docbook.xsl 2010-11-10 15:05:04 +01:00
Harald Hoyer 1b4a9d8ad8 documentation update 2010-10-15 13:14:08 +02:00
Harald Hoyer 2d9f5858bc add dracut.xml documentation 2010-09-20 14:53:51 +02:00
Harald Hoyer c033d96e49 version inc 2010-08-09 16:28:38 +02:00
Harald Hoyer 5bb59e428f Makefile: install dracut.kernel.7 2010-08-06 18:15:51 +02:00
Amadeusz Żołnowski 5150d44a7e Makefile: use $(MAKE) and $(RM) instead of make and rm -f
See: http://www.gnu.org/software/make/manual/make.html#MAKE-Variable
2010-08-06 11:53:02 +02:00
Harald Hoyer cdc8d9c403 documentation: moved to docbook man pages 2010-08-05 16:38:49 +02:00
Harald Hoyer dd2c34a82b version pre 7 2010-08-02 09:00:01 +02:00
Harald Hoyer 7d86d90d11 Version 006 2010-06-17 10:58:27 +02:00
Harald Hoyer 9cdde06d50 Makefile: make more clean 2010-05-19 09:55:48 +02:00
Harald Hoyer ab56546dc7 version 005 2010-03-19 16:51:05 +01:00
Harald Hoyer 2c2c45800c add /etc/dracut.conf.d 2010-02-12 11:12:37 +01:00
Harald Hoyer 3ee26913e7 version 004 2010-01-15 14:09:06 +01:00
Harald Hoyer 63d8d27b03 install lsinitrd/mkinitrd 2010-01-13 17:13:20 +01:00
Harald Hoyer 66e45737e1 add man pages for dracut-catimages and dracut-gencmdline 2010-01-12 14:51:17 +01:00
Harald Hoyer 9993392f6d version 003 2009-11-27 15:25:46 +01:00
Harald Hoyer 0cd23d778e Makefile: gitrpm: cleanup on failed rpmbuild 2009-11-27 14:57:37 +01:00
Harald Hoyer 6cc96b358a add dracut.conf man page 2009-11-27 10:53:28 +01:00
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