platform/upstream/dracut.git
12 years agodracut.cmdline.7.asc: document "resume=" option
Harald Hoyer [Tue, 17 Apr 2012 10:06:51 +0000 (12:06 +0200)]
dracut.cmdline.7.asc: document "resume=" option

12 years agolsinitrd: support symlinks
Nikoli [Tue, 17 Apr 2012 09:31:27 +0000 (11:31 +0200)]
lsinitrd: support symlinks

12 years agoudev-rules: remove 01-ignore.rules
Harald Hoyer [Mon, 16 Apr 2012 12:50:35 +0000 (14:50 +0200)]
udev-rules: remove 01-ignore.rules

12 years agolvm: disable lvmetad
Peter Rajnoha [Tue, 10 Apr 2012 08:40:53 +0000 (04:40 -0400)]
lvm: disable lvmetad

Currently dracut uses lvm.conf as found in the system and modifies only
global/locking_type setting. As there's a new feature introduced - the lvmetad
daemon, dracut should disable its use as well by setting "global/use_lvmetad=0"
(patch attached).

Otherwise, there's a warning message issued:

dracut: WARNING: Failed to connect to lvmetad: No such file or directory.
Falling back to internal scanning.

@@ -, +, @@
 modules.d/90lvm/lvm_scan.sh     |    2 ++
 modules.d/90lvm/module-setup.sh |    1 +
 2 files changed, 3 insertions(+), 0 deletions(-)

12 years agodracut.sh: log installed modules to $initdir/lib/dracut/modules.txt
Harald Hoyer [Mon, 16 Apr 2012 11:10:22 +0000 (13:10 +0200)]
dracut.sh: log installed modules to $initdir/lib/dracut/modules.txt

12 years agoDebian multiarch support
Jon Ander Hernandez [Tue, 10 Apr 2012 13:14:38 +0000 (15:14 +0200)]
Debian multiarch support

