Skip to content

Commit

Permalink
Configure gpg-agent
Browse files Browse the repository at this point in the history
  • Loading branch information
dpmatthews committed Jun 14, 2024
1 parent 15c53b8 commit 7de9d1b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions install-mosrs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@ dos2unix -n /vagrant/usr/local/bin/mosrs-setup-gpg-agent /usr/local/bin/mosrs-se
echo ". /usr/local/bin/mosrs-setup-gpg-agent" >>/home/vagrant/.bashrc
# Add script to install Rose meta data
dos2unix -n /vagrant/usr/local/bin/install-rose-meta /usr/local/bin/install-rose-meta
# Set gpg-agent options (required when gpg-agent started automatically)
sudo -u $(logname) mkdir -p /home/vagrant/.gnupg
sudo -u $(logname) bash -c 'echo "allow-preset-passphrase" >/home/vagrant/.gnupg/gpg-agent.conf'
sudo -u $(logname) bash -c 'echo "batch" >>/home/vagrant/.gnupg/gpg-agent.conf'
sudo -u $(logname) bash -c 'echo "max-cache-ttl 43200" >>/home/vagrant/.gnupg/gpg-agent.conf'

#### Configure FCM
mkdir -p /etc/subversion
Expand Down

0 comments on commit 7de9d1b

Please sign in to comment.