Skip to content

Commit

Permalink
cibuild.sh: You must be root to use apt-get
Browse files Browse the repository at this point in the history
  • Loading branch information
pussuw committed Jan 3, 2024
1 parent 521026e commit f8b1765
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions tools/ci/cibuild.sh
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ function avr-gcc-toolchain {
brew install avr-gcc
;;
Linux)
apt-get install -y avr-libc gcc-avr
sudo apt-get install -y avr-libc gcc-avr
;;
esac
fi
Expand Down Expand Up @@ -187,7 +187,7 @@ function clang-tidy {
if ! type clang-tidy &> /dev/null; then
case ${os} in
Linux)
apt-get install -y clang clang-tidy
sudo apt-get install -y clang clang-tidy
;;
esac
fi
Expand Down Expand Up @@ -215,7 +215,7 @@ function util-linux {
brew install flock
;;
Linux)
apt-get install -y util-linux
sudo apt-get install -y util-linux
;;
esac
fi
Expand All @@ -231,7 +231,7 @@ function gen-romfs {
brew install genromfs
;;
Linux)
apt-get install -y genromfs
sudo apt-get install -y genromfs
;;
esac
fi
Expand Down Expand Up @@ -467,7 +467,7 @@ function u-boot-tools {
brew install u-boot-tools
;;
Linux)
apt-get install -y u-boot-tools
sudo apt-get install -y u-boot-tools
;;
esac
fi
Expand Down

0 comments on commit f8b1765

Please sign in to comment.