integ/filesystem/parted/centos/meta_patches/0004-enable-device-mapper.p...

28 lines
1002 B
Diff

From e71f9f283f741d259f1f6ff892bf90e64c1440d8 Mon Sep 17 00:00:00 2001
From: Joao Pedro Alexandroni
<JoaoPedroAlexandroni.CordovadeSouza@windriver.com>
Date: Mon, 23 May 2022 08:47:24 -0300
Subject: [PATCH] enable device mapper
Signed-off-by: Joao Pedro Alexandroni <JoaoPedroAlexandroni.CordovadeSouza@windriver.com>
---
SPECS/parted.spec | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/SPECS/parted.spec b/SPECS/parted.spec
index f8c2969..678fed6 100644
--- a/SPECS/parted.spec
+++ b/SPECS/parted.spec
@@ -133,7 +133,7 @@ git commit -a -m "run iconv"
autoreconf
autoconf
CFLAGS="$RPM_OPT_FLAGS -Wno-unused-but-set-variable"; export CFLAGS
-%configure --enable-selinux --disable-static --disable-device-mapper
+%configure --enable-selinux --disable-static --enable-device-mapper
# Don't use rpath!
%{__sed} -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
%{__sed} -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
--
2.17.1