platform/upstream/dracut.git
13 years agodracut.spec: remove noreplace for 01-dist.conf
Harald Hoyer [Wed, 20 Jul 2011 10:39:58 +0000 (12:39 +0200)]
dracut.spec: remove noreplace for 01-dist.conf

13 years agoMakefile: inc version 011
Harald Hoyer [Mon, 18 Jul 2011 15:05:06 +0000 (17:05 +0200)]
Makefile: inc version

13 years agoTODO, NEWS: update
Harald Hoyer [Mon, 18 Jul 2011 15:04:54 +0000 (17:04 +0200)]
TODO, NEWS: update

13 years agoMakefile: copy created rpms from rpmbuild in "rpm" target
Harald Hoyer [Mon, 18 Jul 2011 15:04:27 +0000 (17:04 +0200)]
Makefile: copy created rpms from rpmbuild in "rpm" target

13 years agodracut.spec: fixed logrotate
Harald Hoyer [Mon, 18 Jul 2011 14:31:55 +0000 (16:31 +0200)]
dracut.spec: fixed logrotate

13 years ago90kernel-modules: fixed handling rd.driver.post=
Amadeusz Żołnowski [Thu, 30 Jun 2011 20:45:24 +0000 (22:45 +0200)]
90kernel-modules: fixed handling rd.driver.post=

13 years agocrypt: dropped plymouth --has-active-vt check on passwd prompt
Amadeusz Żołnowski [Thu, 30 Jun 2011 21:49:20 +0000 (23:49 +0200)]
crypt: dropped plymouth --has-active-vt check on passwd prompt

As Ray Strode explains, plymouth --has-active-vt may fail if the user
passes console=ttyS0 or something other not corresponding to
console=tty0, because plymouth is outputing to the serial console and
not a VT in this case.

13 years agodmsquash-live: install eject with dracut_install
Harald Hoyer [Fri, 1 Jul 2011 08:14:47 +0000 (10:14 +0200)]
dmsquash-live: install eject with dracut_install

the new search path does the right thing

13 years agoselinux/selinux-loadpolicy.sh: set LANG=C for load_policy and restorecon
Harald Hoyer [Wed, 22 Jun 2011 11:33:37 +0000 (13:33 +0200)]
selinux/selinux-loadpolicy.sh: set LANG=C for load_policy and restorecon

set LANG=C for chroot execed tools, because the terminal might not be
able to display the messages and the rest is not translated anyway.

13 years agobase/init: do not mount devtmpfs with "noexec"
Harald Hoyer [Fri, 17 Jun 2011 11:49:57 +0000 (13:49 +0200)]
base/init: do not mount devtmpfs with "noexec"

https://bugzilla.redhat.com/show_bug.cgi?id=710711

mmap /dev/zero: Operation not permitted

13 years agocrypt/crypt-lib.sh: s/.console.lock/.console_lock/g
Harald Hoyer [Fri, 17 Jun 2011 11:43:37 +0000 (13:43 +0200)]
crypt/crypt-lib.sh: s/.console.lock/.console_lock/g

In the initrd, the init script and the sbin/cryptroot-ask script use
flock with different lock files for the console: /.console_lock and
/.console.lock respectively

13 years agobase/init: mount virtual filesystems with the filesystem type as source
Harald Hoyer [Fri, 17 Jun 2011 11:14:18 +0000 (13:14 +0200)]
base/init: mount virtual filesystems with the filesystem type as source

13 years agoMakefile: simplify "make rpm"
Harald Hoyer [Tue, 31 May 2011 14:34:37 +0000 (16:34 +0200)]
Makefile: simplify "make rpm"

13 years agoshut
Harald Hoyer [Tue, 31 May 2011 14:34:24 +0000 (16:34 +0200)]
shut

13 years agomdraid: add shutdown script
Harald Hoyer [Tue, 31 May 2011 12:47:34 +0000 (14:47 +0200)]
mdraid: add shutdown script

