mirror of
https://github.com/containers/podman.git
synced 2025-08-24 01:50:58 +08:00
Stop setting btrfs_noversion build tag
c/storage no longer uses this tag after https://github.com/containers/storage/pull/2308. Signed-off-by: Paul Holzinger <pholzing@redhat.com>
This commit is contained in:
3
Makefile
3
Makefile
@ -57,11 +57,10 @@ SYSTEMDDIR ?= ${LIBDIR}/systemd/system
|
|||||||
USERSYSTEMDDIR ?= ${LIBDIR}/systemd/user
|
USERSYSTEMDDIR ?= ${LIBDIR}/systemd/user
|
||||||
SYSTEMDGENERATORSDIR ?= ${LIBDIR}/systemd/system-generators
|
SYSTEMDGENERATORSDIR ?= ${LIBDIR}/systemd/system-generators
|
||||||
USERSYSTEMDGENERATORSDIR ?= ${LIBDIR}/systemd/user-generators
|
USERSYSTEMDGENERATORSDIR ?= ${LIBDIR}/systemd/user-generators
|
||||||
REMOTETAGS ?= remote exclude_graphdriver_btrfs btrfs_noversion containers_image_openpgp
|
REMOTETAGS ?= remote exclude_graphdriver_btrfs containers_image_openpgp
|
||||||
BUILDTAGS ?= \
|
BUILDTAGS ?= \
|
||||||
$(shell hack/apparmor_tag.sh) \
|
$(shell hack/apparmor_tag.sh) \
|
||||||
$(shell hack/btrfs_installed_tag.sh) \
|
$(shell hack/btrfs_installed_tag.sh) \
|
||||||
$(shell hack/btrfs_tag.sh) \
|
|
||||||
$(shell hack/systemd_tag.sh) \
|
$(shell hack/systemd_tag.sh) \
|
||||||
$(shell hack/libsubid_tag.sh) \
|
$(shell hack/libsubid_tag.sh) \
|
||||||
$(if $(filter linux,$(GOOS)), seccomp,)
|
$(if $(filter linux,$(GOOS)), seccomp,)
|
||||||
|
@ -1,7 +0,0 @@
|
|||||||
#!/usr/bin/env bash
|
|
||||||
${CPP:-${CC:-cc} -E} ${CPPFLAGS} - > /dev/null 2> /dev/null << EOF
|
|
||||||
#include <btrfs/version.h>
|
|
||||||
EOF
|
|
||||||
if test $? -ne 0 ; then
|
|
||||||
echo btrfs_noversion
|
|
||||||
fi
|
|
@ -26,7 +26,7 @@ the same result:
|
|||||||
To focus on one specific test on windows, run `ginkgo` manually:
|
To focus on one specific test on windows, run `ginkgo` manually:
|
||||||
|
|
||||||
```pwsh
|
```pwsh
|
||||||
$remotetags = "remote exclude_graphdriver_btrfs btrfs_noversion containers_image_openpgp"
|
$remotetags = "remote exclude_graphdriver_btrfs containers_image_openpgp"
|
||||||
$focus_file = "basic_test.go"
|
$focus_file = "basic_test.go"
|
||||||
$focus_test = "podman build contexts"
|
$focus_test = "podman build contexts"
|
||||||
./test/tools/build/ginkgo.exe `
|
./test/tools/build/ginkgo.exe `
|
||||||
|
@ -258,19 +258,19 @@ export BASEBUILDTAGS="$BASEBUILDTAGS libtrust_openssl"
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
# build %%{name}
|
# build %%{name}
|
||||||
export BUILDTAGS="$BASEBUILDTAGS $(hack/btrfs_installed_tag.sh) $(hack/btrfs_tag.sh) $(hack/libdm_tag.sh)"
|
export BUILDTAGS="$BASEBUILDTAGS $(hack/btrfs_installed_tag.sh) $(hack/libdm_tag.sh)"
|
||||||
%gobuild -o bin/%{name} ./cmd/%{name}
|
%gobuild -o bin/%{name} ./cmd/%{name}
|
||||||
|
|
||||||
# build %%{name}-remote
|
# build %%{name}-remote
|
||||||
export BUILDTAGS="$BASEBUILDTAGS exclude_graphdriver_btrfs btrfs_noversion remote"
|
export BUILDTAGS="$BASEBUILDTAGS exclude_graphdriver_btrfs remote"
|
||||||
%gobuild -o bin/%{name}-remote ./cmd/%{name}
|
%gobuild -o bin/%{name}-remote ./cmd/%{name}
|
||||||
|
|
||||||
# build quadlet
|
# build quadlet
|
||||||
export BUILDTAGS="$BASEBUILDTAGS $(hack/btrfs_installed_tag.sh) $(hack/btrfs_tag.sh)"
|
export BUILDTAGS="$BASEBUILDTAGS $(hack/btrfs_installed_tag.sh)"
|
||||||
%gobuild -o bin/quadlet ./cmd/quadlet
|
%gobuild -o bin/quadlet ./cmd/quadlet
|
||||||
|
|
||||||
# build %%{name}-testing
|
# build %%{name}-testing
|
||||||
export BUILDTAGS="$BASEBUILDTAGS $(hack/btrfs_installed_tag.sh) $(hack/btrfs_tag.sh)"
|
export BUILDTAGS="$BASEBUILDTAGS $(hack/btrfs_installed_tag.sh)"
|
||||||
%gobuild -o bin/podman-testing ./cmd/podman-testing
|
%gobuild -o bin/podman-testing ./cmd/podman-testing
|
||||||
|
|
||||||
# reset LDFLAGS for plugins binaries
|
# reset LDFLAGS for plugins binaries
|
||||||
|
@ -288,7 +288,7 @@ function Get-Podman-Version{
|
|||||||
# Init script
|
# Init script
|
||||||
$target = $args[0]
|
$target = $args[0]
|
||||||
|
|
||||||
$remotetags = "remote exclude_graphdriver_btrfs btrfs_noversion containers_image_openpgp"
|
$remotetags = "remote exclude_graphdriver_btrfs containers_image_openpgp"
|
||||||
|
|
||||||
switch ($target) {
|
switch ($target) {
|
||||||
{$_ -in '', 'podman-remote', 'podman'} {
|
{$_ -in '', 'podman-remote', 'podman'} {
|
||||||
|
Reference in New Issue
Block a user