Harald Hoyer
8d85429a44
dracut-functions.sh: add dracut_need_initqueue() dracut_module_included()
...
for all rules files, which reference initqueue also call
dracut_need_initqueue()
12 years ago
Harald Hoyer
3e4ab73cd4
test: make testsuite work with systemd
12 years ago
Harald Hoyer
4e32b2e916
test: removed unused cryptroot-ask.sh scripts
12 years ago
Harald Hoyer
356333b331
test: add finished-false.sh for create-root.sh initqueue job
12 years ago
Harald Hoyer
f62f3a2191
reset initqueue loop counter only if new uevents exist
12 years ago
Harald Hoyer
389333396a
resume: move resume hook from mount to pre-mount
12 years ago
Harald Hoyer
cfb7410cd0
mdraid/mdraid_start.sh: remove mdmon workaround
12 years ago
Harald Hoyer
f672b1c399
btrfs/btrfs_timeout.sh: do not "exit 0"
12 years ago
Harald Hoyer
f12f694355
btrfs: Use upstream 64-btrfs.rules
12 years ago
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.
12 years ago
Harald Hoyer
9c65c125a9
systemd: change path of switch-root.conf
...
we do not have to clean it up for /etc/switch-root.conf
12 years ago
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
12 years ago
Harald Hoyer
569ffe77bf
systemd: add systemd-modules-load.service and hook dirs
12 years ago
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.
12 years ago
Harald Hoyer
31ba4de21d
url-lib/url-lib.sh: remove bashism
...
remove the forgotten bashism "+="
12 years ago
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.
12 years ago
Harald Hoyer
5db6ca5a4b
dracut: enable initramfs building without kernel modules
12 years ago
Harald Hoyer
1a6fdf2417
btrfs: use "btrfs device ready"
12 years ago
Harald Hoyer
27a2c3a406
systemd: services got renamed
12 years ago
Harald Hoyer
b347edfa23
dracut-emergency.service: wants systemd-vconsole-setup.service
12 years ago
Colin Guthrie
3ed09d970e
resume: Ensure we remove the timout job when we find the resume device
12 years ago
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.
12 years ago
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).
12 years ago
Harald Hoyer
6ecb9a2d68
url-lib/url-lib.sh: add proxy support for curl
12 years ago
Harald Hoyer
918a6874df
url-lib/url-lib.sh: remove bashisms
12 years ago
Harald Hoyer
2663232a01
systemd/dracut-initqueue.sh: call udevadm settle directly
12 years ago
Harald Hoyer
cebab07e68
systemd/dracut-initqueue: run after cryptsetup.target
12 years ago
Harald Hoyer
a04f3077cd
systemd/dracut-pre-pivot.sh: remove /dev/root symlink after shell
12 years ago
Harald Hoyer
04b873598b
systemd: set udev debug/info via config file and report obsolete options
12 years ago
Harald Hoyer
22137f9cac
systemd/dracut-pre-trigger.sh: enable rd.break=pre-trigger debug shell
12 years ago
Harald Hoyer
54665349ec
systemd/dracut-cmdline.sh: create /run/log subdir
12 years ago
Harald Hoyer
f251a89772
systemd/dracut-pre-trigger.service: load service on demand
12 years ago
Harald Hoyer
fbdfa57746
systemd/dracut-pre-udev.service: load service on demand
12 years ago
Harald Hoyer
6b095274fb
systemd: trigger systemd-vconsole-setup.service only on demand
12 years ago
Harald Hoyer
11174408e8
systemd/dracut-initqueue.sh: replace $UDEV_QUEUE_EMPTY
...
for systemd-udevd the version of udevd is high enough
12 years ago
Harald Hoyer
c2117747fd
virtfs: add virtio_pci kernel module
12 years ago
Harald Hoyer
4f6e293308
udev-rules: modify udev rules on initramfs creation time
12 years ago
Harald Hoyer
d9076cac19
btrfs/btrfs_finished.sh: use btrfs device ready for probing
12 years ago
Harald Hoyer
ff52ca1b57
btrfs/80-btrfs.rules: remove modprobe of btrfs module
...
this should be automatically modprobed by the kernel on demand
12 years ago
Harald Hoyer
8a3c4957fc
drm/module-setup.sh: make drm module only install on dependency
12 years ago
Harald Hoyer
3f54a83ca8
dracut.sh: make /var/log a symlink to /run/log
12 years ago
Harald Hoyer
7fa3b9e376
url-lib/url-lib.sh: turn off curl globbing
...
https://bugzilla.redhat.com/show_bug.cgi?id=907497
12 years ago
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.
12 years ago
Dan Horák
02640e8e65
set peer for point-to-point connections
...
network/net-lib.sh: only set net vars, if they have a value
12 years ago
Frederick Grose
579f385384
Provide devices to enable booting with rd.live.overlay.readonly=1
12 years ago
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.
12 years ago
Dan Horák
62fd2b3644
fix CTC example in rd.znet
...
The CTC interface uses 2 channels.
12 years ago
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
12 years ago
Harald Hoyer
19bab59c48
dracut.sh: reverting return value change
...
reverting _get_fs_type() return values of patch
c8d685c9d3
12 years ago
Harald Hoyer
d8b627b9dc
shutdown: call "losetup -D" on shutdown
12 years ago