Another solution could be searching in directories found at
/etc/ld.so.conf.d/*.conf or adding a new parameter. Here is a patch
which adds a new --libdirs parameter, and also a new inst_libdir_file
function which will try to expand metacharacters on each lib
directory:

    inst_libdir_file "libdevmapper-event-lvm*.so"

12 years agorootfs-block: avoid remount when options don't change
Daniel Drake [Wed, 11 Apr 2012 22:00:43 +0000 (23:00 +0100)]
rootfs-block: avoid remount when options don't change

Mounting, unmounting and then mounting a disk partition takes some
time.

On embedded systems such as OLPC XO where we disable fsck and fstab
reading, the root options are not going to change throughout the
mount_root() function, so remounting is time consuming and without
change.

Detect and optimize for this case so that the filesystem is only
mounted once.

12 years agoshutdown: use emergency_shell from dracut-lib
Will Woods [Thu, 5 Apr 2012 17:01:39 +0000 (13:01 -0400)]
shutdown: use emergency_shell from dracut-lib

12 years agoMake splitsep work as documented with less vars than fields
Will Woods [Thu, 5 Apr 2012 17:01:38 +0000 (13:01 -0400)]
Make splitsep work as documented with less vars than fields

According to its comment in dracut-lib.sh:

    splitsep ":" "one:all:the:rest" one two

should set two="all:the:rest". But there's no check to see if the
current field is the last field, so it just gets "all".

12 years agonetwork: add save_netinfo, fix problems with nfs->NM takeover
Will Woods [Thu, 5 Apr 2012 17:01:37 +0000 (13:01 -0400)]
network: add save_netinfo, fix problems with nfs->NM takeover

For NetworkManager to properly take over a NFS-root system, we need to
have the interface name(s) in /tmp/net.ifaces and save the dhclient
lease. This lets the ifcfg module do its magic.

save_netinfo should properly write out /tmp/net.ifaces when needed, and
copies the dhclient files into place.

12 years agorun setup_net at start of initqueue/online hook
Will Woods [Thu, 5 Apr 2012 17:01:36 +0000 (13:01 -0400)]
run setup_net at start of initqueue/online hook

This makes sure the network is active and ready to use during the
initqueue/online hook.

It also makes it so you can run setup_net repeatedly without causing
error messages.

12 years agodracut-lib: add str_ends, to go along with str_starts
Will Woods [Thu, 5 Apr 2012 17:01:35 +0000 (13:01 -0400)]
dracut-lib: add str_ends, to go along with str_starts

12 years agoMakefile: version 018 018
Harald Hoyer [Tue, 3 Apr 2012 07:30:45 +0000 (09:30 +0200)]
Makefile: version 018

12 years agoNEWS: update
Harald Hoyer [Tue, 3 Apr 2012 07:21:25 +0000 (09:21 +0200)]
NEWS: update

12 years agodo not use dracut shutdown, if something failed while unpacking
Harald Hoyer [Thu, 5 Apr 2012 11:49:31 +0000 (13:49 +0200)]
do not use dracut shutdown, if something failed while unpacking

also require "xzcat"

12 years agoMakefile: fix syncheck
Harald Hoyer [Wed, 4 Apr 2012 13:51:10 +0000 (15:51 +0200)]
Makefile: fix syncheck

skip dash syntax check, if bash found in shebang

12 years agoadd s390 cms setup
Harald Hoyer [Tue, 3 Apr 2012 16:53:30 +0000 (18:53 +0200)]
add s390 cms setup

12 years agoadd mtu and macaddr to ip=
Harald Hoyer [Wed, 4 Apr 2012 12:47:29 +0000 (14:47 +0200)]
add mtu and macaddr to ip=

12 years ago95nfs/nfs-lib.sh: add server-ip to nfs server search
Harald Hoyer [Wed, 4 Apr 2012 11:25:38 +0000 (13:25 +0200)]
95nfs/nfs-lib.sh: add server-ip to nfs server search

12 years agobase/mount-hook.sh: add forgotten file
Harald Hoyer [Tue, 3 Apr 2012 15:30:11 +0000 (17:30 +0200)]
base/mount-hook.sh: add forgotten file

12 years agodracut-lib.sh: emergency_shell() test for setsit --ctty option
Harald Hoyer [Tue, 3 Apr 2012 07:29:06 +0000 (09:29 +0200)]
dracut-lib.sh: emergency_shell() test for setsit --ctty option

12 years agoiscsi: renamed rd.iscsi_param to rd.iscsi.param
Harald Hoyer [Tue, 3 Apr 2012 07:24:59 +0000 (09:24 +0200)]
iscsi: renamed rd.iscsi_param to rd.iscsi.param

12 years agolsinitrd: handle LZMA file type
Harald Hoyer [Mon, 2 Apr 2012 09:03:53 +0000 (11:03 +0200)]
lsinitrd: handle LZMA file type

12 years agoTEST-20-NFS: get shell in test root for rd.shell
Harald Hoyer [Mon, 2 Apr 2012 07:03:25 +0000 (09:03 +0200)]
TEST-20-NFS: get shell in test root for rd.shell

12 years agofips: fixed aes_generic module typo
Harald Hoyer [Mon, 2 Apr 2012 07:01:49 +0000 (09:01 +0200)]
fips: fixed aes_generic module typo

12 years ago90lvm/module-setup.sh: ignore DM_UDEV_DISABLE_DISK_RULES_FLAG=1
Harald Hoyer [Fri, 30 Mar 2012 08:48:37 +0000 (10:48 +0200)]
90lvm/module-setup.sh: ignore DM_UDEV_DISABLE_DISK_RULES_FLAG=1

Ignore logical volumes, which have DM_UDEV_DISABLE_DISK_RULES_FLAG=1
set for the generation of hostonly cmdline parameter.

12 years agodracut-functions.sh:get_fs_env() bail out early
Harald Hoyer [Fri, 30 Mar 2012 08:47:35 +0000 (10:47 +0200)]
dracut-functions.sh:get_fs_env() bail out early

if udevadm found information about a device (DEVPATH set), then bail out
early, if ID_FS_TYPE was not set.

12 years agodracut-functions.sh: fix get_fs_env()
Harald Hoyer [Thu, 29 Mar 2012 13:20:41 +0000 (15:20 +0200)]
dracut-functions.sh: fix get_fs_env()

12 years agodracut.sh:_get_fs_type() readlink devices to avoid dups
Harald Hoyer [Thu, 29 Mar 2012 13:14:26 +0000 (15:14 +0200)]
dracut.sh:_get_fs_type() readlink devices to avoid dups

12 years agodracut-functions.sh: removed get_fs_uuid() and get_fs_type()
Harald Hoyer [Thu, 29 Mar 2012 12:56:46 +0000 (14:56 +0200)]
dracut-functions.sh: removed get_fs_uuid() and get_fs_type()

get_fs_uuid() and get_fs_type() are not used anymore

12 years agodracut-functions.sh: no '' for shell regex
Harald Hoyer [Thu, 29 Mar 2012 12:38:45 +0000 (14:38 +0200)]
dracut-functions.sh: no '' for shell regex

12 years agodracut-functions.sh: proper return get_fs_env() and get_fs_type()
Harald Hoyer [Thu, 29 Mar 2012 12:37:41 +0000 (14:37 +0200)]
dracut-functions.sh: proper return get_fs_env() and get_fs_type()

12 years agolsinitrd.sh: no "" for shell regex
Harald Hoyer [Thu, 29 Mar 2012 12:36:43 +0000 (14:36 +0200)]
lsinitrd.sh: no "" for shell regex

12 years agoTEST-12-RAID-DEG/create-root.sh: settle after deconstruct
Harald Hoyer [Thu, 29 Mar 2012 12:36:20 +0000 (14:36 +0200)]
TEST-12-RAID-DEG/create-root.sh: settle after deconstruct

12 years agofstab-sys: also include the module, if --add-fstab was specified
Harald Hoyer [Thu, 29 Mar 2012 10:54:27 +0000 (12:54 +0200)]
fstab-sys: also include the module, if --add-fstab was specified

also fixup the logic what and when to mount.

first initramfs/etc/fstab is mounted

$NEWROOT/etc/fstab.sys takes precendence over initramfs/etc/fstab.sys

12 years ago90dmsquash-live/dmsquash-live-root.sh: add symlink
Harald Hoyer [Thu, 29 Mar 2012 10:53:53 +0000 (12:53 +0200)]
90dmsquash-live/dmsquash-live-root.sh: add symlink
/run/initramfs/livedev

12 years agoiscsi: add rd.iscsi_param
Harald Hoyer [Thu, 29 Mar 2012 09:54:42 +0000 (11:54 +0200)]
iscsi: add rd.iscsi_param

rd.iscsi_param is directly handed over to iscsistart as a --param option

12 years agoadd iscsi interface binding
Harald Hoyer [Thu, 29 Mar 2012 09:53:59 +0000 (11:53 +0200)]
add iscsi interface binding

iscsi connections can now be bound to <iscsi_iface_name> and <netdev_name>

12 years ago90livenet/parse-livenet.sh: unset CMDLINE, after adding parameters
Harald Hoyer [Thu, 29 Mar 2012 09:40:16 +0000 (11:40 +0200)]
90livenet/parse-livenet.sh: unset CMDLINE, after adding parameters

12 years agodracut-functions.sh: skip comment lines in fstab
Harald Hoyer [Wed, 28 Mar 2012 09:09:46 +0000 (11:09 +0200)]
dracut-functions.sh: skip comment lines in fstab

12 years ago95fstab-sys/mount-sys.sh: removed check for existing /dev
Harald Hoyer [Tue, 27 Mar 2012 14:00:28 +0000 (16:00 +0200)]
95fstab-sys/mount-sys.sh: removed check for existing /dev

there are a lot of filesystems, which do not need an actual device node

12 years ago95fstab-sys/mount-sys.sh: removed bashism
Harald Hoyer [Tue, 27 Mar 2012 14:00:02 +0000 (16:00 +0200)]
95fstab-sys/mount-sys.sh: removed bashism

12 years ago95nbd/nbdroot.sh: removed bashism
Harald Hoyer [Tue, 27 Mar 2012 13:59:35 +0000 (15:59 +0200)]
95nbd/nbdroot.sh: removed bashism

12 years agodocument --tmpdir option
Amadeusz Żołnowski [Mon, 26 Mar 2012 12:28:36 +0000 (14:28 +0200)]
document --tmpdir option

12 years agoadd --tmpdir option to cmd line args and tmpdir to config file
Amadeusz Żołnowski [Mon, 26 Mar 2012 12:28:35 +0000 (14:28 +0200)]
add --tmpdir option to cmd line args and tmpdir to config file

Default temporary directory used by Dracut is /var/tmp, but users might
want to change it to /tmp.

12 years agodracut.conf: add comment about /etc/dracut.conf.d
Harald Hoyer [Mon, 26 Mar 2012 12:37:39 +0000 (14:37 +0200)]
dracut.conf: add comment about /etc/dracut.conf.d

12 years agodracut.sh: add "--no-hostonly" option
Harald Hoyer [Mon, 26 Mar 2012 12:30:39 +0000 (14:30 +0200)]
dracut.sh: add "--no-hostonly" option

12 years agoinst_symlink: create parent dir if doesn't exist
Amadeusz Żołnowski [Mon, 26 Mar 2012 07:39:34 +0000 (09:39 +0200)]
inst_symlink: create parent dir if doesn't exist

If symlink is yet alone in target directory, inst_symlink will fail to
create it.  This is how to reproduce the bug:

 # mkdir /tmp/test
 # ln -s /bin/cp /tmp/test/cp
 # ./dracut -l -f -H /tmp/test.img -I /tmp/test/cp

Result:

[...]

I: *** Including modules done ***
ln: failed to create symbolic link
`/var/tmp/initramfs.Z5isVu//tmp/test/cp': No such file or directory
ln: failed to create symbolic link
`/var/tmp/initramfs.Z5isVu//tmp/test/cp': No such file or directory
I: Wrote /tmp/test.img:

[...]

Following patch creates directory for the symlink if it doesn't exist.

12 years agodracut.8.asc: format for 80 chars page width
Harald Hoyer [Fri, 23 Mar 2012 10:01:54 +0000 (11:01 +0100)]
dracut.8.asc: format for 80 chars page width

12 years agodracut.8.asc: correct c&p error and add desciption of "--mount"
Harald Hoyer [Fri, 23 Mar 2012 10:01:25 +0000 (11:01 +0100)]
dracut.8.asc: correct c&p error and add desciption of "--mount"

12 years ago99base/init.sh: revert the "cp" "mv" change for /run/initramfs
Harald Hoyer [Thu, 22 Mar 2012 16:05:20 +0000 (17:05 +0100)]
99base/init.sh: revert the "cp" "mv" change for /run/initramfs

12 years agoshutdown: fix PATH
Will Woods [Wed, 21 Mar 2012 23:47:46 +0000 (19:47 -0400)]
shutdown: fix PATH

Some systems might not use /bin:/sbin in their paths anymore, but we're
still using it in initramfs, so make sure our PATH is correct.

12 years agodracut.asc: set level down for the manpage includes
Harald Hoyer [Wed, 21 Mar 2012 16:40:08 +0000 (17:40 +0100)]
dracut.asc: set level down for the manpage includes

12 years agoprovide name based nbd connects
Wim Muskee [Sat, 17 Mar 2012 11:33:55 +0000 (12:33 +0100)]
provide name based nbd connects

Because nbd-server also provides name-based exports instead of
port-based ones, make it possible to connect to those.

12 years agoAvoid use of "export -n"
Daniel Drake [Fri, 16 Mar 2012 21:11:24 +0000 (21:11 +0000)]
Avoid use of "export -n"

"export -n" is a bash extension, not part of POSIX, and is hence
incompatible with the busybox shell.

This was breaking boot when the busybox module was used.

Reimplement the scope change in a few lines of standard shell code.

12 years ago98selinux/selinux-loadpolicy.sh: use mount --rbind for /dev
Will Woods [Tue, 20 Mar 2012 12:31:36 +0000 (13:31 +0100)]
98selinux/selinux-loadpolicy.sh: use mount --rbind for /dev

This preserves /dev/shm and /dev/pts for the selinux relabel.

12 years agoDo not mount --bind /run anymore
Harald Hoyer [Tue, 20 Mar 2012 12:30:42 +0000 (13:30 +0100)]
Do not mount --bind /run anymore

switch_root in util-linux 2.21 does mount --move /run also

12 years agoMake sure 'set -x' gets turned back on in wait_for_loginit
Will Woods [Wed, 14 Mar 2012 21:09:49 +0000 (17:09 -0400)]
Make sure 'set -x' gets turned back on in wait_for_loginit

wait_for_loginit does set +x (to turn off debugging temporarily), but
sometimes it would return before turning it back on. Move the set +x
line to fix that, then use 'setdebug' to make sure we don't turn it back
on unless it was needed.

12 years agofix "execvp: No such file or directory" in emergency_shell
Will Woods [Wed, 14 Mar 2012 21:09:40 +0000 (17:09 -0400)]
fix "execvp: No such file or directory" in emergency_shell

Older versions of setsid emit this message on stderr if you try to run
"setsid --help". Redirect it to /dev/null.

12 years agoTEST-01-BASIC: add setsid
Harald Hoyer [Wed, 14 Mar 2012 15:32:19 +0000 (16:32 +0100)]
TEST-01-BASIC: add setsid

12 years agoremove openvt and use "setsid -c", if possible
Harald Hoyer [Wed, 14 Mar 2012 15:19:53 +0000 (16:19 +0100)]
remove openvt and use "setsid -c", if possible

12 years agoremove --ctty
Harald Hoyer [Wed, 14 Mar 2012 15:13:48 +0000 (16:13 +0100)]
remove --ctty

12 years agoNEWS: update
Harald Hoyer [Wed, 14 Mar 2012 15:00:42 +0000 (16:00 +0100)]
NEWS: update

12 years agoTEST-10-RAID: wait for udev settle before deconstructing
Harald Hoyer [Wed, 14 Mar 2012 14:52:35 +0000 (15:52 +0100)]
TEST-10-RAID: wait for udev settle before deconstructing

12 years agoprecompile doc
Harald Hoyer [Wed, 14 Mar 2012 14:19:39 +0000 (15:19 +0100)]
precompile doc

12 years agoreplace xml documentation with asciidoc
Harald Hoyer [Wed, 14 Mar 2012 12:58:26 +0000 (13:58 +0100)]
replace xml documentation with asciidoc

12 years agoremove dracut-gencmdline
Harald Hoyer [Wed, 14 Mar 2012 12:27:13 +0000 (13:27 +0100)]
remove dracut-gencmdline

12 years agoAUTHORS: update
Harald Hoyer [Wed, 14 Mar 2012 10:50:07 +0000 (11:50 +0100)]
AUTHORS: update

12 years agoREADME: added github and sourceforge git links
Harald Hoyer [Wed, 14 Mar 2012 10:48:48 +0000 (11:48 +0100)]
README: added github and sourceforge git links

12 years agoAdd 'live.updates' to livenet module
Will Woods [Thu, 8 Mar 2012 23:03:48 +0000 (18:03 -0500)]
Add 'live.updates' to livenet module

live.updates allows you to specify the URL for an "updates image" that
should be applied to the live runtime before switch_root.

The URL can be anything supported by url-lib (http, https, ftp, possibly
nfs) and the image can be anything supported by img-lib (xz/gzip
compressed cpio/tar, uncompressed cpio/tar, filesystem image, etc.)

12 years agourl-lib: clean up output
Will Woods [Thu, 8 Mar 2012 23:03:39 +0000 (18:03 -0500)]
url-lib: clean up output

For curl_fetch_url (http/https/ftp):
- use --progress-bar (the output is less messy)
- print the URL we're fetching so the user know's what's happening

For curl and nfs:
- don't echo the filename if it was provided by the user

12 years agoimg-lib: fix unpack_img()
Will Woods [Thu, 8 Mar 2012 23:02:29 +0000 (18:02 -0500)]
img-lib: fix unpack_img()

- det_img should have been det_archive
- for ft=xz|gzip|bzip2, decompr should be "$ft -dc"

12 years agoinstall ctcm network module on s390
Dan Horák [Fri, 2 Mar 2012 10:41:37 +0000 (11:41 +0100)]
install ctcm network module on s390

The ctcm module is not loaded automagically because it doesn't pass the
"ether_type_trans" test in 40net/module-setup.sh, so load it explicitly.

12 years agodracut.spec: add 98pollcdrom
Harald Hoyer [Thu, 8 Mar 2012 12:40:21 +0000 (13:40 +0100)]
dracut.spec: add 98pollcdrom

12 years ago95iscsi/iscsiroot.sh: fix for empty $root
Harald Hoyer [Thu, 8 Mar 2012 11:26:00 +0000 (12:26 +0100)]
95iscsi/iscsiroot.sh: fix for empty $root

12 years agoTEST-20-NFS/test.sh: fsck with "-a"
Harald Hoyer [Thu, 8 Mar 2012 11:25:30 +0000 (12:25 +0100)]
TEST-20-NFS/test.sh: fsck with "-a"

12 years agoadd initqueue --env and "online" hook
Will Woods [Tue, 6 Mar 2012 23:25:25 +0000 (18:25 -0500)]
add initqueue --env and "online" hook

The "online" hook runs whenever a network interface comes online (that
is, once it's actually up and configured).

The initqueue --env argument is used to set "$netif" to the name of the
newly-online network interface.

12 years agonetwork: refactor stuff from netroot/parse-ip-opts to net-lib
Will Woods [Tue, 6 Mar 2012 23:25:24 +0000 (18:25 -0500)]
network: refactor stuff from netroot/parse-ip-opts to net-lib

Add new functions: all_ifaces_up, get_netroot_ip, ip_is_local, ifdown,
setup_net, set_ifname, ibft_to_cmdline

Use them in netroot.sh and parse-ip-opts.sh.

There's also a couple little unrelated cleanups.

12 years agomove wait_for_loginit() to dracut-lib.sh
Harald Hoyer [Fri, 2 Mar 2012 14:08:25 +0000 (15:08 +0100)]
move wait_for_loginit() to dracut-lib.sh

12 years ago98pollcdrom: factored out the ugly cdrom polling in the main loop
Harald Hoyer [Fri, 2 Mar 2012 13:53:22 +0000 (14:53 +0100)]
98pollcdrom: factored out the ugly cdrom polling in the main loop

12 years agoadd "initqueue/*" to hookdirs and create them in dracut itsself
Harald Hoyer [Fri, 2 Mar 2012 13:46:11 +0000 (14:46 +0100)]
add "initqueue/*" to hookdirs and create them in dracut itsself

now we can just use
    inst_hook initqueue/settled 99 "$moddir/pollcdrom.sh"

12 years agoTEST-20-NFS: use ext3 on server and fsck after kill
Harald Hoyer [Fri, 2 Mar 2012 12:58:48 +0000 (13:58 +0100)]
TEST-20-NFS: use ext3 on server and fsck after kill

12 years agoget rid of /tmp/root.info
Harald Hoyer [Fri, 2 Mar 2012 13:25:57 +0000 (14:25 +0100)]
get rid of /tmp/root.info

12 years agoifup.sh: check for "-m" to set manualup
Harald Hoyer [Fri, 2 Mar 2012 11:03:38 +0000 (12:03 +0100)]
ifup.sh: check for "-m" to set manualup

12 years agodracut-functions.sh: check for .kernelmodseen dir, before using it
Harald Hoyer [Fri, 2 Mar 2012 11:01:49 +0000 (12:01 +0100)]
dracut-functions.sh: check for .kernelmodseen dir, before using it

12 years ago40network/net-genrules.sh: move ifup in the initqueue
Harald Hoyer [Fri, 2 Mar 2012 10:39:11 +0000 (11:39 +0100)]
40network/net-genrules.sh: move ifup in the initqueue

12 years agofix apply-live-updates failing because of /lib symlink
Will Woods [Wed, 7 Mar 2012 22:22:18 +0000 (17:22 -0500)]
fix apply-live-updates failing because of /lib symlink

Since cp won't copy a directory over a symlink, any updates that were
supposed to go into e.g. /lib would get dropped if you had /updates/lib
as an actual directory, but the target system had /lib->/usr/lib.

12 years agowrite-ifcfg.sh: add UUID=.. and save the lease files with the same uuid
Will Woods [Wed, 7 Mar 2012 22:21:54 +0000 (17:21 -0500)]
write-ifcfg.sh: add UUID=.. and save the lease files with the same uuid

As described in https://bugzilla.redhat.com/show_bug.cgi?id=541410#c2,
if you want NetworkManager to take over an interface that you're using
for NFS root (or other network root device), you need to:

a) set UUID=<uuid> in ifcfg-<iface>, and
b) save the lease file as /var/lib/dhclient-<uuid>-<iface>.lease

This patch should make write-ifcfg handle both these things.

12 years agowrite-ifcfg.sh: cleanups
Will Woods [Wed, 7 Mar 2012 22:21:53 +0000 (17:21 -0500)]
write-ifcfg.sh: cleanups

mkdir -p creates intermediate directories and never returns an error, so
we don't need to create the intermediate directories ourself.

12 years ago40network/kill-dhclient.sh: kill dhclient silently
Harald Hoyer [Thu, 8 Mar 2012 09:58:16 +0000 (10:58 +0100)]
40network/kill-dhclient.sh: kill dhclient silently

12 years agourl-lib: make nfs support optional
Will Woods [Wed, 29 Feb 2012 18:09:57 +0000 (13:09 -0500)]
url-lib: make nfs support optional

Only include /lib/nfs-lib.sh if it exists, and then only run
add_url_handler if nfs-lib was imported.

12 years agomove emergency_shell to dracut-lib.sh
Will Woods [Wed, 29 Feb 2012 18:09:58 +0000 (13:09 -0500)]
move emergency_shell to dracut-lib.sh

This lets things running outside init call an emergency_shell.
(example: scripts called by initqueue)

12 years agoFix correct nfs path
Jan Stodola [Thu, 1 Mar 2012 19:22:57 +0000 (20:22 +0100)]
Fix correct nfs path

12 years agodracut-functions.sh:install_kmod_with_fw() delay .kernelmodseen
Harald Hoyer [Thu, 1 Mar 2012 16:45:30 +0000 (17:45 +0100)]
dracut-functions.sh:install_kmod_with_fw() delay .kernelmodseen

first check for omit, then mark the kernel module as seen

when we temporarily omit_drivers, we don't want to mark them as seen.

example: nfs.ko module in kernel-modules, but the nfs module
should be able to load it later on.

12 years ago90crypt/parse-crypt.sh: simplify rd.luks.uuid testing
Harald Hoyer [Wed, 29 Feb 2012 15:20:02 +0000 (16:20 +0100)]
90crypt/parse-crypt.sh: simplify rd.luks.uuid testing

12 years ago30convertfs/convertfs.sh: correct check for /usr/bin
Harald Hoyer [Wed, 29 Feb 2012 12:21:51 +0000 (13:21 +0100)]
30convertfs/convertfs.sh: correct check for /usr/bin

12 years ago98usrmount/mount-usr.sh: check, if we have $NEWROOT/etc/fstab
Harald Hoyer [Tue, 28 Feb 2012 15:35:08 +0000 (16:35 +0100)]
98usrmount/mount-usr.sh: check, if we have $NEWROOT/etc/fstab

12 years ago98usrmount/mount-usr.sh: ignore comments in fstab
Harald Hoyer [Tue, 28 Feb 2012 11:54:01 +0000 (12:54 +0100)]
98usrmount/mount-usr.sh: ignore comments in fstab

12 years agoTODO: update
Harald Hoyer [Tue, 28 Feb 2012 11:19:39 +0000 (12:19 +0100)]
TODO: update

12 years agomake bzip2 optional
Harald Hoyer [Sat, 25 Feb 2012 16:22:02 +0000 (17:22 +0100)]
make bzip2 optional