13 years agodm: add shutdown script
Harald Hoyer [Tue, 31 May 2011 12:47:13 +0000 (14:47 +0200)]
dm: add shutdown script

13 years agobase: add shutdown script to be called from systemd
Harald Hoyer [Mon, 30 May 2011 15:27:36 +0000 (17:27 +0200)]
base: add shutdown script to be called from systemd

13 years agodracut: use pigz, if available and no compress defined
Harald Hoyer [Tue, 31 May 2011 11:58:08 +0000 (13:58 +0200)]
dracut: use pigz, if available and no compress defined

13 years agomount-root.sh: fixed fsck and "-a" only for "ext*"
Harald Hoyer [Mon, 30 May 2011 15:26:44 +0000 (17:26 +0200)]
mount-root.sh: fixed fsck and "-a" only for "ext*"

13 years agodracut-functions: do not redirect modprobe error output to /dev/null
Harald Hoyer [Fri, 20 May 2011 18:12:54 +0000 (20:12 +0200)]
dracut-functions: do not redirect modprobe error output to /dev/null

filter modprobe error messages and log them. Very useful if modules.dep
is missing.

13 years agodracut-functions: make created directories writable
Harald Hoyer [Fri, 20 May 2011 18:08:59 +0000 (20:08 +0200)]
dracut-functions: make created directories writable

13 years agodracut: add --keep option, to inspect the initramfs directory
Harald Hoyer [Fri, 20 May 2011 18:08:13 +0000 (20:08 +0200)]
dracut: add --keep option, to inspect the initramfs directory

13 years ago95rootfs-block/block-genrules.sh: Use > instead of >>
Michal Soltys [Fri, 20 May 2011 15:09:27 +0000 (17:09 +0200)]
95rootfs-block/block-genrules.sh: Use > instead of >>

trivial, blocksymlink.sh shouldn't exist at this point.

Signed-off-by: Michal Soltys <soltys@ziu.info>
13 years ago95rootfs-block/mount-root.sh: Rely on det_fs and wrap_fsck
Michal Soltys [Fri, 20 May 2011 15:09:26 +0000 (17:09 +0200)]
95rootfs-block/mount-root.sh: Rely on det_fs and wrap_fsck

Use common fsck and det_fs code. Verify filesystem type more
aggressively, which has a chance to be more resistant to
accidental mistakes.

Also, there's no need to generate custom fstab for the sake of fsck
anymore.

Signed-off-by: Michal Soltys <soltys@ziu.info>
13 years ago95fstab-sys: use det_fs and wrap_fsck
Michal Soltys [Fri, 20 May 2011 15:09:25 +0000 (17:09 +0200)]
95fstab-sys: use det_fs and wrap_fsck

This patch mainly adds fsck functionality to fstab-sys, with additional
sanity checks (checking for device existence, verifying fstype via
det_fs).

Signed-off-by: Michal Soltys <soltys@ziu.info>
13 years agodracut-lib.sh: Add det_fs() and wrap_fsck()
Michal Soltys [Fri, 20 May 2011 15:09:24 +0000 (17:09 +0200)]
dracut-lib.sh: Add det_fs() and wrap_fsck()

Both functions will be used by rootfs-block and fstab-sys modules.

Both are based on code present in mount-root.sh, though few changes are
present.

det_fs:

will try to determine filesystem type for supplied device, even if it's
not auto. If fs cannot be detected, or if the detected one differs from
the supplied one - a warning is issued (so user can fix its stuff later)

wrap_fsck:

will call fsck for specific device with optionally additional
fsckoptions. The function returns fsck return value.

Signed-off-by: Michal Soltys <soltys@ziu.info>
13 years agodracut-lib.sh: add vwarn() function
Michal Soltys [Fri, 20 May 2011 15:09:23 +0000 (17:09 +0200)]
dracut-lib.sh: add vwarn() function

Similary to vinfo()

Signed-off-by: Michal Soltys <soltys@ziu.info>
13 years agodracut.spec: build require dash and bash
Harald Hoyer [Fri, 20 May 2011 13:33:51 +0000 (15:33 +0200)]
dracut.spec: build require dash and bash

