Make generation of testroot images succeed
sorry, patch was reversed. correct patch below:master
parent
008bb4f22c
commit
3512925ae2
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
Loading…
Reference in New Issue