build-package.sh: add sha256sum's for bootstrap zips for all arches
This commit is contained in:
parent
3d8d7411ab
commit
5063989277
@ -504,9 +504,18 @@ termux_step_get_repo_files() {
|
||||
"$TERMUX_PKG_MASSAGEDIR" \
|
||||
$TERMUX_PREFIX/{bin,etc,lib,libexec,share,tmp,include}
|
||||
# Setup bootstrap
|
||||
if [ $TERMUX_ARCH == aarch64 ]; then
|
||||
local bootstrap_sha256=9f43bfdd23fbc6ae02f1f5a44b8e064374db8291ffe32658e2724d3f3f419981
|
||||
elif [ $TERMUX_ARCH == i686 ]; then
|
||||
local bootstrap_sha256=4f30d49f8bdb9a294d6e4e0dea6b5cb7b5cd74163531a04659d043b49dc08737
|
||||
elif [ $TERMUX_ARCH == arm ]; then
|
||||
local bootstrap_sha256=2be38e07f93ca3f960ccb5554e67d0860e921b283ccba0aab5527a53b9e97b10
|
||||
elif [ $TERMUX_ARCH == x86_64 ]; then
|
||||
local bootstrap_sha256=71b334dd3901b8f9c2a8905208912419963700f93b5b7cd68213010d05a662a7
|
||||
fi
|
||||
termux_download https://termux.net/bootstrap/bootstrap-${TERMUX_ARCH}.zip \
|
||||
${TERMUX_COMMON_CACHEDIR}/bootstrap-${TERMUX_ARCH}.zip \
|
||||
9f43bfdd23fbc6ae02f1f5a44b8e064374db8291ffe32658e2724d3f3f419981
|
||||
$bootstrap_sha256
|
||||
unzip -qo ${TERMUX_COMMON_CACHEDIR}/bootstrap-${TERMUX_ARCH}.zip -d $TERMUX_PREFIX
|
||||
(
|
||||
cd $TERMUX_PREFIX
|
||||
|
Loading…
Reference in New Issue
Block a user