summaryrefslogtreecommitdiff
path: root/bootstrap.sh
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-05-17 19:09:55 +0100
committerdavidovski <david@davidovski.xyz>2022-05-17 19:09:55 +0100
commitea69b732b3fedc07db6f67efb68ad30665d00ab9 (patch)
tree97536b42115fb91388406111b303d86c1e5b4465 /bootstrap.sh
parente5b726782e317ae4306a34d065171fd66a417186 (diff)
refined bootstrap procedure
Diffstat (limited to 'bootstrap.sh')
-rwxr-xr-xbootstrap.sh12
1 files changed, 5 insertions, 7 deletions
diff --git a/bootstrap.sh b/bootstrap.sh
index 974dd86..e4a041b 100755
--- a/bootstrap.sh
+++ b/bootstrap.sh
@@ -23,7 +23,6 @@ bison
bzip2
sbase
sort
-ubase
findutils
diffutils
gettext
@@ -35,9 +34,7 @@ perl
sed
tar
texinfo
-xz
-flex
-toolchain-cmake
+cmake-toolchain
ninja
"
@@ -52,14 +49,15 @@ bootstrap () {
parent=$(basename $pkg_build)
[ ! -d "$stage/$parent" ] && mkdir -p $stage/$parent
[ ! -f $stage/$parent/$pkg.xipkg ] && {
- xibuild -v -k $keychain/$priv_key -c $pkg_build -d $stage/$parent -r $chroot || return 1
+ xibuild -nv -k $keychain/$priv_key -C $pkg_build -d $stage/$parent -r $chroot || return 1
}
echo "Installing $pkg"
- xi -r $toolchaindest install $stage/$parent/$pkg.xipkg
+ xi -nyl -r $toolchaindest install $stage/$parent/$pkg.xipkg
done
- printf "creating tarball...\n"
+ printf "creating tarball..."
output="xib-chroot-tools-$(date +%y%m%d).tar.xz"
tar -C $toolchaindest -cJf $output ./
+ printf "Complete!\n"
}