Remove unpacking of device-mapper for lvm2
authorPeter Hjalmarsson <xake@rymdraket.net>
Fri, 28 Jan 2011 17:54:40 +0000 (18:54 +0100)
committerSebastian Pipping <sebastian@pipping.org>
Sat, 29 Jan 2011 14:35:12 +0000 (15:35 +0100)
Newer versions of lvm2 does include device-mapper

gen_compile.sh

index 49caf91330053c894a59362e40150c00ef7b398b..cc72925b3752e9cd8da7cfa4cb0d85822dfbbc08 100755 (executable)
@@ -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...'