mirror of
https://github.com/containers/skopeo.git
synced 2025-08-17 22:17:10 +00:00
PREFIX should default to /usr/local according to GNU coding standards. DESTDIR should just be used for install This will allow us to specify make PREFIX=/usr DESTDIR=/tmp/build/ install Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
19 lines
514 B
Bash
Executable File
19 lines
514 B
Bash
Executable File
#!/bin/bash
|
|
set -e
|
|
|
|
# Before running podman for the first time, make sure
|
|
# to set storage to vfs (not overlay): podman-in-podman
|
|
# doesn't work with overlay. And, disable mountopt,
|
|
# which causes error with vfs.
|
|
sed -i \
|
|
-e 's/^driver\s*=.*/driver = "vfs"/' \
|
|
-e 's/^mountopt/#mountopt/' \
|
|
/etc/containers/storage.conf
|
|
|
|
# Build skopeo, install into /usr/bin
|
|
make bin/skopeo ${BUILDTAGS:+BUILDTAGS="$BUILDTAGS"}
|
|
make PREFIX=/usr install
|
|
|
|
# Run tests
|
|
SKOPEO_BINARY=/usr/bin/skopeo bats --tap systemtest
|