diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-05-10 23:44:42 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-05-10 23:44:42 +0100 |
commit | f356af92b88d56b78588e81310493d4f5a2f6d18 (patch) | |
tree | 0326fb33173ae3d096527af28f85685515533fbb /sys-fs/lvm2/files/lvm2-2.03.20-lvm2create_initrd.patch | |
parent | 560358ad7081e6bb2a4e097d4c442b0bab626163 (diff) |
gentoo auto-resync : 10:05:2023 - 23:44:41
Diffstat (limited to 'sys-fs/lvm2/files/lvm2-2.03.20-lvm2create_initrd.patch')
-rw-r--r-- | sys-fs/lvm2/files/lvm2-2.03.20-lvm2create_initrd.patch | 19 |
1 files changed, 13 insertions, 6 deletions
diff --git a/sys-fs/lvm2/files/lvm2-2.03.20-lvm2create_initrd.patch b/sys-fs/lvm2/files/lvm2-2.03.20-lvm2create_initrd.patch index 59aaa9b34a08..007b2b5c1e3a 100644 --- a/sys-fs/lvm2/files/lvm2-2.03.20-lvm2create_initrd.patch +++ b/sys-fs/lvm2/files/lvm2-2.03.20-lvm2create_initrd.patch @@ -1,5 +1,5 @@ ---- LVM2.2.02.56/scripts/lvm2create_initrd/lvm2create_initrd.orig 2006-11-21 22:41:56.000000000 +0000 -+++ LVM2.2.02.56/scripts/lvm2create_initrd/lvm2create_initrd 2009-12-26 01:47:08.025224602 +0000 +--- a/scripts/lvm2create_initrd/lvm2create_initrd ++++ b/scripts/lvm2create_initrd/lvm2create_initrd @@ -54,7 +54,9 @@ DEVRAM=/tmp/initrd.$$ @@ -65,8 +65,15 @@ if [ $? -ne 0 ]; then echo "$cmd -- ERROR creating directories in $TMPMNT" cleanup 1 -@@ -499,4 +508,3 @@ - FINALTXT +@@ -460,9 +469,9 @@ + rmdir $TMPMNT/lost+found + + echo "$cmd -- ummounting ram disk" +-umount $DEVRAM ++umount $TMPMNT + if [ $? -ne 0 ]; then +- echo "$cmd -- ERROR umounting $DEVRAM" ++ echo "$cmd -- ERROR umounting $TMPMNT" + cleanup 1 + fi - cleanup 0 -- |