diff --git a/filesystem/parted/centos/meta_patches/0004-enable-device-mapper.patch b/filesystem/parted/centos/meta_patches/0004-enable-device-mapper.patch new file mode 100644 index 000000000..9a5d5ccec --- /dev/null +++ b/filesystem/parted/centos/meta_patches/0004-enable-device-mapper.patch @@ -0,0 +1,27 @@ +From e71f9f283f741d259f1f6ff892bf90e64c1440d8 Mon Sep 17 00:00:00 2001 +From: Joao Pedro Alexandroni + +Date: Mon, 23 May 2022 08:47:24 -0300 +Subject: [PATCH] enable device mapper + +Signed-off-by: Joao Pedro Alexandroni +--- + 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 + diff --git a/filesystem/parted/centos/meta_patches/PATCH_ORDER b/filesystem/parted/centos/meta_patches/PATCH_ORDER index 3cd0fe8f5..a369182ac 100644 --- a/filesystem/parted/centos/meta_patches/PATCH_ORDER +++ b/filesystem/parted/centos/meta_patches/PATCH_ORDER @@ -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