From 68e544f15dc0233904dedd7c6efaa4d57e50af1a Mon Sep 17 00:00:00 2001 From: D3vil0p3r Date: Fri, 27 Sep 2024 16:52:52 +0200 Subject: [PATCH 1/2] Create install.yml --- .github/workflows/install.yml | 41 +++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 .github/workflows/install.yml diff --git a/.github/workflows/install.yml b/.github/workflows/install.yml new file mode 100644 index 00000000..6da792cc --- /dev/null +++ b/.github/workflows/install.yml @@ -0,0 +1,41 @@ +name: Athena Arch Installation + +on: [push] + +jobs: + install: + runs-on: ubuntu-latest + container: + image: athenaos/base-devel:latest + options: --privileged + + steps: + - name: Checkout files + uses: actions/checkout@v4 + + - name: Init Keys + run: | + rm -rf /etc/pacman.d/gnupg + pacman-key --init + pacman-key --populate + pacman -Syy + + - name: Install rate-mirrors + run: pacman -Syyu --noconfirm rate-mirrors + + - name: Set fastest mirrors + run: | + rate-mirrors --concurrency 40 --disable-comments --allow-root --save /etc/pacman.d/mirrorlist arch + rate-mirrors --concurrency 40 --disable-comments --allow-root --save /etc/pacman.d/chaotic-mirrorlist chaotic-aur + + - name: Install dependencies + run: pacman -Syyu aegis + + - name: Retrieve install configuration + run: curl -O https://raw.githubusercontent.com/Athena-OS/athena/refs/heads/main/tests/arch.json + + - name: Create a raw disk image + run: dd if=/dev/zero of=disk.img bs=1M count=20480 # Create a 20GB disk image + + - name: Run the installer + run: arch-aegis config arch.json From 768071c0bed2f443b9b8491799c6d7e4089f6727 Mon Sep 17 00:00:00 2001 From: D3vil0p3r Date: Fri, 27 Sep 2024 21:05:39 +0200 Subject: [PATCH 2/2] Update arch.json --- tests/arch.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/arch.json b/tests/arch.json index 646d3a03..9cca2df2 100644 --- a/tests/arch.json +++ b/tests/arch.json @@ -1,6 +1,6 @@ { "partition": { - "device": "disk.img", + "device": "/dev/loop0", "mode": "Auto", "encrypt_check": false, "efi": true,