Skip to content

Commit

Permalink
steam_support: combine /snap rules
Browse files Browse the repository at this point in the history
  • Loading branch information
ashuntu authored and Meulengracht committed Mar 11, 2024
1 parent 466aa76 commit 9dfe8cf
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions interfaces/builtin/steam_support.go
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ mount options=(rw, rbind) /oldroot/opt/ -> /newroot/opt/,
mount options=(rw, rbind) /oldroot/srv/ -> /newroot/srv/,
mount options=(rw, rbind) /oldroot/run/udev/ -> /newroot/run/udev/,
mount options=(rw, rbind) /oldroot/home/{,**} -> /newroot/home/{,**},
mount options=(rw, rbind) /oldroot/snap/** -> /newroot/snap/**,
mount options=(rw, rbind) /oldroot/snap/{,**} -> /newroot/snap/{,**},
mount options=(rw, rbind) /oldroot/home/**/usr/ -> /newroot/usr/,
mount options=(rw, rbind) /oldroot/home/**/usr/etc/** -> /newroot/etc/**,
mount options=(rw, rbind) /oldroot/home/**/usr/etc/ld.so.cache -> /newroot/**,
Expand Down Expand Up @@ -189,7 +189,6 @@ mount options=(rw, rbind) /oldroot/var/lib/snapd/hostfs/usr/lib/@{multiarch}/**
mount options=(rw, rbind) /oldroot/var/lib/snapd/hostfs/usr/share/** -> /newroot/**,
mount options=(rw, rbind) /oldroot/var/lib/snapd/hostfs/ -> /newroot/var/lib/snapd/hostfs/,
mount options=(rw, rbind) /oldroot/snap/ -> /newroot/snap/,
# Allow masking of certain directories in the sandbox
mount fstype=tmpfs options=(rw, nosuid, nodev) tmpfs -> /newroot/**,
Expand Down

0 comments on commit 9dfe8cf

Please sign in to comment.