Advertisement
Guest User

build-devbox.sh

a guest
Sep 21st, 2019
209
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.48 KB | None | 0 0
  1. #!/bin/sh
  2. set -eux
  3. NAME=fedora-toolbox-31
  4.  
  5. if [ -n "${TOOLBOX_RELEASE:-}" ]; then
  6. RELEASE="--release $TOOLBOX_RELEASE"
  7. NAME="$NAME-$TOOLBOX_RELEASE"
  8. else
  9. RELEASE=''
  10. fi
  11.  
  12. toolbox rm --force $NAME || true
  13. toolbox create $RELEASE -c $NAME
  14.  
  15. # install cockpit's build deps and other development tools
  16. toolbox run -c "$NAME" sh -exec "\
  17. usermod -s /bin/zsh $USERNAME
  18. sudo dnf -y install glibc-all-langpacks
  19.  
  20. ## install your packages here
  21.  
  22. sudo dnf clean packages
  23. "
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement