Harald Hoyer
f083930112
ignore generated test images
...
test/initramfs.testing
test/root.ext2
16 years ago
Harald Hoyer
c9a9cf7363
add module for rootfs mounting via udev rules
16 years ago
Harald Hoyer
fea5683693
sleep 0.5 seconds instead of 1
16 years ago
Harald Hoyer
c7e0d91c80
add udevdebug and udevinfo command line arguments
16 years ago
Harald Hoyer
4479cb2b45
move root command line argument parsing to modules
16 years ago
Harald Hoyer
2003e18962
rename "debug" to "ramfsdebug" to differ from the kernel "debug" argument
16 years ago
Harald Hoyer
f5f52afdca
fixed the root kernel command argument
16 years ago
Harald Hoyer
93fea990ec
fixed the creation of the root filesystem
16 years ago
Harald Hoyer
309ed9668b
add udev mount rule module to the test image
16 years ago
Harald Hoyer
ef08521555
only create the /bin/sh symlink to bash, if it does not exist yet
16 years ago
Harald Hoyer
9d5fc7b46e
add filesystem modules to the initrd
16 years ago
Harald Hoyer
48677b2a8f
only install the dash symlink to /bin/sh, if dash is installed
16 years ago
Harald Hoyer
47f151f762
Merge branch 'enhanced-test-framework' of git://fnordovax.org/dracut into test
...
Conflicts:
modules.d/50plymouth/63-luks.rules
modules.d/50plymouth/cryptroot.sh
modules.d/50plymouth/install
modules.d/90crypt/63-luks.rules
modules.d/90crypt/cryptroot.sh
modules.d/90crypt/install
16 years ago
Victor Lowther
37dcb40001
do not use grep to test if sysroot is mounted
16 years ago
Victor Lowther
7bc0e5714b
module 90kernel-modules-loaded
...
On Mon, 2009-03-09 at 16:00 +0100, Harald Hoyer wrote:
> Victor Lowther wrote:
> > How does it handle nfsroot?
>
> not yet.. thus the old hooks are still called. :-/
Hmmm... your udev based resume and root mounting do not work at all for
me. If I do not install the shell-based mount hooks, the root
filesystem never gets mounted -- I have to mount it manually.
Also,
16 years ago
Victor Lowther
6ce3123192
Updated test-init to only create fstab symlink as needed.
16 years ago
Victor Lowther
0abfff0ddf
Don't regenerate the test image when anything changes
...
Only regenerate it if we changed test-init or make-test-root
16 years ago
Victor Lowther
4620284073
Move loading crypt kernel modules to the crypt module
16 years ago
Victor Lowther
9239133486
Minor updates to the testing framework
16 years ago
Victor Lowther
80c9d068b2
Just pass args the kernel passed to us, not /proc/cmdline args.
16 years ago
Victor Lowther
b5c7c7e829
Silence in the initramfs is golden.
...
Get rid of gratuitous text -- we should only talk if asking a question or
if something screwed up.
16 years ago
Victor Lowther
8faaa8f082
Change default install target for udev rules.
...
Also make sure that udev does not complain about a missing rules.d directory.
16 years ago
Victor Lowther
597bd00990
Load all our usual dracut modules
16 years ago
Victor Lowther
35f90aafd2
Move finding and mounting root on block devices into its own hook.
16 years ago
Victor Lowther
99576a2a63
Split out resume handling into its own hook.
16 years ago
Victor Lowther
1b87b9670a
Move parsing rootfs options to a pre-udev hook.
16 years ago
Victor Lowther
5fff86626b
Update plymouth to work with running cryptsetup from a udev rule.
16 years ago
Victor Lowther
fa0115c3c0
Unlock our encrypted root in a udev rule.
16 years ago
Victor Lowther
f81a894eb0
Move processing root options into a pre-udev hook.
...
Also make changes that will make it easier to udevify resuming
from hibernate and mounting root.
16 years ago
Victor Lowther
88ffd2df3f
Update test framework to create and use LVM on cryptroot
16 years ago
Harald Hoyer
8214a17d58
changed mode of modules.d/90dmsetup/check to 0755
16 years ago
Harald Hoyer
04726f4169
removed exit 1 from debug
16 years ago
Harald Hoyer
bb040f9315
trigger root mount via udev rules
16 years ago
Harald Hoyer
85e90fd44b
removed trailing \
16 years ago
Harald Hoyer
ab83e0a6f5
get crypt password with rules
16 years ago
Harald Hoyer
e22d1330d1
Revert "Make plymouth play nice with the current crypt code, part 1"
...
This reverts commit 79ec17c74d
.
16 years ago
Harald Hoyer
f5f9bfee2d
add full patch to /sbin/ip and check for dhclient $pid before kill
16 years ago
Harald Hoyer
a96499538b
ignore testimages
16 years ago
Harald Hoyer
0a98b6d905
do not display "file not found" for /etc/lsb-release
16 years ago
Harald Hoyer
5c86253310
fixed bash error in inst_binary()
...
./dracut-functions: line 108: syntax error near unexpected token `<'
./dracut-functions: line 108: ` done < <(ldd $bin 2>/dev/null)'
16 years ago
Victor Lowther
32d6bc5d75
Modify Makefile to use new test harness
16 years ago
Victor Lowther
c0b5f979a8
Add a very simple test harness
...
This creates a basic root filesystem, creates an initramfs, and tries
to boot to the basic filesystem.
The init code on the test filesystem prints how much memory is used vs. free
and then drops to a shell. Exiting the shell will power off the VM.
16 years ago
Victor Lowther
7bff75da14
Make udevd shut up
...
Do this by loading /etc/group and /lib*/libnss_files.so.* onto the initramfs
16 years ago
Victor Lowther
cac7ac4a45
Fixup 90kernel-modules-loaded
...
The inst functions do not know how to handle directories directly.
Just find the files, and they will create the directories as needed.
16 years ago
Victor Lowther
7f8205e1b8
Make dracutmodules default to "auto"
...
We have OS-specific modules, and it is vital that we skip then on
OSes that they do not apply to.
16 years ago
Victor Lowther
05469ee13e
Remove all files on the initramfs before switching root
...
The code from pjones's tree did not include the recursive remove code,
so I readded it from the nash source code.
16 years ago
Victor Lowther
496d08bb19
Some versions of udevd do not look for rules in /lib/udev/rules.d
...
For those versions, install rules to /etc/udev/rules.d instead.
16 years ago
Victor Lowther
71388098b6
Clean up logic for auto vs. hostonly
...
The mass of conditional checking and multiple variables was a little
hard to read, split some of it into its own function.
16 years ago
Victor Lowther
76c88488c4
Move root option processing into a pre-mount hook.
...
This will make it easier to add support for root on nfs, root on iscsi,
root on multipath, and other such oddities.
16 years ago
Harald Hoyer
5cad5bb50e
add hostonly check procedure
16 years ago