mirror of https://github.com/containers/podman.git
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 <pholzing@redhat.com>
This commit is contained in:
parent
9aedc47aff
commit
48b19e98f9
|
@ -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 <libdevmapper.h>
|
|
||||||
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
|
|
|
@ -264,7 +264,7 @@ export BASEBUILDTAGS="$BASEBUILDTAGS libtrust_openssl"
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
# build %%{name}
|
# 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}
|
%gobuild -o bin/%{name} ./cmd/%{name}
|
||||||
|
|
||||||
# build %%{name}-remote
|
# build %%{name}-remote
|
||||||
|
|
Loading…
Reference in New Issue