Makefile: systemd: echo instead of warn
Just echo the message instead of warning to not impact the exit code. Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
This commit is contained in:
		
							parent
							
								
									79ceb31edf
								
							
						
					
					
						commit
						7b14c02d0d
					
				
							
								
								
									
										5
									
								
								Makefile
								
								
								
								
							
							
						
						
									
										5
									
								
								Makefile
								
								
								
								
							|  | @ -174,9 +174,8 @@ test/goecho/goecho: .gopathok $(wildcard test/goecho/*.go) | ||||||
| bin/podman: .gopathok $(SOURCES) go.mod go.sum $(PODMAN_VARLINK_DEPENDENCIES) ## Build with podman
 | bin/podman: .gopathok $(SOURCES) go.mod go.sum $(PODMAN_VARLINK_DEPENDENCIES) ## Build with podman
 | ||||||
| # Make sure to warn in case we're building without the systemd buildtag.
 | # Make sure to warn in case we're building without the systemd buildtag.
 | ||||||
| ifeq (,$(findstring systemd,$(BUILDTAGS))) | ifeq (,$(findstring systemd,$(BUILDTAGS))) | ||||||
| $(warning \ | 	@echo "Podman is being compiled without the systemd build tag. Install libsystemd on \
 | ||||||
| 	Podman is being compiled without the systemd build tag.\
 | 		Ubuntu or systemd-devel on rpm based distro for journald support."
 | ||||||
| 	Install libsystemd on Ubuntu or systemd-devel on rpm based distro for journald support) |  | ||||||
| endif | endif | ||||||
| 	$(GO_BUILD) $(BUILDFLAGS) -gcflags '$(GCFLAGS)' -asmflags '$(ASMFLAGS)' -ldflags '$(LDFLAGS_PODMAN)' -tags "$(BUILDTAGS)" -o $@ $(PROJECT)/cmd/podman | 	$(GO_BUILD) $(BUILDFLAGS) -gcflags '$(GCFLAGS)' -asmflags '$(ASMFLAGS)' -ldflags '$(LDFLAGS_PODMAN)' -tags "$(BUILDTAGS)" -o $@ $(PROJECT)/cmd/podman | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue