Harald Hoyer
53759538cb
fix udevtriggeropts
16 years ago
Harald Hoyer
91b1157500
add support to specify additional udev trigger options
16 years ago
Warren Togami
2c02c8318c
Ensure KMS drivers are loaded before plymouth.
16 years ago
Warren Togami
dff7ea6864
No longer needed, already ran in pre-trigger
16 years ago
Harald Hoyer
27a101f47c
simplify plymouth startup
16 years ago
Harald Hoyer
071bd6e1a0
don't run plymouth --show-splash from udev rule
...
we have to run it no matter what, so don't rely on a rule
16 years ago
Harald Hoyer
1eeddd31af
run udevadm trigger for graphics for plymouth in pre-trigger hook
16 years ago
Warren Togami
0a56724cd6
plymouth0.7: Launch plymouth --show-splash from udev event, and once before switch_root in case it didn't start
16 years ago
Warren Togami
e9b1426eb7
Detect KMS capable drm drivers instead of hard coded list.
16 years ago
Harald Hoyer
87ce134e08
preserve the original root= variable
16 years ago
Harald Hoyer
92bfa4c6e3
use iscsi-iname to generate the initiator name, if not specified
16 years ago
Harald Hoyer
61537c7de6
override commandline/conf options by root_path
16 years ago
Harald Hoyer
34cb684936
removed debug code
16 years ago
Harald Hoyer
ac4ded9128
add iSCSI module
16 years ago
Harald Hoyer
4332e5f71f
install cat for network module
16 years ago
Harald Hoyer
cff3457e32
fixed fstype mount options
16 years ago
Warren Togami
d0c7d42b3e
plymouth-0.7: details.so must be copied as well
16 years ago
David Dillow
ebd5615489
strip block: off root= when using the mount hooks
...
I'm not sure they are still used, but if so they need to
trim the prefix.
16 years ago
David Dillow
b4dc8ad346
Allow NFS and NBD to be built into the kernel
...
Probe for NFS and NBD capability before trying to load their modules
in case they are built into the kernel. Ugly use of flag files, but
avoids the need for grep to be on the image.
16 years ago
David Dillow
7132e6a346
Remove dependency on /bin/echo
...
Actually cut the last dependency on //bin/echo for resume.
16 years ago
David Dillow
92997caf35
cleanup shebangs in sourced scripts
...
All of the scripts are sourced, so there is no need to have
will pick up on the .sh extension.
16 years ago
Warren Togami
4f0e32751f
nfs needs sunrpc
16 years ago
Warren Togami
9dcf9cef38
Include only wired ethernet drivers, explicitly exclude wireless.
...
(If you REALLY want wireless boot, you need to write your own module to configure it properly.)
16 years ago
Warren Togami
e902c65391
plymouth-0.7: fully install default theme and associated plugin
16 years ago
Victor Lowther
4eba843dde
Revert --resolve-names=never in init
...
That flag is too new to work on most shipping distros, so fall back to
including /etc/group and the libnss_files.
16 years ago
David Dillow
2b117123ec
Add NBD support
...
This adds basic support for root on a network block device to
the netroot framework.
16 years ago
David Dillow
5103130352
nfsroot: move to netroot framework
...
Parse and convert commandline options in the cmdline hook, and
fill in the missing pieces in the netroot hook. This also allows
root=dhcp to work as expected.
16 years ago
David Dillow
7d7efa4a3d
netroot: add common handler for network root devices
...
/sbin/netroot is a jumping off point to allow various network
root devices to share infrastructure. It will loop over scriptlets
in the netroot handler, looking for a handler to run for this type
of netroot. Handlers can do choose to act based on command line
options to the kernel, or via DHCP options received on this interface.
They should massage root= into a form suitable for their handler.
16 years ago
David Dillow
ae5bc1fd8a
dracut-lib: add source_all to library
...
The network root handler will need this.
16 years ago
David Dillow
9810ce7e38
resume: add support for labeled resume devices
...
I noticed when doing the block root= parser that resume
didn't support labeled resume devices. Fix that up and
get rid of a dependency on /bin/echo in the process.
16 years ago
David Dillow
d15c7a1ab7
cmdline: cleanup handling and block: handler
...
Now init checks that we understood the root= option, and can
act upon it, presenting and error if not. Also, clean up the
generation of udev rules such that we don't require /bin/echo.
16 years ago
David Dillow
e450281431
dracut: add cmdline hook
...
This hook is where each module should parse kernel command line
options and perform any legacy translation.
16 years ago
David Dillow
5c123162ed
block root: split out resume parsing and udev rules
...
We have a resume module, and these rules should live in it. Modify
the sort order a bit to ensure the resume rules continue to execute
first.
16 years ago
David Dillow
145ca9e5b3
nfsroot: move to same sort order as block methods
...
There is no reason for this to be a 40nfsroot rather than 95nfs
once other network root handlers are added. Go ahead and move it.
16 years ago
Victor Lowther
e314863e67
Several updates to make dracut a bit more robust.
...
First, add a check script to 99base to ensure that it will load its
prerequisites.
Second, disable the udev magic dracut normally uses when generating
test images -- it was causing random failures when creating the test
root filesystem, presumably due to race conditions between the
rootfs creation scripts and udev.
Third, consolidate the rootfs creation scripts into one script.
16 years ago
Victor Lowther
5033486389
Have udevd never try to resolve user or group ownership of devices.
...
This gets rid of the need to have potentially security-sensitive files
like /etc/passwd and /etc/group in the initramfs, and makes the initramfs
a bit smaller. We trust the final userspace to do The Right Thing when
assigning user/group ownership to devices.
16 years ago
Victor Lowther
f3fb8d8074
Modify the check script so that 40network will only load as a
...
dependency on another module.
16 years ago
Victor Lowther
3774d3cc15
Removed 90kernel-modules-loaded.
...
Sure, it will load all the modules that are currently installed into the
initramfs. Why was this a good thing, again?
16 years ago
Victor Lowther
66ac3cd1f0
Update check scripts in modules to make them work again.
...
Also got rid of "dracutmodules=hostonly". We have --hostonly, and it
does the same thing.
16 years ago
Warren Togami
2c54bc996a
Victor pointed out --hostonly doesn't go into check.
16 years ago
Warren Togami
2d7d2fdbbb
Properly detect -H and --hostonly mode
16 years ago
Warren Togami
adfe014640
Remove redundant modprobe.d copy
16 years ago
Warren Togami
642e160c0e
Install KMS drivers. It sucks to have a hard coded list, but there is no clean way of doing this distro-neutral at the moment.
16 years ago
Victor Lowther
06558b3ee4
Make nfsroot work with hostonly mode.
16 years ago
Warren Togami
c1143d3d6c
Filesystem modules already included in =fs, no runtime detection allowed in default dracut
16 years ago
Warren Togami
ba126e82af
$drivers specified from .conf or --drivers get copied once, instead of multiple times with other calls to instmods()
16 years ago
Warren Togami
e19d6bf603
Disambiguate modules and drivers. modules are dracutmodules. drivers are kernel modules.
16 years ago
David Dillow
aa43d0b0df
More runtime files to /tmp
16 years ago
Warren Togami
3da5856981
Move all files generated during initrd runtime to /tmp
16 years ago
Warren Togami
6941b1b556
Make /sbin/nfsroot executable
16 years ago