summaryrefslogtreecommitdiff
path: root/xib.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 /xib.sh
parente5b726782e317ae4306a34d065171fd66a417186 (diff)
refined bootstrap procedure
Diffstat (limited to 'xib.sh')
-rwxr-xr-xxib.sh9
1 files changed, 2 insertions, 7 deletions
diff --git a/xib.sh b/xib.sh
index 7eb0f6d..0d529a7 100755
--- a/xib.sh
+++ b/xib.sh
@@ -85,19 +85,14 @@ build_package () {
rm -rf $stage
mkdir -p $stage
- xibuild -v -k $keychain/$priv_key -c $1 -d $stage -r $chroot || return 1
+ xibuild -v -k $keychain/$priv_key -C $1 -d $stage -r $chroot || return 1
get_buildfiles_hash $1 > $stage/$name.xibsum
}
package_install () {
local name=$1
local xipkg=$2
- SYSROOT=$3
- INSTALLED_DIR="$chroot/var/lib/xipkg/installed/"
- VERBOSE=false
-
- install_package $xipkg $name && printf "${PASS}${CHECKMARK}\n" || printf "${NEUTRAL}${CHECKMARK}\n"
- run_postinstall
+ xipkg -lny -r $3 install $xipkg && printf "${PASS}${CHECKMARK}\n" || printf "${NEUTRAL}${CHECKMARK}\n"
}
# get the direct dependencies of a single package