mirror of
https://github.com/deajan/obackup.git
synced 2024-11-15 04:03:41 +01:00
Only install rngd on travis
This commit is contained in:
parent
8b5965ae4a
commit
ead5712c90
@ -1,6 +1,6 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
## obackup basic tests suite 2018110602
|
## obackup basic tests suite 2019011401
|
||||||
|
|
||||||
# Supported environment variables
|
# Supported environment variables
|
||||||
|
|
||||||
@ -12,6 +12,7 @@
|
|||||||
#TODO Encrypted Pull runs on F25 fail for decryption
|
#TODO Encrypted Pull runs on F25 fail for decryption
|
||||||
# If gpg key generation hangs, please install and configure rngd service
|
# If gpg key generation hangs, please install and configure rngd service
|
||||||
#eg yum install rng-tools ; systemctl start rngd
|
#eg yum install rng-tools ; systemctl start rngd
|
||||||
|
# or yum install epel-release && yum innstall haveged && systemctl start haveged
|
||||||
|
|
||||||
if [ "$SKIP_REMOTE" == "" ]; then
|
if [ "$SKIP_REMOTE" == "" ]; then
|
||||||
SKIP_REMOTE=false
|
SKIP_REMOTE=false
|
||||||
@ -142,6 +143,7 @@ Passphrase: PassPhrase123
|
|||||||
%echo done
|
%echo done
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
|
if TRAVIS_RUN=true
|
||||||
if type apt-get > /dev/null 2>&1; then
|
if type apt-get > /dev/null 2>&1; then
|
||||||
sudo apt-get install rng-tools
|
sudo apt-get install rng-tools
|
||||||
fi
|
fi
|
||||||
@ -152,6 +154,7 @@ EOF
|
|||||||
else
|
else
|
||||||
echo "No rngd support"
|
echo "No rngd support"
|
||||||
fi
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
$CRYPT_TOOL --batch --gen-key gpgcommand
|
$CRYPT_TOOL --batch --gen-key gpgcommand
|
||||||
echo "Currently owned $CRYPT_TOOL keys"
|
echo "Currently owned $CRYPT_TOOL keys"
|
||||||
|
Loading…
Reference in New Issue
Block a user