mirror of
https://github.com/containers/skopeo.git
synced 2025-06-26 22:57:35 +00:00
Merge pull request #1642 from dfr/freebsd-config
Config files live in /usr/local/etc on FreeBSD (highlight in release notes!)
This commit is contained in:
commit
a90efa2d60
4
Makefile
4
Makefile
@ -13,7 +13,11 @@ GPGME_ENV := CGO_CFLAGS="$(shell gpgme-config --cflags 2>/dev/null)" CGO_LDFLAGS
|
|||||||
# The following variables very roughly follow https://www.gnu.org/prep/standards/standards.html#Makefile-Conventions .
|
# The following variables very roughly follow https://www.gnu.org/prep/standards/standards.html#Makefile-Conventions .
|
||||||
DESTDIR ?=
|
DESTDIR ?=
|
||||||
PREFIX ?= /usr/local
|
PREFIX ?= /usr/local
|
||||||
|
ifeq ($(shell uname -s),FreeBSD)
|
||||||
|
CONTAINERSCONFDIR ?= /usr/local/etc/containers
|
||||||
|
else
|
||||||
CONTAINERSCONFDIR ?= /etc/containers
|
CONTAINERSCONFDIR ?= /etc/containers
|
||||||
|
endif
|
||||||
REGISTRIESDDIR ?= ${CONTAINERSCONFDIR}/registries.d
|
REGISTRIESDDIR ?= ${CONTAINERSCONFDIR}/registries.d
|
||||||
SIGSTOREDIR ?= /var/lib/containers/sigstore
|
SIGSTOREDIR ?= /var/lib/containers/sigstore
|
||||||
BINDIR ?= ${PREFIX}/bin
|
BINDIR ?= ${PREFIX}/bin
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/usr/bin/env bash
|
||||||
cc -E - > /dev/null 2> /dev/null << EOF
|
cc -E - > /dev/null 2> /dev/null << EOF
|
||||||
#include <btrfs/ioctl.h>
|
#include <btrfs/ioctl.h>
|
||||||
EOF
|
EOF
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/usr/bin/env bash
|
||||||
cc -E - > /dev/null 2> /dev/null << EOF
|
cc -E - > /dev/null 2> /dev/null << EOF
|
||||||
#include <btrfs/version.h>
|
#include <btrfs/version.h>
|
||||||
EOF
|
EOF
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/usr/bin/env bash
|
||||||
tmpdir="$PWD/tmp.$RANDOM"
|
tmpdir="$PWD/tmp.$RANDOM"
|
||||||
mkdir -p "$tmpdir"
|
mkdir -p "$tmpdir"
|
||||||
trap 'rm -fr "$tmpdir"' EXIT
|
trap 'rm -fr "$tmpdir"' EXIT
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/usr/bin/env bash
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
STATUS=$(git status --porcelain)
|
STATUS=$(git status --porcelain)
|
||||||
|
Loading…
Reference in New Issue
Block a user