Skip to content

Commit

Permalink
Update workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
D3vil0p3r committed Sep 28, 2024
1 parent 9fdd873 commit 13375b4
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/install.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 13375b4

Please sign in to comment.