diff options
author | davidovski <david@davidovski.xyz> | 2022-05-19 00:20:25 +0100 |
---|---|---|
committer | davidovski <david@davidovski.xyz> | 2022-05-19 00:20:25 +0100 |
commit | 7b365e3bef46ef5d102b38b04f51434260bd4957 (patch) | |
tree | 497658fff3c6b7cad037e4e80ed6adae328dd495 /bootstrap.sh | |
parent | ea69b732b3fedc07db6f67efb68ad30665d00ab9 (diff) |
restored previous bootstrap
Diffstat (limited to 'bootstrap.sh')
-rwxr-xr-x | bootstrap.sh | 63 |
1 files changed, 0 insertions, 63 deletions
diff --git a/bootstrap.sh b/bootstrap.sh deleted file mode 100755 index e4a041b..0000000 --- a/bootstrap.sh +++ /dev/null @@ -1,63 +0,0 @@ -#!/bin/sh - -toolchaindest="$xib_dir/chroot-toolchain" - -toolchainpackages=" -musl -linux-headers -llvm -clang -clang-tools-extra -libcxx -libcxxabi -libunwind -lld -libexecinfo -ncurses -tcl -expect -dejagnu -m4 -dash -bison -bzip2 -sbase -sort -findutils -diffutils -gettext -gzip -grep -make -patch -perl -sed -tar -texinfo -cmake-toolchain -ninja -" - -bootstrap () { - mkdir -p $toolchaindest - rm -rf $stage - mkdir -p $stage - xi -nyl -r $toolchaindest bootstrap - - for pkg in $toolchainpackages; do - pkg_build=$(get_package_build $pkg) - parent=$(basename $pkg_build) - [ ! -d "$stage/$parent" ] && mkdir -p $stage/$parent - [ ! -f $stage/$parent/$pkg.xipkg ] && { - xibuild -nv -k $keychain/$priv_key -C $pkg_build -d $stage/$parent -r $chroot || return 1 - } - echo "Installing $pkg" - xi -nyl -r $toolchaindest install $stage/$parent/$pkg.xipkg - done - - printf "creating tarball..." - output="xib-chroot-tools-$(date +%y%m%d).tar.xz" - tar -C $toolchaindest -cJf $output ./ - printf "Complete!\n" -} - |