Skip to content

Commit

Permalink
Run the build.sh script inside a buildah unshare session
Browse files Browse the repository at this point in the history
Otherwise we get the error:

```
++ buildah mount fedora-working-container
cannot mount using driver overlay in rootless mode. You need to run it in a `buildah unshare` session
```
  • Loading branch information
dustymabe committed Dec 11, 2019
1 parent b55bbd2 commit 34e71db
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion RELEASE.txt
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,11 @@ git push
git push --tags

# Build with build.sh script (uses buildah)
./build.sh
# We must run it in a buildah unshare session. Otherwise we get the error:
#
# ++ buildah mount fedora-working-container
# cannot mount using driver overlay in rootless mode. You need to run it in a `buildah unshare` session
buildah unshare ./build.sh

# Sign the output
gpg --armor --detach-sign pkg/vagrant-sshfs-1.2.0.gem
Expand Down

0 comments on commit 34e71db

Please sign in to comment.