13 years agobase/init: do not lazy umount /run
Harald Hoyer [Thu, 19 May 2011 21:29:16 +0000 (23:29 +0200)]
base/init: do not lazy umount /run

13 years agobase/init: mkdir non-existant dirs
Harald Hoyer [Thu, 19 May 2011 21:28:22 +0000 (23:28 +0200)]
base/init: mkdir non-existant dirs

13 years agobase/init: save timestamp earlier and remove /sys mount duplicate
Harald Hoyer [Thu, 19 May 2011 21:27:37 +0000 (23:27 +0200)]
base/init: save timestamp earlier and remove /sys mount duplicate

13 years agobase/init: mkdir $NEWROOT, if it does not exist
Harald Hoyer [Thu, 19 May 2011 21:26:06 +0000 (23:26 +0200)]
base/init: mkdir $NEWROOT, if it does not exist

13 years agobase/module-setup.sh: only mkdir /lib, if it does not exist
Harald Hoyer [Thu, 19 May 2011 21:24:18 +0000 (23:24 +0200)]
base/module-setup.sh: only mkdir /lib, if it does not exist

13 years agoi18n: disable systemd-vconsole-setup, until the tool is fixed
Harald Hoyer [Thu, 19 May 2011 21:22:06 +0000 (23:22 +0200)]
i18n: disable systemd-vconsole-setup, until the tool is fixed

13 years agobusybox: install busybox to /usr/bin
Harald Hoyer [Thu, 19 May 2011 21:20:32 +0000 (23:20 +0200)]
busybox: install busybox to /usr/bin

13 years agolsinitrd: handle new output of "file" for XZ compressed images
Harald Hoyer [Thu, 19 May 2011 21:20:00 +0000 (23:20 +0200)]
lsinitrd: handle new output of "file" for XZ compressed images

13 years agodracut-functions: change search path for find_binary
Harald Hoyer [Thu, 19 May 2011 21:19:17 +0000 (23:19 +0200)]
dracut-functions: change search path for find_binary

13 years agodracut-functions: handle symlinked directories
Harald Hoyer [Thu, 19 May 2011 21:18:47 +0000 (23:18 +0200)]
dracut-functions: handle symlinked directories

13 years agodracut: handle toplevel symlinks
Harald Hoyer [Thu, 19 May 2011 21:16:17 +0000 (23:16 +0200)]
dracut: handle toplevel symlinks

13 years agodracut: s/bzip/bzip2
Harald Hoyer [Thu, 19 May 2011 21:15:51 +0000 (23:15 +0200)]
dracut: s/bzip/bzip2

13 years agodracut: fix overlayfs paths
Harald Hoyer [Fri, 20 May 2011 11:00:46 +0000 (13:00 +0200)]
dracut: fix overlayfs paths

13 years agolvm/lvm_scan.sh: remove references to lvm-cleanup
Harald Hoyer [Tue, 17 May 2011 10:29:47 +0000 (12:29 +0200)]
lvm/lvm_scan.sh: remove references to lvm-cleanup

lvm-cleanup was removed long time ago

13 years agoFix "can't shift that many" crash with empty /proc/cmdline
Will Woods [Mon, 16 May 2011 23:17:57 +0000 (19:17 -0400)]
Fix "can't shift that many" crash with empty /proc/cmdline

If /proc/cmdline is empty (like if root=... is set in /etc/cmdline),
modules.d/99base/init will crash with a message saying "can't shift that
many" right before switch_root. The problem is in the block of code that
tries to look for init args. It does something like:

read CMDLINE </proc/cmdline
    [...]
    set $CMDLINE
    shift

If CMDLINE="" then "set $CMDLINE" will dump all the variables to stdout.
(That should be "set -- $CMDLINE" instead.) Since there's no $1, the
"shift" causes an error, and dracut crashes.

The 'shift' was copy-and-pasted from the previous block. It doesn't
belong here; remove it.

