Remove unpacking of device-mapper for lvm2

Newer versions of lvm2 does include device-mapper
cleanup-cruft
Peter Hjalmarsson 14 years ago committed by Sebastian Pipping
parent 12727340c5
commit db307cd351

@ -427,10 +427,6 @@ compile_lvm() {
gen_die 'Could not extract LVM source tarball!' gen_die 'Could not extract LVM source tarball!'
[ -d "${LVM_DIR}" ] || [ -d "${LVM_DIR}" ] ||
gen_die 'LVM directory ${LVM_DIR} is invalid!' 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}" cd "${LVM_DIR}"
apply_patches lvm ${LVM_VER} apply_patches lvm ${LVM_VER}
print_info 1 'lvm: >> Configuring...' print_info 1 'lvm: >> Configuring...'

Loading…
Cancel
Save