Revert "rootlessport: exclude storage drivers via build tags"
This reverts commit ebf7474747.
With the c/storage change[1] we no longer need this workaround.
[1] https://github.com/containers/storage/pull/1637
Signed-off-by: Paul Holzinger <pholzing@redhat.com>
			
			
This commit is contained in:
		
							parent
							
								
									8a90765b90
								
							
						
					
					
						commit
						f31466e747
					
				
							
								
								
									
										2
									
								
								Makefile
								
								
								
								
							
							
						
						
									
										2
									
								
								Makefile
								
								
								
								
							| 
						 | 
				
			
			@ -57,7 +57,6 @@ BUILDTAGS ?= \
 | 
			
		|||
	$(shell hack/libsubid_tag.sh) \
 | 
			
		||||
	exclude_graphdriver_devicemapper \
 | 
			
		||||
	seccomp
 | 
			
		||||
ROOTLESSPORTTAGS ?= exclude_graphdriver_aufs exclude_graphdriver_btrfs exclude_graphdriver_devicemapper exclude_graphdriver_overlay exclude_graphdriver_zfs
 | 
			
		||||
PYTHON ?= $(shell command -v python3 python|head -n1)
 | 
			
		||||
PKG_MANAGER ?= $(shell command -v dnf yum|head -n1)
 | 
			
		||||
# ~/.local/bin is not in PATH on all systems
 | 
			
		||||
| 
						 | 
				
			
			@ -404,7 +403,6 @@ bin/rootlessport: $(SOURCES) go.mod go.sum
 | 
			
		|||
	CGO_ENABLED=$(CGO_ENABLED) \
 | 
			
		||||
		$(GO) build \
 | 
			
		||||
		$(BUILDFLAGS) \
 | 
			
		||||
		-tags "$(ROOTLESSPORTTAGS)" \
 | 
			
		||||
		-o $@ ./cmd/rootlessport
 | 
			
		||||
 | 
			
		||||
.PHONY: rootlessport
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -277,7 +277,6 @@ ln -s vendor src
 | 
			
		|||
LDFLAGS="-X %{import_path}/libpod/define.buildInfo=$(date +%s)"
 | 
			
		||||
 | 
			
		||||
# build rootlessport first
 | 
			
		||||
export BUILDTAGS="exclude_graphdriver_aufs exclude_graphdriver_btrfs exclude_graphdriver_devicemapper exclude_graphdriver_overlay exclude_graphdriver_zfs"
 | 
			
		||||
%gobuild -o bin/rootlessport %{import_path}/cmd/rootlessport
 | 
			
		||||
 | 
			
		||||
export BASEBUILDTAGS="seccomp exclude_graphdriver_devicemapper $(hack/systemd_tag.sh) $(hack/libsubid_tag.sh)"
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue