From 4fed8f09b00a65e06cdc8b8b2a7082240fac68ee Mon Sep 17 00:00:00 2001 From: Johan Borestad Date: Sun, 27 Oct 2024 00:22:46 +0200 Subject: [PATCH] =?UTF-8?q?`=EF=B8=8F=EF=B8=8F=EF=B8=8F=EF=B8=8F=E3=85=A4?= =?UTF-8?q?=E2=9A=A1=EF=B8=8F=20BUMP=20=E2=9A=A1=EF=B8=8F=E3=85=A4`=20`?= =?UTF-8?q?=E3=85=A42=20files=20=E2=86=915=20=E2=86=935=E3=85=A4`?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/scripts/ciutil | 8 ++++---- .github/scripts/ga-optimize-runner | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/scripts/ciutil b/.github/scripts/ciutil index 3692c86..b74170f 100755 --- a/.github/scripts/ciutil +++ b/.github/scripts/ciutil @@ -44,17 +44,17 @@ path-exclude /usr/share/man/* EOF echo "✔ [install-deb]: $pkgs" - sudo eatmydata -- apt-get clean + sudo /usr/local/bin/apt-get clean sudo eatmydata -- dpkg --clear-avail - sudo eatmydata -- apt-get -qq install --download-only -y $pkgs || exitcode=$? + sudo /usr/local/bin/apt-get -qq install --download-only -y $pkgs || exitcode=$? if [ ! $exitcode -eq 0 ]; then echo "[install-deb]: ❌ Error downloading $pkgs" echo "[install-deb]: (1/2) Retrying with apt-get update: $pkgs" - sudo eatmydata -- apt-get update + sudo /usr/local/bin/apt-get update echo "[install-deb]: (2/2) Retrying with apt-get --download-only: $pkgs" - sudo eatmydata -- apt-get -qq install --download-only -y $pkgs || exit 1 + sudo /usr/local/bin/apt-get -qq install --download-only -y $pkgs || exit 1 fi echo "✔ [install-deb]: Extracting *.deb: $pkgs" diff --git a/.github/scripts/ga-optimize-runner b/.github/scripts/ga-optimize-runner index 6d8a03a..68a54bd 100755 --- a/.github/scripts/ga-optimize-runner +++ b/.github/scripts/ga-optimize-runner @@ -21,7 +21,7 @@ echo 'force-unsafe-io' | sudo tee -a /etc/dpkg/dpkg.cfg > /dev/null # Enforce dpkg/apt/apt-get to not use fsync ( echo -e '#!/bin/sh\nexec eatmydata /usr/bin/dpkg $@' | sudo tee /usr/local/bin/dpkg && sudo chmod +x /usr/local/bin/dpkg -echo -e '#!/bin/sh\nexec eatmydata /usr/binc/apt $@' | sudo tee /usr/local/bin/apt && sudo chmod +x /usr/local/bin/apt +echo -e '#!/bin/sh\nexec eatmydata /usr/bin/apt $@' | sudo tee /usr/local/bin/apt && sudo chmod +x /usr/local/bin/apt echo -e '#!/bin/sh\nexec eatmydata /usr/bin/apt-get $@' | sudo tee /usr/local/bin/apt-get && sudo chmod +x /usr/local/bin/apt-get echo -e '#!/bin/sh\nexec /usr/bin/sudo LD_PRELOAD=/usr/lib/libeatmydata.so $@' | /usr/bin/sudo tee /usr/local/bin/apt-get && /usr/bin/sudo chmod +x /usr/local/bin/apt-get ) &>/dev/null