Created
November 3, 2023 08:17
-
-
Save Tracnac/424175f0b9305bb3e22c8add1fb24845 to your computer and use it in GitHub Desktop.
Void chroot #linux #shell
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
if [[ -z "${1}" ]] | |
then | |
echo "Usage :" | |
echo " ${0}" chroot_dir | |
exit 1 | |
fi | |
mkdir "${1}" | |
XBPS_ARCH=x86_64-musl xvoidstrap "${1}" base-voidstrap clang make automake autoconf pkg-config git | |
echo "sudo xchroot ${1}" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment