commit: 45a2a4276baa5d638530312d1d5f19bae3b1e8ad
Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
AuthorDate: Sun Mar 24 19:51:25 2019 +0000
Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
CommitDate: Sun Mar 24 19:51:25 2019 +0000
URL: https://gitweb.gentoo.org/proj/genkernel.git/commit/?id=45a2a427
compile_lvm(): No need to call compile_libaio() when LVM_BINCACHE is valid
Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org>
gen_compile.sh | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/gen_compile.sh b/gen_compile.sh
index fe8d9be..d7c417e 100755
--- a/gen_compile.sh
+++ b/gen_compile.sh
@@ -569,12 +569,12 @@ compile_libaio() {
}
compile_lvm() {
- compile_libaio
-
if [[ -f "${LVM_BINCACHE}" && "${LVM_BINCACHE}" -nt
"${LIBAIO_BINCACHE}" ]]
then
print_info 1 "$(getIndent 3)lvm: >> Using cache"
else
+ compile_libaio
+
[ -f "${LVM_SRCTAR}" ] ||
gen_die "Could not find LVM source tarball:
${LVM_SRCTAR}! Please place it there, or place another version, changing
/etc/genkernel.conf as necessary!"
cd "${TEMP}"