Skip to content

Commit

Permalink
Updates the nfsplugin rock (#8)
Browse files Browse the repository at this point in the history
The nfsplugin executable currently fails because it has no /tmp folder.
Additionally, it fails when it tries to open files in the mentioned
folder, or when trying to listen to unix:///csi/csi.sock.
  • Loading branch information
claudiubelu authored Aug 6, 2024
1 parent 0eaa434 commit 6e2e270
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion nfsplugin/4.7.0/rockcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ version: 4.7.0

base: bare
build-base: ubuntu@22.04
run-user: _daemon_

platforms:
amd64:
Expand Down Expand Up @@ -58,3 +57,8 @@ parts:
- ./cmd/nfsplugin
organize:
bin/nfsplugin: ./
override-build: |
craftctl default
# nfsplugin requires the /tmp directory.
mkdir -p "${CRAFT_PART_INSTALL}/tmp"

0 comments on commit 6e2e270

Please sign in to comment.