[Harald Hoyer <harald@redhat.com>: corrected commit message]
[Harald Hoyer <harald@redhat.com>: fixed indention]

Signed-off-by: Will Woods <wwoods@redhat.com>
13 years agodracut: set TMPDIR to /var/tmp
Harald Hoyer [Mon, 16 May 2011 16:10:27 +0000 (18:10 +0200)]
dracut: set TMPDIR to /var/tmp

we really don't want anything else than /var/tmp for our operations.
/tmp might be too small and any other location might not fit our needs.

13 years agodracut.spec: add crypt-gpg module
Harald Hoyer [Thu, 12 May 2011 15:17:47 +0000 (17:17 +0200)]
dracut.spec: add crypt-gpg module

13 years agocut.conf.d/fedora.conf.example: removed filename in comment
Harald Hoyer [Thu, 12 May 2011 14:42:25 +0000 (16:42 +0200)]
cut.conf.d/fedora.conf.example: removed filename in comment

13 years agodmsquash-live/dmsquash-live-root: add missing changes for /run
Alan Pevec [Thu, 12 May 2011 12:16:07 +0000 (14:16 +0200)]
dmsquash-live/dmsquash-live-root: add missing changes for /run

Change to /run/initramfs/squashfs/ was not complete.

13 years agodracut-functions: make local vars local and prefix with "_"
Harald Hoyer [Thu, 12 May 2011 09:03:30 +0000 (11:03 +0200)]
dracut-functions: make local vars local and prefix with "_"

13 years agoTODO: update
Harald Hoyer [Thu, 12 May 2011 09:03:56 +0000 (11:03 +0200)]
TODO: update

13 years agoREADME: s/initrd/initramfs
Harald Hoyer [Thu, 12 May 2011 09:01:59 +0000 (11:01 +0200)]
README: s/initrd/initramfs

13 years agodracut.conf: explain dracutmodules option better
Amadeusz Żołnowski [Sat, 7 May 2011 13:28:00 +0000 (15:28 +0200)]
dracut.conf: explain dracutmodules option better

13 years agodracut.kernel.7: crypto LUKS - info about gpg-encrypted keys
Amadeusz Żołnowski [Tue, 10 May 2011 17:44:57 +0000 (19:44 +0200)]
dracut.kernel.7: crypto LUKS - info about gpg-encrypted keys

13 years agodracut-lib.sh: warn, even if "quiet" is set
Harald Hoyer [Wed, 11 May 2011 18:18:26 +0000 (20:18 +0200)]
dracut-lib.sh: warn, even if "quiet" is set

13 years agodracut-functions: remove find_rule()
Michal Soltys [Tue, 10 May 2011 12:36:24 +0000 (14:36 +0200)]
dracut-functions: remove find_rule()

Not used anymore.

Signed-off-by: Michal Soltys <soltys@ziu.info>
13 years agodracut-functions: update inst_binary()
Michal Soltys [Tue, 10 May 2011 12:36:23 +0000 (14:36 +0200)]
dracut-functions: update inst_binary()

This update adds support for sort-of corner case - when explicitly
specified binary (e.g. through dracut_install or inst) is a library
itself.

In such case, we would expect the binary to undergo typical
library-related handling (symlinks and such).

Apart from that, the patch cleans indenting and a few unused variables
in inst_binary() (probably leftovers from the past ?)

Signed-off-by: Michal Soltys <soltys@ziu.info>
13 years agodocumentation: update TODO and links
Harald Hoyer [Tue, 10 May 2011 12:13:58 +0000 (14:13 +0200)]
documentation: update TODO and links

13 years agoTODO: updated
Harald Hoyer [Tue, 10 May 2011 10:03:49 +0000 (12:03 +0200)]
TODO: updated

13 years agoremoved trailing whitespaces
Harald Hoyer [Tue, 10 May 2011 09:39:10 +0000 (11:39 +0200)]
removed trailing whitespaces

