Skip to content

Commit

Permalink
Merge pull request #4321 from afbjorklund/podman-buildah
Browse files Browse the repository at this point in the history
Make buildah --no-pivot default, using env var
  • Loading branch information
tstromberg authored May 29, 2019
2 parents 2875909 + fb0a6f4 commit 516904c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions deploy/iso/minikube-iso/package/podman/buildah.profile
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# BUILDAH_NOPIVOT=true disables pivot_root in Buildah, using MS_MOVE instead.
# (Buildah is used by Podman for building container images using a Dockerfile)
export BUILDAH_NOPIVOT=true
1 change: 1 addition & 0 deletions deploy/iso/minikube-iso/package/podman/podman.mk
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ endef

define PODMAN_INSTALL_TARGET_CMDS
$(INSTALL) -Dm755 $(@D)/bin/podman $(TARGET_DIR)/usr/bin/podman
$(INSTALL) -Dm644 $(BR2_EXTERNAL_MINIKUBE_PATH)/package/podman/buildah.profile $(TARGET_DIR)/etc/profile.d/podman.sh
endef

$(eval $(generic-package))

0 comments on commit 516904c

Please sign in to comment.