aboutsummaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
Diffstat (limited to 'contrib')
-rwxr-xr-xcontrib/kiss-chbuild13
1 files changed, 6 insertions, 7 deletions
diff --git a/contrib/kiss-chbuild b/contrib/kiss-chbuild
index 28a1544..9df18cc 100755
--- a/contrib/kiss-chbuild
+++ b/contrib/kiss-chbuild
@@ -8,27 +8,26 @@ log() {
clean() {
log "Destroying chroot"
-
su -c "rm -rf chroot-$pid" || clean
}
pid=$$
-url=https://github.com/kisslinux/repo/releases/download/1.9.0/
cd "${cac_dir:=$KISS_ROOT${XDG_CACHE_HOME:-$HOME/.cache}/kiss}"
-[ -f kiss-chroot.tar.xz ] || {
+[ -f carbs-rootfs.tar.xz ] || {
log "Downloading chroot tarball"
- wget "$url/kiss-chroot.tar.xz"
+ wget https://dl.carbslinux.org/releases/carbs-rootfs.tar.xz
}
-[ -d kiss-chroot ] || {
+[ -d carbs-chroot ] || {
log "Extracting chroot"
- tar xvf kiss-chroot.tar.xz
+ mkdir -p carbs-chroot
+ tar xvf carbs-rootfs.tar.xz -C carbs-chroot
}
log "Creating temporary chroot"
-cp -a kiss-chroot "chroot-$pid"
+cp -a carbs-chroot "chroot-$pid"
trap clean EXIT INT