logo

dotfiles

My dotfiles, one branch per machine, rebased on base git clone https://anongit.hacktivis.me/git/dotfiles.git/

pkgdev (459B)


  1. #!/bin/execlineb -s0
  2. getcwd -E PWD
  3. importas HOME HOME
  4. importas -D $HOME/.cache XDG_CACHE_HOME XDG_CACHE_HOME
  5. importas -D /var/cache/distfiles DISTDIR DISTDIR
  6. backtick -in -E GIT_WORK_TREE { git rev-parse --show-toplevel }
  7. bwrap
  8. --die-with-parent
  9. --unshare-all
  10. --share-net
  11. --ro-bind / /
  12. --tmpfs /tmp
  13. --bind $XDG_CACHE_HOME $XDG_CACHE_HOME
  14. --bind $DISTDIR $DISTDIR
  15. --bind $GIT_WORK_TREE $GIT_WORK_TREE
  16. --proc /proc
  17. --dev /dev
  18. -- /usr/bin/pkgdev "$@"