aboutsummaryrefslogtreecommitdiff
path: root/core/kiss-utils/patches/carbs-chbuild.patch
diff options
context:
space:
mode:
authorCem Keylan <cem@ckyln.com>2020-02-03 01:13:56 +0300
committerCem Keylan <cem@ckyln.com>2020-02-03 01:13:56 +0300
commit3784af6a5fc57bff16c669251de7169427267768 (patch)
treef04b78e1d34794234956338272edcbfc1165ee90 /core/kiss-utils/patches/carbs-chbuild.patch
parent4116d005d2b8f05332fae9d14cb17bd90fadb902 (diff)
downloadrepository-3784af6a5fc57bff16c669251de7169427267768.tar.gz
kiss-utils: patch kiss-chbuild to get carbs-rootfs
Diffstat (limited to 'core/kiss-utils/patches/carbs-chbuild.patch')
-rw-r--r--core/kiss-utils/patches/carbs-chbuild.patch27
1 files changed, 27 insertions, 0 deletions
diff --git a/core/kiss-utils/patches/carbs-chbuild.patch b/core/kiss-utils/patches/carbs-chbuild.patch
new file mode 100644
index 00000000..5b25233b
--- /dev/null
+++ b/core/kiss-utils/patches/carbs-chbuild.patch
@@ -0,0 +1,27 @@
+--- a/contrib/kiss-chbuild
++++ b/contrib/kiss-chbuild
+@@ -15,18 +15,19 @@
+
+ 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 https://dl.getkiss.org/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
+