diff --git a/.github/workflows/kernel_build.yml b/.github/workflows/kernel_build.yml index 74a8f804e2c2..6916d755f5b3 100644 --- a/.github/workflows/kernel_build.yml +++ b/.github/workflows/kernel_build.yml @@ -13,7 +13,7 @@ jobs: image: panchajanya1999/archlinux:latest steps: - name: Setup env - run: pacman -Syyu --noconfirm && pacman -Syu --needed --noconfirm wget base-devel xmlto inetutils bc cpio python-sphinx python-sphinx_rtd_theme graphviz imagemagick git python zip github-cli fortune-mod ccache jre8-openjdk + run: pacman -Sy --noconfirm && pacman -S archlinux-keyring --noconfirm && pacman -Syu --needed --noconfirm wget base-devel xmlto inetutils bc cpio python-sphinx python-sphinx_rtd_theme graphviz imagemagick git python zip github-cli fortune-mod ccache jre8-openjdk - uses: actions/checkout@v4 - name: Add repo as a safe directory run: git config --global --add safe.directory /__w/kernel_xiaomi_surya/kernel_xiaomi_surya diff --git a/cirrus.sh b/cirrus.sh index 147abec42ed9..d8f14f0f24be 100755 --- a/cirrus.sh +++ b/cirrus.sh @@ -1,7 +1,8 @@ #!/bin/bash # Before building the kernel, first we need to update and then install a few packages on Cirrus CI and so we'll do that. -pacman -Syyu --noconfirm +pacman -Sy --noconfirm +pacman -S archlinux-keyring --noconfirm pacman -Syu --needed --noconfirm wget base-devel xmlto inetutils bc cpio python-sphinx python-sphinx_rtd_theme graphviz imagemagick git python zip github-cli fortune-mod ccache jre8-openjdk # After installing the packages, we can move onto calling the build script.