logo

dotfiles

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

pkgdev (384B)


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