mirror of
https://github.com/containers/skopeo.git
synced 2025-05-03 05:26:32 +00:00
Vendor containers/storage, and its dependencies github.com/pborman/uuid and github.com/mistifyio/go-zfs, which we didn't already use. Update the build Dockerfile to install their dependencies. Add scriptlets that try to detect whether or not we need to use the "libdm_no_deferred_remove" and/or "btrfs_noversion" build tags. Signed-off-by: Nalin Dahyabhai <nalin@redhat.com>
8 lines
132 B
Bash
Executable File
8 lines
132 B
Bash
Executable File
#!/bin/bash
|
|
cc -E - > /dev/null 2> /dev/null << EOF
|
|
#include <btrfs/version.h>
|
|
EOF
|
|
if test $? -ne 0 ; then
|
|
echo btrfs_noversion
|
|
fi
|