Harald Hoyer
fc1abcfa1f
dmsquash-live: add initqueue-finished
2009-09-19 10:51:34 +02:00
Harald Hoyer
c53acc3015
lvm: add rd_NO_LVMCONF
2009-09-18 12:28:36 +02:00
Harald Hoyer
7a34efa5c4
md/dm/lvm: install pre-pivot cleanup hooks only if actually needed
...
- removed dmraid cleanup
- only call lvm cleanup, if no lvm.conf provided
- copy over lvm.conf by default
- add --nolvmconf --lvmconf parameters
2009-09-18 12:20:21 +02:00
Harald Hoyer
2727e45b43
kernel-modules: force install of scsi_wait_scan in hostonly mode
2009-09-18 12:20:04 +02:00
Harald Hoyer
5e5ec023be
dracut-gencmdline: add missing functions
2009-09-18 09:08:23 +02:00
Hans de Goede
d6a5b04043
Recognize nodmraid and noiswmd kernel cmdline options
...
Recognize nodmraid and noiswmd kernel cmdline options, for anaconda /
rc.sysinit / mkinitrd compatibility.
2009-09-18 08:58:14 +02:00
Hans de Goede
1de9edc06e
Do not stop / start udev exec-queue around "mdadm -As --run"
...
When assembling containers + embedded arrays from mdadm.conf,
mdadm needs the /dev/md# node for the container to assemble the
arrays within the container. Stopping the udev exec queue, results in
this node not getting created and mdadm failing to online the
arrays within the container.
Not having stop / start udev exec-queue around "mdadm -As --run" should
be safe as the exact same command is run from rc.sysinit without
any queue locking.
2009-09-18 08:15:59 +02:00
Harald Hoyer
9a99c974a4
version 002
2009-09-17 17:52:00 +02:00
Quentin Armitage
bf84ee3c7c
dracut : remove extraneous output to screen during execution
2009-09-17 17:48:02 +02:00
Harald Hoyer
f8545d04b7
dracut: use and export PATH=/sbin:/bin:/usr/sbin:/usr/bin
...
There's no need for /usr/local to be in our paths at all, nor to
include a :$PATH at the end. The path should be exported though,
so modules don't have to worry about finding things.
2009-09-17 16:36:08 +02:00
Harald Hoyer
e73c975bad
dracut.spec: inc release
2009-09-17 16:36:08 +02:00
Harald Hoyer
0f7e10cef4
mdraid: save state dir for mdmon/mdadm for the real root
2009-09-17 12:13:54 +02:00
Harald Hoyer
689f9b8af7
create /var/run in 99base
2009-09-17 12:10:48 +02:00
Harald Hoyer
654cbf0687
dracut.spec: removed gittags
2009-09-16 16:25:47 +02:00
Harald Hoyer
041b0d76ca
dracut.spec: update changelog
2009-09-16 16:24:54 +02:00
Harald Hoyer
24bac034d1
65-md-incremental-imsm.rules: check if md raid is already running
2009-09-16 16:10:09 +02:00
Harald Hoyer
094097fab3
lvm/dm/md: switch from lockfiles to $sys/$devpath/holders/*
...
This is a more sane solution, than ignoring subsequent "change" events.
The only danger is that we could loop, if a lvm scan triggers a broken
md partition, which triggers a broken PV and so on.
Better fix the scanning tools, not to emit change events for devices,
if no action was taken.
2009-09-16 15:34:13 +02:00
Harald Hoyer
26fbe9a101
TEST-14-IMSM: rd_NO_DM rd_NO_MDIMSM rd_NO_MDADMCONF succeeds now
...
This test succeeds, because the mirror parts are found without
assembling the mirror itsself, which is what we want
client_run rd_NO_DM rd_NO_MDIMSM rd_NO_MDADMCONF || return 1
2009-09-16 15:32:55 +02:00
Harald Hoyer
f8ddafcca2
TEST-11-LVM: add rdinfo
2009-09-16 15:32:29 +02:00
Hans de Goede
04a8f224c1
Add ifname= argument for persistent netdev names
...
ifname=<interface>:<MAC>
Assign network device name <interface> (ie eth0) to the NIC
with MAC <MAC>.
Note that if you use this option you *must* specify an ifname=
argument for all interfaces used in ip= or fcoe= arguments
2009-09-16 15:01:08 +02:00
Harald Hoyer
597839331c
dmraid: use and install kpartx for dmraids
2009-09-16 11:21:24 +02:00
Hans de Goede
26b72485cf
90dmraid: use kpartx to scan for partitions
2009-09-16 11:20:57 +02:00
Harald Hoyer
7dbaf59ccf
10rpmversion/install: fix non-rpm install
2009-09-16 11:18:22 +02:00
Harald Hoyer
95cf0a8803
10rpmversion,dracut.spec: generate version file and install it
2009-09-16 10:43:50 +02:00
Harald Hoyer
1dd5bc3fba
add udevproperty() to dracut-lib and use it
...
newer versions of udev use --property instead of --env
2009-09-16 10:43:50 +02:00
Warren Togami
bf55e2c5d3
dmsquash-live-root requires umount
2009-09-15 17:17:57 -04:00
Harald Hoyer
4d92475240
changelog/NEWS update
2009-09-15 15:54:14 +02:00
Harald Hoyer
a52586e8ea
network: break udevsettle early
2009-09-15 15:38:53 +02:00
Hans de Goede
5759574b26
Document that MAC addresses must be lowercase
2009-09-15 15:14:19 +02:00
Hans de Goede
56580efe68
Document netroot=fcoe:....
2009-09-15 15:14:19 +02:00
Hans de Goede
68f28d6976
Add ifname= argument for persistent netdev names
...
ifname=<interface>:<MAC>
Assign network device name <interface> (ie eth0) to the NIC with MAC <MAC>.
Note that if you use this option you *must* specify an ifname= argument
for all interfaces used in ip= or fcoe= arguments
2009-09-15 15:13:21 +02:00
Harald Hoyer
5c3f5746bb
90mdraid/65-md-incremental-imsm.rules: first set initqueue-finished,
...
then initqueue-settled
also introduce md_finished.sh to check for all md activity to be settled
2009-09-15 15:00:25 +02:00
Harald Hoyer
54a73cbb2b
dracut-lib.sh: change -f to -e to allow symlinks
2009-09-15 15:00:24 +02:00
Harald Hoyer
ab0f04844b
10rpmversion: try to get the correct dracut rpm version during %post
2009-09-15 15:00:24 +02:00
Harald Hoyer
ad8f03af22
TEST-14-IMSM: "rd_NO_DM rd_NO_MDIMSM rd_NO_MDADMCONF" fails
2009-09-15 15:00:24 +02:00
Harald Hoyer
3329f92136
90crypt/70-luks.rules: set unique name for initqueue job
2009-09-15 15:00:24 +02:00
Harald Hoyer
c27ec060da
95rootfs-block/block-genrules.sh: beautify code
2009-09-15 15:00:24 +02:00
Harald Hoyer
82b2189d01
initqueue-finished: fail also on empty queue
2009-09-15 15:00:24 +02:00
Harald Hoyer
4ce52970c0
initqueue: first remove the job, then execute it
2009-09-15 15:00:24 +02:00
Harald Hoyer
99433dd289
90mdraid: only switch mdmon to new root, if an instance is running
2009-09-15 15:00:23 +02:00
Harald Hoyer
b94c520660
plymouth: add rd_NO_PLYMOUTH
2009-09-15 15:00:23 +02:00
Harald Hoyer
2f02ae9d45
mdraid: add rd_NO_MDADMCONF --mdadmconf --nomdadmconf
...
Copy /etc/mdadm.conf to initramfs (even for non-hostonly) if
mdadmconf="yes" is set in dracut.conf or --mdadmconf is specified on the
dracut command line.
This was done, because there seems _no_ sane way to autoassemble md raid
arrays.
also moved rd_NO_MD to an udev ENV
2009-09-15 15:00:18 +02:00
Harald Hoyer
11fcc8c8f9
95resume/install: give resume higher prio than mount
2009-09-15 11:17:28 +02:00
Harald Hoyer
e8cf498dcc
95rootfs-block/mount-root.sh: ignore /.resume
2009-09-15 11:17:28 +02:00
Harald Hoyer
2178a00eea
95resume: simplyfy rules and also recognize blkid typo
2009-09-15 11:17:27 +02:00
Harald Hoyer
33ff830c1b
90dmraid: switch rd_NO_DM to udev ENV
2009-09-15 11:17:27 +02:00
Harald Hoyer
5a8d8dfbb6
switch modules to initqueue-finished
2009-09-15 11:17:22 +02:00
Harald Hoyer
8238850caa
init: add initqueue-finished
...
/initqueue-finished/*.sh are scripts, which return != 0, if the main
loop still has pending jobs to do.
2009-09-15 08:47:47 +02:00
Harald Hoyer
fc3c64c8d4
dracut: determine path to dracut-functions
2009-09-14 19:35:18 +02:00
Harald Hoyer
1888e57bf9
plymouth: grep for PLYMOUTH_POPULATE_SOURCE_FUNCTIONS
2009-09-14 19:34:30 +02:00