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://github.com/void-linux/void-packages/blob/master/Manual.md
1. https://github.com/void-linux/void-packages/blob/master/README.md
$ clone https://github.com/void-linux/void-packages.git
$ xbps-install xtools
`xtools` provides `xi` (short for xbps-install).