From 13375b499658b0c0bd28e8c10fe4c380076a9771 Mon Sep 17 00:00:00 2001 From: D3vil0p3r Date: Sat, 28 Sep 2024 03:30:45 +0200 Subject: [PATCH] Update workflow --- .github/workflows/install.yml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/install.yml b/.github/workflows/install.yml index 497e173ab..42d7c3278 100644 --- a/.github/workflows/install.yml +++ b/.github/workflows/install.yml @@ -12,7 +12,7 @@ jobs: steps: - name: Install dependencies - run: pacman -Syyu --noconfirm aegis udev multipath-tools + run: pacman -Syyu --noconfirm aegis - name: Retrieve install configuration run: curl -O https://raw.githubusercontent.com/Athena-OS/athena/refs/heads/main/tests/arch.json @@ -24,15 +24,15 @@ jobs: losetup -d "$loop_device" echo "Loop Device: $loop_device" losetup "$loop_device" disk.img # Attach the file as a loopback device - kpartx -av "$loop_device" + parted -s "$loop_device" -- mklabel gpt + parted -s "$loop_device" -- mkpart ESP fat32 1MiB 512MiB + parted -s "$loop_device" -- set 1 esp on + parted -s "$loop_device" -- mkpart primary btrfs 512MiB 100% sed -i "s#/dev/loop0#$loop_device#g" arch.json lsblk "$loop_device" - partprobe "$loop_device" - - - name: Trigger udev to create partition device nodes - run: | - sudo udevadm trigger - sudo udevadm settle + sudo fdisk -l "$loop_device" + sudo modprobe dm_mod + sudo dmsetup ls ls -la /dev - name: Run the installer