Skip to content
Permalink
Browse files

Activate PATCH-000002 on Rock64

  • Loading branch information...
NEMS Linux
NEMS Linux committed Mar 26, 2019
1 parent 2673dbc commit a0a44d995299e0da30925c77695894d563e184d8
Showing with 7 additions and 0 deletions.
  1. +7 −0 benchmark.sh
@@ -7,10 +7,17 @@ if [[ $nemsinit == 0 ]]; then
exit
fi

# First attempt: install from included repos
if [[ ! -f /usr/bin/sysbench ]]; then
apt -y install sysbench
fi

# Second attempt: install from developer repo
if [[ ! -f /usr/bin/sysbench ]]; then
curl -s https://packagecloud.io/install/repositories/akopytov/sysbench/script.deb.sh | sudo bash
apt -y install sysbench
fi

if [[ ! -f /usr/bin/sysbench ]]; then
echo "sysbench is not yet available on this build."
exit

0 comments on commit a0a44d9

Please sign in to comment.
You can’t perform that action at this time.