From f435f957262b366e9503f776c8e8d26787689cd4 Mon Sep 17 00:00:00 2001 From: Evangelos Foutras <evangelos@foutras.com> Date: Sun, 4 Jun 2023 23:55:51 +0300 Subject: [PATCH] gitlab_runner: change partnum in img update script arch-boxes!182 creates an EFI system partition so rootfs is now in p3. --- roles/gitlab_runner/files/libvirt-executor-update-base-image | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/gitlab_runner/files/libvirt-executor-update-base-image b/roles/gitlab_runner/files/libvirt-executor-update-base-image index 4441072ea..aae049a63 100755 --- a/roles/gitlab_runner/files/libvirt-executor-update-base-image +++ b/roles/gitlab_runner/files/libvirt-executor-update-base-image @@ -29,7 +29,7 @@ image=Arch-Linux-x86_64-basic.img qemu-img convert -f qcow2 -O raw Arch-Linux-x86_64-basic.qcow2 Arch-Linux-x86_64-basic.img loopdev="$(losetup --find --partscan --show "${image}")" -mount --mkdir "${loopdev}p2" mnt +mount --mkdir "${loopdev}p3" mnt arch-chroot mnt pacman-key --init arch-chroot mnt pacman-key --populate -- GitLab