function check { [ "$INTERNET" = "down" ] && return 1 if xbps-query glibc >/dev/null 2>&1; then return 0 else return 1 fi } DESCRIPTION="Legacy Nvidia driver, version 470, supports GTX ??? series" #TODO: void-repo-nonfree PACKAGES="nvidia470" function post_install { #TODO: nvidia modeset kernel parameter? echo "nvidia/nvidia470" >> /tmp/stage-2-choices }