From 850ede010362b91876da5175730eed2eb70a6fda Mon Sep 17 00:00:00 2001 From: fukiame Date: Mon, 4 Dec 2023 23:14:15 +0700 Subject: [PATCH] cai nit --- .github/workflows/legacy.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/legacy.yml b/.github/workflows/legacy.yml index 22a2018..51d83c5 100644 --- a/.github/workflows/legacy.yml +++ b/.github/workflows/legacy.yml @@ -84,12 +84,12 @@ jobs: # bash tg_utils.sh msg "gh $RUN_NUM: workflow started" - name: init build env run: | - apt-get update - apt-get install llvm lld bc bison ca-certificates curl flex gcc git libc6-dev \ + sudo apt-get update + sudo apt-get install llvm lld bc bison ca-certificates curl flex gcc git libc6-dev \ libssl-dev openssl python3 python2 zip zstd make clang gcc-arm-linux-gnueabi \ software-properties-common device-tree-compiler libxml2 libarchive-tools \ perl libelf-dev libssl-dev libtfm-dev wget xz-utils -y - ln -sf "/usr/bin/python2" /usr/bin/python + sudo ln -sf "/usr/bin/python2" /usr/bin/python - name: show host info run: | bash tg_utils.sh msg "gh $RUN_NUM: build env initialized%nlgh $RUN_NUM: host: $(cat /etc/os-release | grep PRETTY_NAME | cut -d'=' -f2)%nlgh $RUN_NUM: free disk space: $(df --sync -BM --output=avail / | grep -v Avail)"