diff --git a/abuild.sh b/abuild.sh index f675705..7b6bdfa 100755 --- a/abuild.sh +++ b/abuild.sh @@ -4,5 +4,7 @@ sudo docker run -i \ -v ./keys:/etc/apk/keys \ -v ./cache:/var/cache/distfiles \ -v ./home:/home/buildozer \ + -v ./repositories:/etc/apk/repositories \ + -v ./world:/etc/apk/world \ -t alpinelinux/build-base:latest \ /bin/ash diff --git a/home/.abuild/abuild.conf b/home/.abuild/abuild.conf index f5e7242..6605948 100644 --- a/home/.abuild/abuild.conf +++ b/home/.abuild/abuild.conf @@ -1,4 +1,4 @@ PACKAGER="Aaron Fischer " -REPODEST="$HOME/packages" +REPODEST="$HOME/aports" USE_COLORS=force PACKAGER_PRIVKEY="/home/buildozer/.abuild/mail@aaron-fischer.net-656d83af.rsa" diff --git a/home/setup.sh b/home/setup.sh new file mode 100755 index 0000000..bedc5f4 --- /dev/null +++ b/home/setup.sh @@ -0,0 +1,8 @@ +#!/bin/ash + +# Install needed packages from /etc/apk/world +doas apk -U --allow-untrusted upgrade + +# Clone/Fetch the aports tree +cd aports || (git clone https://gitlab.alpinelinux.org/alpine/aports && cd aports) +git fetch diff --git a/repositories b/repositories new file mode 100644 index 0000000..daef74a --- /dev/null +++ b/repositories @@ -0,0 +1,2 @@ +https://dl-cdn.alpinelinux.org/alpine/edge/main +https://dl-cdn.alpinelinux.org/alpine/edge/community diff --git a/world b/world new file mode 100644 index 0000000..1951f4f --- /dev/null +++ b/world @@ -0,0 +1,11 @@ +alpine-baselayout +alpine-keys +alpine-sdk +apk-tools +busybox +doas +libc-utils +lua-aports +neovim +git +pigz