]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
Make generation of testroot images succeed
authorAndreas Thienemann <andreas@bawue.net>
Thu, 21 May 2009 14:53:52 +0000 (16:53 +0200)
committerHarald Hoyer <harald@redhat.com>
Mon, 25 May 2009 09:50:20 +0000 (11:50 +0200)
sorry, patch was reversed.

correct patch below:

modules.d/00test/create-root.sh
modules.d/00test/install

index 29c6f95c24b6592611875929999296de183711f3..b6f491269f666caf4d17998eca3cd103bf668954 100755 (executable)
@@ -15,4 +15,5 @@ lvm vgcreate dracut /dev/mapper/dracut_crypt_test
 lvm lvcreate -l 100%FREE -n root dracut
 udevadm settle --timeout=4
 [ -b /dev/dracut/root ] || emergency_shell
-mke2fs /dev/dracut/root
\ No newline at end of file
+mke2fs /dev/dracut/root
+e2mkdir /dev/dracut/root:/proc
index 46a83af044433269bd1b0edffa7cc22284d98067..f534a1c4753cd4a16e36cf4da5d9f814beee38fe 100755 (executable)
@@ -1,5 +1,5 @@
 #!/bin/sh
-dracut_install sfdisk mke2fs poweroff cp umount
+dracut_install sfdisk mke2fs poweroff cp umount e2mkdir
 inst_hook pre-pivot 02 "$moddir/halt.sh"
 inst_hook pre-pivot 01 "$moddir/copy-root.sh"
 inst_hook pre-mount 01 "$moddir/create-root.sh"
\ No newline at end of file