13 years agodracut-functions: only dinfo() about missing firmware files
Harald Hoyer [Tue, 10 May 2011 09:18:58 +0000 (11:18 +0200)]
dracut-functions: only dinfo() about missing firmware files

People are scared about those messages, so only dwarn() if the module
is actually loaded on the system.

13 years agodracut: use /var/tmp rather than /tmp for the initramfs creation
Harald Hoyer [Tue, 10 May 2011 08:59:18 +0000 (10:59 +0200)]
dracut: use /var/tmp rather than /tmp for the initramfs creation

/tmp might be to small to hold the initramfs image

13 years agoifcfg/write-ifcfg.sh: do not source net.*.override, if it doesn't exist
Harald Hoyer [Tue, 10 May 2011 08:55:48 +0000 (10:55 +0200)]
ifcfg/write-ifcfg.sh: do not source net.*.override, if it doesn't exist

13 years agonew module - 91crypt-gpg
Amadeusz Żołnowski [Thu, 5 May 2011 11:34:21 +0000 (13:34 +0200)]
new module - 91crypt-gpg

It's an extension to 90crypt module.  Adds support for GPG-encrypted
keys (symmetrically, of course).  Module is optional.

13 years agocrypt: functions for ask-for-password and reading key
Amadeusz Żołnowski [Thu, 5 May 2011 11:34:20 +0000 (13:34 +0200)]
crypt: functions for ask-for-password and reading key

Asking for password and reading key parts are moved to separate
functions in crypt-lib.sh: ask_for_password and readkey.

13 years agocrypt-lib.sh: 'command -v' preferred over 'type'
Amadeusz Żołnowski [Thu, 5 May 2011 11:34:19 +0000 (13:34 +0200)]
crypt-lib.sh: 'command -v' preferred over 'type'

