diff options
author | Kinga Stefaniuk <kinga.stefaniuk@intel.com> | 2024-09-25 14:30:23 +0200 |
---|---|---|
committer | Mariusz Tkaczyk <mariusz.tkaczyk@linux.intel.com> | 2024-09-26 10:52:19 +0200 |
commit | 6decc1f01453c15c408e9cd6ca5814e53cf5d548 (patch) | |
tree | ab299e2a26e7b675f4f42fa8f52123685d4e20a8 | |
parent | Remove INSTALL and dev/null (diff) | |
download | mdadm-6decc1f01453c15c408e9cd6ca5814e53cf5d548.tar.xz mdadm-6decc1f01453c15c408e9cd6ca5814e53cf5d548.zip |
CI: do not install unnecessary packages
Updating all of the packages every time is not needed and costs a lot of
resources. Install only necessary packages and their dependencies.
Signed-off-by: Kinga Stefaniuk <kinga.stefaniuk@intel.com>
-rwxr-xr-x | .github/tools/install_ubuntu_packages.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/.github/tools/install_ubuntu_packages.sh b/.github/tools/install_ubuntu_packages.sh index 1a31ca47..4c886134 100755 --- a/.github/tools/install_ubuntu_packages.sh +++ b/.github/tools/install_ubuntu_packages.sh @@ -7,6 +7,6 @@ echo "Detected VERSION_CODENAME: $VERSION_CODENAME" sudo add-apt-repository -y "deb [arch=amd64] http://archive.ubuntu.com/ubuntu $VERSION_CODENAME \ main universe" # Install gcc -sudo apt-get -y update && sudo apt-get -y install gcc-$1 +sudo apt-get -y install gcc-$1 --no-upgrade --no-install-recommends --no-install-suggests # Install dependencies -sudo apt-get -y install make gcc libudev-dev devscripts +sudo apt-get -y install make gcc libudev-dev devscripts --no-upgrade --no-install-recommends --no-install-suggests |