SHARE
TWEET

build-devbox.sh

a guest Sep 21st, 2019 118 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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. "
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top