Browse Source

parted: changed to check for lvm2 package to enable/disable device-mapper support (see note)

Note:

device-mapper is part of recent lvm2 versions.
user/chris/test/early-mdev
Christian Wiese 14 years ago committed by Christian Wiese
parent
commit
b86dfa498f
  1. 6
      filesystem/parted/parted.conf

6
filesystem/parted/parted.conf

@ -2,7 +2,7 @@
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
# #
# Filename: package/.../parted/parted.conf # Filename: package/.../parted/parted.conf
# Copyright (C) 2007 - 2010 The OpenSDE Project # Copyright (C) 2007 - 2011 The OpenSDE Project
# Copyright (C) 2004 - 2006 The T2 SDE Project # Copyright (C) 2004 - 2006 The T2 SDE Project
# Copyright (C) 1998 - 2004 Clifford Wolf # Copyright (C) 1998 - 2004 Clifford Wolf
# #
@ -20,8 +20,8 @@ var_append GCC_WRAPPER_REMOVE " " "-Werror"
pkginstalled readline || var_append confopt ' ' "--without-readline" pkginstalled readline || var_append confopt ' ' "--without-readline"
# device mapper support # lvm2/device mapper support
if pkginstalled device-mapper; then if pkginstalled lvm2; then
var_append confopt ' ' "--enable-device-mapper" var_append confopt ' ' "--enable-device-mapper"
# configure check for device-mapper fails if it has selinux support # configure check for device-mapper fails if it has selinux support
pkginstalled -f libselinux && export LDFLAGS="-lselinux" pkginstalled -f libselinux && export LDFLAGS="-lselinux"

Loading…
Cancel
Save