Add dep on sha512sum, tweak USE

This commit is contained in:
Salt 2020-12-02 19:52:08 -06:00
parent e4f7e8427d
commit 43079e8649

View File

@ -132,7 +132,7 @@ build-gentoo() {
CXXFLAGS="\${COMMON_FLAGS}"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
MAKEOPTS="$(nproc)"
USE="-test"
USE="systemd -elogind -test"
EOF
# Configure default ebuild repositories
mkdir -p "$_optdest/etc/portage/repos.conf"
@ -228,7 +228,7 @@ main() {
# TODO: That
# Validate core program dependencies
log "Validating dependencies" 2
if ! has basename curl systemd-nspawn tar; then
if ! has basename curl sha512sum systemd-nspawn tar; then
error "Failed to find program: $_return" 1
fi