Make generation of testroot images succeed

sorry, patch was reversed.

correct patch below:
master
Andreas Thienemann 2009-05-21 16:53:52 +02:00 committed by Harald Hoyer
parent 008bb4f22c
commit 3512925ae2
2 changed files with 3 additions and 2 deletions

View File

@ -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
mke2fs /dev/dracut/root
e2mkdir /dev/dracut/root:/proc

View File

@ -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"