From 1f2d074d29852583600d69e5118d5857006ae792 Mon Sep 17 00:00:00 2001 From: txtsd Date: Tue, 15 Aug 2023 13:11:31 +0530 Subject: [PATCH] fix: Try without doas Signed-off-by: txtsd --- 01_setup_build_env.sh | 12 ++++++------ 02_build_static_libnl3.sh | 4 ++-- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/01_setup_build_env.sh b/01_setup_build_env.sh index 2d5f393..96b80e9 100755 --- a/01_setup_build_env.sh +++ b/01_setup_build_env.sh @@ -1,11 +1,11 @@ #!/bin/ash apk update -apk add alpine-sdk doas +apk add alpine-sdk -doas addgroup $(whoami) abuild -doas mkdir -p /var/cache/distfiles -doas chmod a+w /var/cache/distfiles -doas chgrp abuild /var/cache/distfiles -doas chmod g+w /var/cache/distfiles +addgroup $(whoami) abuild +mkdir -p /var/cache/distfiles +chmod a+w /var/cache/distfiles +chgrp abuild /var/cache/distfiles +chmod g+w /var/cache/distfiles diff --git a/02_build_static_libnl3.sh b/02_build_static_libnl3.sh index 691355b..0699c4f 100755 --- a/02_build_static_libnl3.sh +++ b/02_build_static_libnl3.sh @@ -1,8 +1,8 @@ #!/bin/ash -doas abuild-keygen -a -i -b 4096 +abuild-keygen -a -i -b 4096 git clone https://gitlab.alpinelinux.org/alpine/aports.git --depth 1 cd aports/main/libnl3 abuild -r -doas apk add ~/packages/main/$(abuild -A)/libnl3* +apk add ~/packages/main/$(abuild -A)/libnl3*