From db307cd351c754657ede779a1c84d9cc0b59c325 Mon Sep 17 00:00:00 2001 From: Peter Hjalmarsson Date: Fri, 28 Jan 2011 18:54:40 +0100 Subject: [PATCH] Remove unpacking of device-mapper for lvm2 Newer versions of lvm2 does include device-mapper --- gen_compile.sh | 4 ---- 1 file changed, 4 deletions(-) diff --git a/gen_compile.sh b/gen_compile.sh index 49caf91..cc72925 100755 --- a/gen_compile.sh +++ b/gen_compile.sh @@ -427,10 +427,6 @@ compile_lvm() { gen_die 'Could not extract LVM source tarball!' [ -d "${LVM_DIR}" ] || gen_die 'LVM directory ${LVM_DIR} is invalid!' - rm -rf "${TEMP}/device-mapper" > /dev/null - /bin/tar -jxpf "${DEVICE_MAPPER_BINCACHE}" -C "${TEMP}" || - gen_die "Could not extract device-mapper binary cache!"; - cd "${LVM_DIR}" apply_patches lvm ${LVM_VER} print_info 1 'lvm: >> Configuring...'