Mega-commit removing deps in xbps-base-chroot.
xbps-src: * ALWAYS use the static bins, to avoid breakage in the chroot. * Remove XBPS_FETCH_CMD. Use xbps-fetch (static) now that it's useful to download all distfiles in xbps-base-system. * Use busybox in the chroot and create links in /usr/local/bin at creation time. This helps to remove many packages that had problems with host/target libs (acl, attr, libarchive, etc). build templates: * Add explicit gettext and texinfo build dependencies in all packages that need them, because they aren't built anymore by xbps-base-chroot. * Fixed some packages using build_style=gnu_makefile, that were broken because pre/post_configure() is not executed for a while, they should use pre/post_build() instead. --HG-- extra : convert_revision : 0eaaf4917fd824710d0895e0c984bbc236b0cdf8
This commit is contained in:
@@ -34,7 +34,7 @@ verify_sha256_cksum()
|
||||
|
||||
[ -z "$file" -o -z "$cksum" ] && return 1
|
||||
|
||||
filesum=$(xbps-digest.static $XBPS_SRCDISTDIR/$file)
|
||||
filesum=$(${XBPS_DIGEST_CMD} $XBPS_SRCDISTDIR/$file)
|
||||
if [ "$origsum" != "$filesum" ]; then
|
||||
msg_error "SHA256 checksum doesn't match for $file."
|
||||
fi
|
||||
@@ -47,7 +47,7 @@ fetch_update_cksum()
|
||||
local tmpl="$XBPS_TEMPLATESDIR/$pkgname/template"
|
||||
local upcmd=$(basename $XBPS_SRCDISTDIR/$1)
|
||||
|
||||
sed -i -e "s|checksum.*|checksum=$(xbps-digest.static ${upcmd})|" $tmpl
|
||||
sed -i -e "s|checksum.*|checksum=$(${XBPS_DIGEST_CMD} ${upcmd})|" $tmpl
|
||||
return $?
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user