a0b95be79afdf1854c2bd0af58a28af2b8a083e9Stephen Gallagher#!/bin/bash -x
a0b95be79afdf1854c2bd0af58a28af2b8a083e9Stephen Gallagher
a0b95be79afdf1854c2bd0af58a28af2b8a083e9Stephen Gallaghersed -e "s/@PACKAGE_NAME@/sssd/" \
a0b95be79afdf1854c2bd0af58a28af2b8a083e9Stephen Gallagher -e "s/@PRERELEASE_VERSION@//" \
a0b95be79afdf1854c2bd0af58a28af2b8a083e9Stephen Gallagher -e "s/@PACKAGE_VERSION@/0/" \
a0b95be79afdf1854c2bd0af58a28af2b8a083e9Stephen Gallagher /vagrant/contrib/sssd.spec.in > /vagrant/contrib/sssd_vagrant.spec
a0b95be79afdf1854c2bd0af58a28af2b8a083e9Stephen Gallagher
a0b95be79afdf1854c2bd0af58a28af2b8a083e9Stephen Gallagherdnf clean metadata
a0b95be79afdf1854c2bd0af58a28af2b8a083e9Stephen Gallagherdnf install -y @buildsys-build realmd sssd adcli polkit oddjob-mkhomedir
a0b95be79afdf1854c2bd0af58a28af2b8a083e9Stephen Gallagherdnf builddep -y /vagrant/contrib/sssd_vagrant.spec
a0b95be79afdf1854c2bd0af58a28af2b8a083e9Stephen Gallagher
a0b95be79afdf1854c2bd0af58a28af2b8a083e9Stephen Gallaghersource /usr/share/doc/git/contrib/completion/git-prompt.sh
a0b95be79afdf1854c2bd0af58a28af2b8a083e9Stephen Gallagher
a0b95be79afdf1854c2bd0af58a28af2b8a083e9Stephen Gallaghercat << EOF >> /home/vagrant/.bashrc
a0b95be79afdf1854c2bd0af58a28af2b8a083e9Stephen Gallaghersource /usr/share/doc/git/contrib/completion/git-prompt.sh
a0b95be79afdf1854c2bd0af58a28af2b8a083e9Stephen Gallagherexport GIT_PS1_SHOWDIRTYSTATE=1
a0b95be79afdf1854c2bd0af58a28af2b8a083e9Stephen Gallagherexport PS1='[\u@\h:\W\$(__git_ps1 " (%s)")]\$\[\e[0m\] '
a0b95be79afdf1854c2bd0af58a28af2b8a083e9Stephen Gallagher
a0b95be79afdf1854c2bd0af58a28af2b8a083e9Stephen Gallagher. /vagrant/contrib/fedora/bashrc_sssd
a0b95be79afdf1854c2bd0af58a28af2b8a083e9Stephen Gallagher
a0b95be79afdf1854c2bd0af58a28af2b8a083e9Stephen GallagherEOF