f058d86a96
This is required to support the DM Multipath device. Test Plan: PASS: AIO-SX with Ceph, 1 osd PASS: AIO-SX with Ceph, 2 osd PASS: AIO-SX with Ceph, 4 osd PASS: AIO-DX with Ceph, 2 osd PASS: AIO-DX with Ceph, 4 osd PASS: Standard + Storage, with Ceph, 4 osd Story: 2010046 Task: 45428 Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Thiago Miranda <ThiagoOliveira.Miranda@windriver.com> Change-Id: I7a13b2c980025eec0d15e5aa8ddb1d10bf67bd8f
28 lines
1002 B
Diff
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
|
|
|