13 years ago.gitignore: ignore dracut.html, dracut.conf.d/*.conf files, test.log
Amadeusz Żołnowski [Thu, 5 May 2011 11:34:18 +0000 (13:34 +0200)]
.gitignore: ignore dracut.html, dracut.conf.d/*.conf files, test.log

13 years ago.gitignore: cleanup (prefix paths with /, remove unnecessary)
Amadeusz Żołnowski [Thu, 5 May 2011 11:34:17 +0000 (13:34 +0200)]
.gitignore: cleanup (prefix paths with /, remove unnecessary)

*~ should be globally ignored anyway.  Paths were prefix with / to be
strict.

13 years agoparse-kernel.sh: wrong index was used in for loop
Harald Hoyer [Fri, 6 May 2011 10:06:20 +0000 (12:06 +0200)]
parse-kernel.sh: wrong index was used in for loop

Thanks Mike Snitzer <msnitzer@redhat.com>

13 years agoiscsi: find iscsi kernel modules by symbol names
Harald Hoyer [Wed, 4 May 2011 08:17:46 +0000 (10:17 +0200)]
iscsi: find iscsi kernel modules by symbol names

13 years agoplymouth/gensplash: reset tty after plymouth messed with it
Harald Hoyer [Tue, 3 May 2011 12:47:45 +0000 (14:47 +0200)]
plymouth/gensplash: reset tty after plymouth messed with it

13 years ago10i18n: do not use console_init shell script, if systemd-vconsole-setup
Harald Hoyer [Tue, 3 May 2011 12:48:05 +0000 (14:48 +0200)]
10i18n: do not use console_init shell script, if systemd-vconsole-setup

do not use console_init shell script, if systemd-vconsole-setup is
available

13 years ago10i18n: s/systemd-vconsole/systemd-vconsole-setup/g
Harald Hoyer [Tue, 3 May 2011 08:34:06 +0000 (10:34 +0200)]
10i18n: s/systemd-vconsole/systemd-vconsole-setup/g

13 years agobase/init: remove double nosuid from devtmpfs mount line
Harald Hoyer [Thu, 28 Apr 2011 15:48:58 +0000 (17:48 +0200)]
base/init: remove double nosuid from devtmpfs mount line

13 years agoconsole_init/plymouth: use systemd-vconsole, if available
Harald Hoyer [Thu, 28 Apr 2011 15:33:26 +0000 (17:33 +0200)]
console_init/plymouth: use systemd-vconsole, if available

also init the console before starting the plymouth daemon

13 years agotest/TEST-13-ENC-RAID-LVM: double test root disk space
Harald Hoyer [Thu, 28 Apr 2011 15:32:56 +0000 (17:32 +0200)]
test/TEST-13-ENC-RAID-LVM: double test root disk space

13 years agodracut.kernel.7.xml: clarify iscsi_firmware parameter usage
Harald Hoyer [Mon, 2 May 2011 09:32:45 +0000 (11:32 +0200)]
dracut.kernel.7.xml: clarify iscsi_firmware parameter usage

13 years agonetwork/parse-ip-opts.sh: fix ifname for ibft with all args
Harald Hoyer [Tue, 26 Apr 2011 21:22:41 +0000 (23:22 +0200)]
network/parse-ip-opts.sh: fix ifname for ibft with all args

13 years agonetwork/net-genrules.sh: also honor rename events
Harald Hoyer [Mon, 2 May 2011 09:29:58 +0000 (11:29 +0200)]
network/net-genrules.sh: also honor rename events

13 years agodon't overwrite ifname=
Marian Ganisin [Fri, 22 Apr 2011 12:48:36 +0000 (08:48 -0400)]
don't overwrite ifname=

[Harald Hoyer <harald@redhat.com>: replaced grep with strstr]
[Harald Hoyer <harald@redhat.com>: handle multiple ifname= arguments]

13 years agoskip condition fixed
Marian Ganisin [Fri, 22 Apr 2011 12:42:08 +0000 (08:42 -0400)]
skip condition fixed

13 years agocorrect module name
Marian Ganisin [Fri, 22 Apr 2011 12:40:01 +0000 (08:40 -0400)]
correct module name

13 years agolet rpc user own /var/lib/rpcbind
Harald Hoyer [Mon, 2 May 2011 09:27:12 +0000 (11:27 +0200)]
let rpc user own /var/lib/rpcbind

https://bugzilla.redhat.com/show_bug.cgi?id=698160

13 years agofcoe: moved edd detection to settled initqueue
Harald Hoyer [Mon, 2 May 2011 09:25:13 +0000 (11:25 +0200)]
fcoe: moved edd detection to settled initqueue

At the time of modprobing edd, all pci devices must exist and have to be
initialized for the symlinks to work.

13 years agodracut: revert prelink, if fips module was used
Harald Hoyer [Mon, 2 May 2011 09:19:12 +0000 (11:19 +0200)]
dracut: revert prelink, if fips module was used

13 years agofips: forward port RHEL-6 fips changes
Harald Hoyer [Mon, 2 May 2011 09:15:46 +0000 (11:15 +0200)]
fips: forward port RHEL-6 fips changes

- also support FIPS on separate LVM partition
- use small settle loop to get /boot
- "set -e" has no effect, if we use "||"
- make fips work with encrypted root and seperate boot
- moved to pre-pivot to support /boot in /

13 years agodm: add 11-dm.rules for udev-168 and cleanup-db
Harald Hoyer [Thu, 21 Apr 2011 13:40:43 +0000 (15:40 +0200)]
dm: add 11-dm.rules for udev-168 and cleanup-db

add OPTIONS+="db_persist" to dm devices, to persist through a
udevadm info --cleanup-db

13 years agokernel-modules: inst modules.builtin if there's no modules.builtin.bin
Amadeusz Żołnowski [Fri, 22 Apr 2011 15:43:11 +0000 (17:43 +0200)]
kernel-modules: inst modules.builtin if there's no modules.builtin.bin

Also report failure if none of them exist.

13 years agomodules.d/99base/init: missing slash in ismounted check
Michal Soltys [Sat, 23 Apr 2011 22:22:51 +0000 (00:22 +0200)]
modules.d/99base/init: missing slash in ismounted check

ismounted sys -> ismounted /sys

Signed-off-by: Michal Soltys <soltys@ziu.info>
13 years agobase, crypt: install umount, because it is used
Harald Hoyer [Wed, 20 Apr 2011 14:51:39 +0000 (16:51 +0200)]
base, crypt: install umount, because it is used

13 years agodracut: make prefix configurable
Harald Hoyer [Wed, 20 Apr 2011 14:47:40 +0000 (16:47 +0200)]
dracut: make prefix configurable

13 years agotest/TEST-11-LVM, test/TEST-14-IMSM: update test cases
Harald Hoyer [Thu, 14 Apr 2011 13:24:50 +0000 (15:24 +0200)]
test/TEST-11-LVM, test/TEST-14-IMSM: update test cases

- more diskspace
- add /run
- drop to shell in test-init

13 years agobase/init: export RD_TIMESTAMP
Harald Hoyer [Thu, 14 Apr 2011 13:23:05 +0000 (15:23 +0200)]
base/init: export RD_TIMESTAMP

13 years agoinc version
Harald Hoyer [Thu, 14 Apr 2011 10:03:24 +0000 (12:03 +0200)]
inc version

13 years agobase/init: use "udevadm control --exit" and "udevadm info --cleanup-db"
Harald Hoyer [Thu, 14 Apr 2011 10:00:11 +0000 (12:00 +0200)]
base/init: use "udevadm control --exit" and "udevadm info --cleanup-db"

For udev >= 168 use the advanced udevadm features for shutting down udev.

Thanks Kay!!!

13 years agoMove all files to /run/initramfs
Harald Hoyer [Mon, 11 Apr 2011 15:19:41 +0000 (17:19 +0200)]
Move all files to /run/initramfs

Given that we boot into a modern Linux distribution with the "/run" toplevel
directory, we can easily mount move the whole /run directory to the real
root in the end and have the complete initramfs later on in
/run/initramfs. All log files and /run states are still accessible and
to save space /run/initramfs can be removed later on.

Because the kernel does not mount a tmpfs on /run prior to unpacking the
initramfs cpio image, we have to copy ourselves very early to a tmpfs
and mount it on /run.
Due to lazy umount the old initramfs binaries should
be removed in the end by switch_root.

This feature can be turned on with "--prefix".

13 years agobase: s#initlog#loginit#g for consistency
Harald Hoyer [Tue, 12 Apr 2011 09:03:57 +0000 (11:03 +0200)]
base: s#initlog#loginit#g for consistency

13 years agoset udev property hookdir
Harald Hoyer [Tue, 12 Apr 2011 06:43:10 +0000 (08:43 +0200)]
set udev property hookdir

Revert "mdraid/65-md-incremental-imsm.rules: s#$hookdir#/lib/dracut/hooks/"

This reverts commit e1f68dc6a0c987e27b992d393c1d3e54ca0783a8.

13 years agobase/init: removed rd.copystate
Harald Hoyer [Tue, 12 Apr 2011 06:31:26 +0000 (08:31 +0200)]
base/init: removed rd.copystate

all files are available in /run/initramfs

13 years agobase/init: removed rd.timestamp and automatically export RD_*
Harald Hoyer [Tue, 12 Apr 2011 06:29:14 +0000 (08:29 +0200)]
base/init: removed rd.timestamp and automatically export RD_*

13 years agomdraid/65-md-incremental-imsm.rules: s#$hookdir#/lib/dracut/hooks/
Harald Hoyer [Mon, 11 Apr 2011 17:22:46 +0000 (19:22 +0200)]
mdraid/65-md-incremental-imsm.rules: s#$hookdir#/lib/dracut/hooks/

13 years agoTEST-50-MULTINIC/client-init: drop to shell, if "rd.shell"
Harald Hoyer [Mon, 11 Apr 2011 15:19:16 +0000 (17:19 +0200)]
TEST-50-MULTINIC/client-init: drop to shell, if "rd.shell"