Merge "parted: compile with enable-device-mapper"

This commit is contained in:
Zuul 2022-05-24 15:55:40 +00:00 committed by Gerrit Code Review
commit a0378e2255
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 syscalls.patch
0001-Update-package-versioning-for-TIS-format.patch 0001-Update-package-versioning-for-TIS-format.patch
0003-fix-dev-nodes-getting-removed-for-100-to-300-ms-on-p.patch 0003-fix-dev-nodes-getting-removed-for-100-to-300-ms-on-p.patch
0004-enable-device-mapper.patch