adjust btrfs for centos8
Signed-off-by: Lokesh Mandvekar <lsm5@fedoraproject.org> (cherry picked from commit 5a00dc67641d6fb0df1561cdfb01ee74234c6368) Signed-off-by: Lokesh Mandvekar <lsm5@fedoraproject.org>
This commit is contained in:
parent
1bd907417d
commit
7aaaf97880
@ -314,6 +314,9 @@ export GOPATH=$(pwd):$(pwd)/vendor
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
mkdir -p bin
|
mkdir -p bin
|
||||||
|
%if 0%{?centos} >= 8
|
||||||
|
export BUILDTAGS='exclude_graphdriver_btrfs btrfs_noversion'
|
||||||
|
%endif
|
||||||
%gobuild -o bin/%{name} ./cmd/%{name}
|
%gobuild -o bin/%{name} ./cmd/%{name}
|
||||||
pushd docs
|
pushd docs
|
||||||
for file in $(ls | grep 1.md)
|
for file in $(ls | grep 1.md)
|
||||||
|
Loading…
Reference in New Issue
Block a user