]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
Minor updates to the testing framework
authorVictor Lowther <victor.lowther@gmail.com>
Fri, 20 Mar 2009 08:34:30 +0000 (03:34 -0500)
committerVictor Lowther <victor.lowther@gmail.com>
Fri, 20 Mar 2009 08:34:30 +0000 (03:34 -0500)
test/make-test-root
test/test-init

index f310d5f687ebdd223ab5d4ffe30249be1b749d72..6b6ea81784a23e4e83463772a105bb59bed213c2 100755 (executable)
@@ -12,7 +12,7 @@ targetfs="$initdir"
 unset initdir
 dd if=/dev/zero of=test/root.ext2 bs=1M count=20
 ./dracut -l -i "$targetfs" /source \
-    -m "dash kernel-modules test crypt lvm udev-rules base" \
+    -m "dash kernel-modules test crypt lvm udev-rules base rootfs-block" \
     -d "ata_piix ext2 sd_mod" \
     -f test/initramfs.makeroot
 
index 63fde1ecafcb63363556da1beb424586c5f1dcc7..67563f84ff67949dd397636783408727400a3051 100755 (executable)
@@ -1,8 +1,8 @@
 #!/bin/sh
 exec >/dev/console 2>&1
 export TERM=linux
-ln -s /proc/mounts /etc/mtab
-export PS1='initramfs-test:\w\$'
+export PS1='initramfs-test:\w\$ '
+ln -s /proc/mounts /etc/fstab
 stty sane
 echo "made it to the rootfs!"
 echo 3 >/proc/sys/vm/drop_caches