Lines 417-423
compile_busybox() {
Link Here
|
417 |
} |
417 |
} |
418 |
|
418 |
|
419 |
compile_lvm() { |
419 |
compile_lvm() { |
420 |
compile_device_mapper |
|
|
421 |
if [ ! -f "${LVM_BINCACHE}" ] |
420 |
if [ ! -f "${LVM_BINCACHE}" ] |
422 |
then |
421 |
then |
423 |
[ -f "${LVM_SRCTAR}" ] || |
422 |
[ -f "${LVM_SRCTAR}" ] || |
Lines 435-443
compile_lvm() {
Link Here
|
435 |
cd "${LVM_DIR}" |
434 |
cd "${LVM_DIR}" |
436 |
apply_patches lvm ${LVM_VER} |
435 |
apply_patches lvm ${LVM_VER} |
437 |
print_info 1 'lvm: >> Configuring...' |
436 |
print_info 1 'lvm: >> Configuring...' |
438 |
LDFLAGS="-L${TEMP}/device-mapper/lib" \ |
|
|
439 |
CFLAGS="-fPIC" \ |
437 |
CFLAGS="-fPIC" \ |
440 |
CPPFLAGS="-I${TEMP}/device-mapper/include" \ |
|
|
441 |
./configure --enable-static_link --prefix=${TEMP}/lvm \ |
438 |
./configure --enable-static_link --prefix=${TEMP}/lvm \ |
442 |
--with-lvm1=none --with-clvmd=none --with-cluster=none \ |
439 |
--with-lvm1=none --with-clvmd=none --with-cluster=none \ |
443 |
--disable-readline --disable-selinux --with-mirrors=none \ |
440 |
--disable-readline --disable-selinux --with-mirrors=none \ |
444 |
- |
|
|