mirror of
https://github.com/containers/skopeo.git
synced 2026-02-03 15:58:52 +00:00
Figure out the right build tags to use for btrfs and libdm support, and make sure we tell Travis to install libgpgme11-dev, because we also build against it. Signed-off-by: Nalin Dahyabhai <nalin@redhat.com>
15 lines
293 B
Bash
Executable File
15 lines
293 B
Bash
Executable File
#!/bin/bash
|
|
tmpdir="$PWD/tmp.$RANDOM"
|
|
mkdir -p "$tmpdir"
|
|
trap 'rm -fr "$tmpdir"' EXIT
|
|
cc -c -o "$tmpdir"/libdm_tag.o -x c - > /dev/null 2> /dev/null << EOF
|
|
#include <libdevmapper.h>
|
|
int main() {
|
|
struct dm_task *task;
|
|
return 0;
|
|
}
|
|
EOF
|
|
if test $? -ne 0 ; then
|
|
echo libdm_no_deferred_remove
|
|
fi
|