From 48b19e98f9d2e52a51a79fead7ad16bd537f53b9 Mon Sep 17 00:00:00 2001 From: Paul Holzinger Date: Tue, 10 Jun 2025 17:18:19 +0200 Subject: [PATCH] remove hack/libdm_tag.sh This script is no longer used as the device mapper storage driver was removed over a year ago. Commit 60692ca already removed the build tag reference but not this script which set a buildtag for it. Signed-off-by: Paul Holzinger --- hack/libdm_tag.sh | 15 --------------- rpm/podman.spec | 2 +- 2 files changed, 1 insertion(+), 16 deletions(-) delete mode 100755 hack/libdm_tag.sh diff --git a/hack/libdm_tag.sh b/hack/libdm_tag.sh deleted file mode 100755 index 815b5d914e..0000000000 --- a/hack/libdm_tag.sh +++ /dev/null @@ -1,15 +0,0 @@ -#!/usr/bin/env bash -tmpdir="$PWD/tmp.$RANDOM" -mkdir -p "$tmpdir" -trap 'rm -fr "$tmpdir"' EXIT -${CC:-cc} ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} -o "$tmpdir"/libdm_tag -x c - -ldevmapper > /dev/null 2> /dev/null << EOF -#include -int main() { - struct dm_task *task; - dm_task_deferred_remove(task); - return 0; -} -EOF -if test $? -ne 0 ; then - echo libdm_no_deferred_remove -fi diff --git a/rpm/podman.spec b/rpm/podman.spec index 075c43b7a5..fd89e342f4 100644 --- a/rpm/podman.spec +++ b/rpm/podman.spec @@ -264,7 +264,7 @@ export BASEBUILDTAGS="$BASEBUILDTAGS libtrust_openssl" %endif # build %%{name} -export BUILDTAGS="$BASEBUILDTAGS $(hack/btrfs_installed_tag.sh) $(hack/libdm_tag.sh)" +export BUILDTAGS="$BASEBUILDTAGS $(hack/btrfs_installed_tag.sh)" %gobuild -o bin/%{name} ./cmd/%{name} # build %%{name}-remote