Update .forgejo/workflows/fortune-mod-alpine.yml
This commit is contained in:
parent
1e51019d94
commit
f6c56b14c4
1 changed files with 1 additions and 3 deletions
|
@ -40,12 +40,10 @@ jobs:
|
|||
- name: Unzip
|
||||
run: tar -xzvf alpine-minirootfs-3.21.3-aarch64.tar.gz && rm alpine-minirootfs-3.21.3-aarch64.tar.gz
|
||||
working-directory: ./rootfs
|
||||
- name: Openrc
|
||||
run: rc-service qemu-binfmt stop && rc-service qemu-binfmt start
|
||||
- name: Fix resolv
|
||||
run: echo "nameserver 1.1.1.1" > rootfs/etc/resolv.conf
|
||||
- name: Setup
|
||||
run: cp /usr/bin/qemu-aarch64 rootfs/usr/bin/qemu-aarch64 && sleep 10 && chroot rootfs apk update && chroot rootfs apk add sudo alpine-sdk
|
||||
run: chroot rootfs apk update && chroot rootfs apk add sudo alpine-sdk
|
||||
- name: Create user for building
|
||||
run: chroot rootfs adduser -D packager && chroot rootfs addgroup packager abuild
|
||||
- name: Create sudo rule
|
||||
|
|
Loading…
Add table
Reference in a new issue