Harald Hoyer
f62f3a2191
reset initqueue loop counter only if new uevents exist
2013-03-02 13:19:20 +01:00
Harald Hoyer
389333396a
resume: move resume hook from mount to pre-mount
2013-03-02 13:11:38 +01:00
Harald Hoyer
cfb7410cd0
mdraid/mdraid_start.sh: remove mdmon workaround
2013-03-02 13:10:57 +01:00
Harald Hoyer
f672b1c399
btrfs/btrfs_timeout.sh: do not "exit 0"
2013-03-02 13:10:04 +01:00
Harald Hoyer
f12f694355
btrfs: Use upstream 64-btrfs.rules
2013-02-22 11:14:04 +01:00
Lars R. Damerow
9a9c6e1256
dracut: write initramfs to temp file then move into place
...
We've been finding cases where multiple instances of dracut can be launched
simultaneously, resulting in a corrupted initramfs file. This patch makes
dracut write the initramfs to a new file, then move it into place atomically.
2013-02-22 11:05:29 +01:00
Harald Hoyer
9c65c125a9
systemd: change path of switch-root.conf
...
we do not have to clean it up for /etc/switch-root.conf
2013-02-21 12:18:21 +01:00
Harald Hoyer
7d4d3f8da6
lvm/module-setup.sh: use for_each_host_dev_and_slaves_all
...
Use for_each_host_dev_and_slaves_all to get all lvm setups for the
host-only case.
Thanks to Olivier Thauvin
2013-02-21 12:13:56 +01:00
Harald Hoyer
569ffe77bf
systemd: add systemd-modules-load.service and hook dirs
2013-02-21 12:13:09 +01:00
Harald Hoyer
a42b2b8133
introduce /usr/lib/dracut/dracut.conf.d/ drop-in directory
...
/usr/lib/dracut/dracut.conf.d/*.conf can be overwritten by the same
filenames in /etc/dracut.conf.d.
Packages should use /usr/lib/dracut/dracut.conf.d rather than
/etc/dracut.conf.d. /etc/dracut.conf.d belongs to the system
administrator.
2013-02-19 17:46:24 +01:00
Harald Hoyer
31ba4de21d
url-lib/url-lib.sh: remove bashism
...
remove the forgotten bashism "+="
2013-02-19 16:13:49 +01:00
Stefan Reimer
a005c47763
base/init.sh: create /run/log
...
If the systemd module is not used /run/log is not created which results
in dangeling softlink from /var/log which causes stuff to fail.
2013-02-18 12:05:23 +01:00
Harald Hoyer
5db6ca5a4b
dracut: enable initramfs building without kernel modules
2013-02-18 12:03:02 +01:00
Harald Hoyer
1a6fdf2417
btrfs: use "btrfs device ready"
2013-02-18 11:58:11 +01:00
Harald Hoyer
27a2c3a406
systemd: services got renamed
2013-02-14 12:32:12 +01:00
Harald Hoyer
b347edfa23
dracut-emergency.service: wants systemd-vconsole-setup.service
2013-02-14 12:32:04 +01:00
Colin Guthrie
3ed09d970e
resume: Ensure we remove the timout job when we find the resume device
2013-02-13 17:46:24 +01:00
Thomas Backlund
a28e2aeefe
kernel-modules: Add ehci support for kernel 3.8+
...
Kernel 3.8 split ehci-hcd into ehci-hcd, ehci-pci and ehci-platform,
so adapt the list to cope with this change.
2013-02-13 17:42:32 +01:00
Wim Muskee
c6a71c7b8a
make nbd port check more robust
...
The following change makes the check for the nbd port or named export
more robust.
I wasn't sure whether to include sed in the dracut_install() of
module-setup.sh since net already does that (and nbd depends on that).
2013-02-11 15:44:11 +01:00
Harald Hoyer
6ecb9a2d68
url-lib/url-lib.sh: add proxy support for curl
2013-02-11 13:56:04 +01:00
Harald Hoyer
918a6874df
url-lib/url-lib.sh: remove bashisms
2013-02-11 13:55:44 +01:00
Harald Hoyer
2663232a01
systemd/dracut-initqueue.sh: call udevadm settle directly
2013-02-11 11:49:19 +01:00
Harald Hoyer
cebab07e68
systemd/dracut-initqueue: run after cryptsetup.target
2013-02-11 11:49:19 +01:00
Harald Hoyer
a04f3077cd
systemd/dracut-pre-pivot.sh: remove /dev/root symlink after shell
2013-02-11 11:49:19 +01:00
Harald Hoyer
04b873598b
systemd: set udev debug/info via config file and report obsolete options
2013-02-11 11:49:19 +01:00
Harald Hoyer
22137f9cac
systemd/dracut-pre-trigger.sh: enable rd.break=pre-trigger debug shell
2013-02-11 11:49:19 +01:00
Harald Hoyer
54665349ec
systemd/dracut-cmdline.sh: create /run/log subdir
2013-02-11 11:49:19 +01:00
Harald Hoyer
f251a89772
systemd/dracut-pre-trigger.service: load service on demand
2013-02-11 11:49:19 +01:00
Harald Hoyer
fbdfa57746
systemd/dracut-pre-udev.service: load service on demand
2013-02-11 11:49:19 +01:00
Harald Hoyer
6b095274fb
systemd: trigger systemd-vconsole-setup.service only on demand
2013-02-11 11:49:19 +01:00
Harald Hoyer
11174408e8
systemd/dracut-initqueue.sh: replace $UDEV_QUEUE_EMPTY
...
for systemd-udevd the version of udevd is high enough
2013-02-11 11:49:19 +01:00
Harald Hoyer
c2117747fd
virtfs: add virtio_pci kernel module
2013-02-11 11:49:19 +01:00
Harald Hoyer
4f6e293308
udev-rules: modify udev rules on initramfs creation time
2013-02-11 11:49:19 +01:00
Harald Hoyer
d9076cac19
btrfs/btrfs_finished.sh: use btrfs device ready for probing
2013-02-08 16:52:38 +01:00
Harald Hoyer
ff52ca1b57
btrfs/80-btrfs.rules: remove modprobe of btrfs module
...
this should be automatically modprobed by the kernel on demand
2013-02-08 16:52:38 +01:00
Harald Hoyer
8a3c4957fc
drm/module-setup.sh: make drm module only install on dependency
2013-02-08 16:52:38 +01:00
Harald Hoyer
3f54a83ca8
dracut.sh: make /var/log a symlink to /run/log
2013-02-08 16:52:38 +01:00
Harald Hoyer
7fa3b9e376
url-lib/url-lib.sh: turn off curl globbing
...
https://bugzilla.redhat.com/show_bug.cgi?id=907497
2013-02-08 16:52:38 +01:00
Harald Hoyer
39135af155
network/ifup.sh: echo in get_vid() instead of using the return value
...
The return value is module 256, so VLAN ids > 255 could not be returned.
2013-02-08 16:52:38 +01:00
Dan Horák
02640e8e65
set peer for point-to-point connections
...
network/net-lib.sh: only set net vars, if they have a value
2013-02-08 16:52:30 +01:00
Frederick Grose
579f385384
Provide devices to enable booting with rd.live.overlay.readonly=1
2013-02-06 13:52:30 +01:00
Kevin Yung
56d60c4b2d
network/ifup.sh: enable bridged vlan interfaces
...
To use vlan for net boot, you need to specify vlan and ip kernel options
for the boot interface. For example,
vlan=eth1.1:eth1 bootdev=eth1.1
ip=1.2.3.4:1.2.3.4::255.255.255.0:my-hostname:eth1:none
To use bridge for net boot, you need to specify bridge and ip kernel
option for the boot interface. For example
bridge=br1:eth1 bootdev=br1
ip=1.2.3.4:1.2.3.4::255.255.255.0:my-hostname:eth1:none
In my environment, I needs to boot machines from network within
a vlan or on a bridged network. I found curent dracut release
if-up.sh script in 40network module bypass ip setting for both
bridge and vlan interface.
2013-02-06 13:52:30 +01:00
Dan Horák
62fd2b3644
fix CTC example in rd.znet
...
The CTC interface uses 2 channels.
2013-02-06 13:52:30 +01:00
Colin Guthrie
cd9072d342
Mount /proc before including dracut-lib.sh.
...
When dracut-lib.sh is sourced it checks the command line (when not using systemd)
as part of the check_quiet() call.
Therefore mount /proc earlier in init.
Avoids the error:
init: 77: /lib/dracut-lib.sh: /proc/cmdline: No such file or directory
2013-02-06 13:52:30 +01:00
Harald Hoyer
19bab59c48
dracut.sh: reverting return value change
...
reverting _get_fs_type() return values of patch
c8d685c9d3
2013-02-05 16:45:42 +01:00
Harald Hoyer
d8b627b9dc
shutdown: call "losetup -D" on shutdown
2013-02-05 11:04:02 +01:00
Harald Hoyer
6320d072a1
mdmon: renamed mdmon-offroot@.service to mdmon@.service
2013-02-05 10:58:06 +01:00
Harald Hoyer
7abeb49878
TODO: updated
2013-02-05 10:58:05 +01:00
Harald Hoyer
14fcfbec3e
network/net-genrules.sh: remove some bashisms
2013-01-30 17:22:25 +01:00
Joe Lawrence
fa9f15e3be
Support out-of-tree and updated drivers in initramfs creation
...
The find_kernel_modules_by_path function shouldn't filter out modules not
located underneath the /lib/modules/ver/kernel directory as out-of-tree
drivers may reside in /lib/modules/ver/extra and updated drivers in
/lib/modules/ver/updates.
Signed-off-by: Joe Lawrence <joe.lawrence@stratus.com>
2013-01-25 13:07:59 +01:00