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?
2009-05-29 23:07:56 -05:00
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.
2009-05-29 23:07:15 -05:00
Warren Togami
2c54bc996a
Victor pointed out --hostonly doesn't go into check.
2009-05-29 23:56:55 -04:00
Victor Lowther
5a93177819
Merge branch 'master' of ssh://vlowther@dracut.git.sourceforge.net/gitroot/dracut
2009-05-29 17:58:15 -05:00
Victor Lowther
333103217d
Don't create fully generic initramfs'es in the test framework
...
There is no point loading every driver available when we are not testing
network functionality and qemu does not even support the stuff we were
loading. It just wastes time and space.
2009-05-29 17:55:31 -05:00
Warren Togami
2d7d2fdbbb
Properly detect -H and --hostonly mode
2009-05-29 18:38:49 -04:00
Warren Togami
adfe014640
Remove redundant modprobe.d copy
2009-05-29 13:20:33 -04:00
Victor Lowther
626902f67b
Merge branch 'master' of ssh://vlowther@dracut.git.sourceforge.net/gitroot/dracut
2009-05-29 06:50:37 -05:00
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.
2009-05-29 01:14:59 -04:00
Victor Lowther
1a918b40b6
Log dracut output.
...
If we are installed, log to /var/log/dracut.log.
If we are not installed, log to /tmp/dracut.log
2009-05-28 21:41:05 -05:00
Victor Lowther
c93d9f6265
Fix firmware installation.
...
Instead of calling firmware checking once per instmods invocation,
call only when we install an actual module on the initramfs.
2009-05-28 21:13:16 -05:00
Victor Lowther
06558b3ee4
Make nfsroot work with hostonly mode.
2009-05-28 21:02:14 -05:00
Warren Togami
c1143d3d6c
Filesystem modules already included in =fs, no runtime detection allowed in default dracut
2009-05-28 16:29:22 -04:00
Warren Togami
ba126e82af
$drivers specified from .conf or --drivers get copied once, instead of multiple times with other calls to instmods()
2009-05-28 15:55:44 -04:00
Warren Togami
e19d6bf603
Disambiguate modules and drivers. modules are dracutmodules. drivers are kernel modules.
2009-05-28 14:27:02 -04:00
David Dillow
aa43d0b0df
More runtime files to /tmp
2009-05-27 22:54:03 -04:00
Warren Togami
3da5856981
Move all files generated during initrd runtime to /tmp
2009-05-27 22:41:18 -04:00
Warren Togami
6941b1b556
Make /sbin/nfsroot executable
2009-05-27 14:35:15 -04:00
Harald Hoyer
4127130480
prefixed more internal command line options with "rd"
...
break -> rdbreak
netdebug -> rdnetdebug
2009-05-27 14:56:20 +02:00
Harald Hoyer
ee0deb9918
better handling of mount moving rpc_pipefs
2009-05-27 14:21:52 +02:00
Harald Hoyer
77f6725c4e
install umount for nfsroot
2009-05-26 18:08:56 +02:00
Andreas Thienemann
5fa499403f
cleanup environment before calling real init
2009-05-26 18:08:19 +02:00
Andreas Thienemann
e89bf85757
Prevent unnecessary installation of bash if bash. Same goes for dash.
2009-05-26 18:06:56 +02:00
Victor Lowther
08d924f6a8
Actaully make 95udev-rules.ub810/check work
2009-05-25 17:08:04 -05:00
Victor Lowther
b6405a630b
Fix potential bug that might cause us to load the wrong module in case
...
the module names are too similar.
2009-05-25 17:01:21 -05:00
Victor Lowther
cfc5b698e6
Add dependency info to the plymouth modules and the nfsroot module.
...
No point in making it easy for them to fail.
2009-05-25 16:59:17 -05:00
Victor Lowther
1e19548857
Add check files for network and nfsroot
...
This way dracut will not try to install them if the system does not have
the needed prerequisites.
2009-05-25 16:35:57 -05:00
Victor Lowther
fa9763f52a
Make check scripts for 90dmraid and 90dmsetup actually work.
2009-05-25 11:52:17 -05:00
Victor Lowther
a0c2cee947
Get rid of dependency on e2mkdir
...
If we install copy-root as a mount hook, it will be run after the root fs
is mounted and it will make hte proc directory, allowing root filesystem
creation to finish without error.
2009-05-25 11:44:42 -05:00
Harald Hoyer
16a775be26
Revert "root=dhcp"
...
This reverts commit 4c715d64b2
.
2009-05-25 18:24:13 +02:00
Harald Hoyer
c9f0e1f9a5
add "#!/bin/bash" to test.sh
2009-05-25 18:14:26 +02:00
Harald Hoyer
65f14ce19c
renamed internal command line options to rd* namespace
...
ramfsdebug -> rdinitdebug
udevinfo -> rdudevinfo
udevdebug -> rdudevdebug
2009-05-25 17:59:21 +02:00
Harald Hoyer
1faecdc1d3
exit 0 on end of dracut
2009-05-25 17:50:10 +02:00
Victor Lowther
fe9143d9ca
Move content of 00test module into the test subdir
...
The last changes made the 00test module really awkward anyways, so just
hack the test module into the initramfs in a slight more brutal fashion.
2009-05-25 17:49:56 +02:00
Victor Lowther
0c2e3d1221
Add infrastructure for dracut module dependency checking.
...
This also eliminates --skip-missing. Check scripts should now check
to ensure that any files and settings they will copy from the host
system actually exist when called without arguments.
The check scripts are also updated to not try to source dracut-functions
which(1) is a perfectly good way of checking if a command is on the path.
2009-05-25 17:49:39 +02:00
Harald Hoyer
02b47109cf
add small test script to create a minimal root in /mnt/root
2009-05-25 16:51:10 +02:00
Harald Hoyer
443a72d0cf
chmod u+x modules.d/40nfsroot/install
2009-05-25 16:49:26 +02:00
Harald Hoyer
5a87522d49
use 40nfsroot
2009-05-25 16:49:10 +02:00
Harald Hoyer
e6db216f0b
move /var/lib/nfs/rpc_pipefs to NEWROOT only if directory exists
2009-05-25 16:48:36 +02:00
Harald Hoyer
4c715d64b2
root=dhcp
2009-05-25 16:48:19 +02:00
Harald Hoyer
28df9479e1
make root=dhcp work
2009-05-25 16:48:01 +02:00
Harald Hoyer
9faf9b0690
do not ignore old test files
2009-05-25 15:33:19 +02:00
Harald Hoyer
0e14fae0fe
use 40nfsroot instead of 95NFS
2009-05-25 15:32:30 +02:00
Harald Hoyer
9223814d59
do not trap if hostname is empty
2009-05-25 15:32:30 +02:00
Harald Hoyer
c00f04f57a
introduce modular test suite
2009-05-25 15:32:26 +02:00
Harald Hoyer
2f692e8ff8
silently run qemu
2009-05-25 14:11:24 +02:00
Harald Hoyer
2d75d55330
add dinfo which module is handled currently
2009-05-25 14:10:45 +02:00
Harald Hoyer
22fd162777
for "-l" search dracut-functions relative to dracut path
2009-05-25 14:09:57 +02:00
Harald Hoyer
b649f1c21b
let find_rule find absolute path rules
2009-05-25 14:08:39 +02:00
David Dillow
f6f74096f6
nfsroot: mount NFS root from udev rules
...
Work-in-progress to mount NFS root from udev, using the DHCP options and
allowing an override from the kernel command line. Supports NFSv4 w/locking
and NFSv2/v3 with nolock.
This is just an RFC patch, you'll note all the XXX markings where I've been
thinking about how to best do things. In addition, we really want to retry
DHCP and NFS mounting in a loop, in case the servers are down or overloaded
like when booting a full diskless cluster.
2009-05-25 12:19:38 +02:00