parted: compile with enable-device-mapper

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
This commit is contained in:
Joao Pedro Alexandroni 2022-05-23 08:53:49 -03:00 committed by Matheus Machado Guilhermino
parent 7665e31560
commit f058d86a96
2 changed files with 28 additions and 0 deletions

View File

@ -0,0 +1,27 @@
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

View File

@ -1,3 +1,4 @@
syscalls.patch
0001-Update-package-versioning-for-TIS-format.patch
0003-fix-dev-nodes-getting-removed-for-100-to-300-ms-on-p.patch
0004-enable-device-mapper.patch