Skip to content

Commit dc31cf2

Browse files
committed
CI: Run "Test on Alpine" in Alpine v3.22 chroot
To fix this error: > Installing base system ( 1/27) Installing alpine-baselayout-data (3.7.1-r8) ( 2/27) Installing musl (1.2.5-r21) ( 3/27) Installing busybox (1.37.0-r29) Executing busybox-1.37.0-r29.post-install * unshare: Invalid argument ERROR: lib/apk/exec/busybox-1.37.0-r29.post-install: exited with error 127 I don't know why this is happening. The latest Alpine comes with apk-tools 3.0.1. However, I tried to update apk-tools in alpine-make-vm-image to 3.0.1 and it worked fine on Ubuntu, including package scripts executed inside chroot from the configure script.
1 parent 6df1ee4 commit dc31cf2

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,8 +80,11 @@ jobs:
8080
# We must run this outside the chroot.
8181
- run: sudo modprobe nbd max_part=16
8282

83-
- name: Set up latest Alpine Linux
83+
- name: Set up Alpine Linux v3.22
8484
uses: jirutka/setup-alpine@v1
85+
with:
86+
# XXX: v3.23 doesn't work here, running package triggers results in "unshare: Invalid argument"
87+
branch: v3.22
8588

8689
- name: Build image for x86_64 with BIOS mode and without GPT
8790
run: |

0 commit comments

Comments
 (0)