Skip to content

Instantly share code, notes, and snippets.

#!/bin/sh -ex
REPO_DEFAULT="https://alpha.de.repo.voidlinux.org/"
# packages of https://github.com/void-linux/void-packages/pull/29139
: "${REPO_EXTRA:=""}"
: "${XBPS_TARGET_ARCH:=armv7l-musl}"
: "${ROOT:="/tmp/rootfs.void.$XBPS_TARGET_ARCH"}"
: "${CACHEDIR:="$HOME/void-binpkgs/$XBPS_TARGET_ARCH"}"
Setting up xbps-src
Docs
1: https://wiki.voidlinux.eu/Xbps-src
2: https://github.com/voidlinux/void-packages/blob/master/Manual.md
3: https://github.com/voidlinux/void-packages/blob/master/README.md
clone https://github.com/voidlinux/void-packages.git
$ xbps-install xtools