diff options
author | Thomas Deutschmann <whissi@gentoo.org> | 2019-03-24 20:51:25 +0100 |
---|---|---|
committer | Thomas Deutschmann <whissi@gentoo.org> | 2019-03-24 20:51:25 +0100 |
commit | 45a2a4276baa5d638530312d1d5f19bae3b1e8ad (patch) | |
tree | f6c1c67e7f48dbfbed1d641dac361bf425f0706a /gen_compile.sh | |
parent | New unionfs-fuse GitHub mirror uses tar.gz instead of tar.bz2 (diff) | |
download | genkernel-45a2a4276baa5d638530312d1d5f19bae3b1e8ad.tar.gz genkernel-45a2a4276baa5d638530312d1d5f19bae3b1e8ad.tar.bz2 genkernel-45a2a4276baa5d638530312d1d5f19bae3b1e8ad.zip |
compile_lvm(): No need to call compile_libaio() when LVM_BINCACHE is valid
Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
Diffstat (limited to 'gen_compile.sh')
-rwxr-xr-x | gen_compile.sh | 4 |
1 files 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}" |