Closed josephreynolds1 closed 4 years ago
yes, i got this error too, on gentoo. full log: [user@localhost kiss-live]$ sudo ./kiss-live 033[1;33m->033[m Preparing enviroment 033[1;33m->033[m Downloading source --2020-10-08 21:08:16-- https://github.com/kisslinux/repo/releases/download/2020.9-2/kiss-chroot-2020.9-2.tar.xz Resolving github.com... 140.82.112.4 Connecting to github.com|140.82.112.4|:443... connected. HTTP request sent, awaiting response... 302 Found Location: https://github-production-release-asset-2e65be.s3.amazonaws.com/185751948/a096da00-ee95-11ea-89c6-1ad12d067216?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20201009%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20201009T020814Z&X-Amz-Expires=300&X-Amz-Signature=2ef96ecae9a2e98cb9348fceedfcd906f46d62c9a74553f81cedd2458e23af28&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=185751948&response-content-disposition=attachment%3B%20filename%3Dkiss-chroot-2020.9-2.tar.xz&response-content-type=application%2Foctet-stream [following] --2020-10-08 21:08:22-- https://github-production-release-asset-2e65be.s3.amazonaws.com/185751948/a096da00-ee95-11ea-89c6-1ad12d067216?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20201009%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20201009T020814Z&X-Amz-Expires=300&X-Amz-Signature=2ef96ecae9a2e98cb9348fceedfcd906f46d62c9a74553f81cedd2458e23af28&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=185751948&response-content-disposition=attachment%3B%20filename%3Dkiss-chroot-2020.9-2.tar.xz&response-content-type=application%2Foctet-stream Resolving github-production-release-asset-2e65be.s3.amazonaws.com... 52.217.12.84 Connecting to github-production-release-asset-2e65be.s3.amazonaws.com|52.217.12.84|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 32678308 (31M) [application/octet-stream] Saving to: ā/home/user/tmp/kiss/kiss-live/tmp/kiss-chroot-2020.9-2.tar.xzā
/home/user/tmp/kiss/kiss-liv 100%[=======================================>] 31.16M 316KB/s in 1m 57s
2020-10-08 21:10:25 (273 KB/s) - ā/home/user/tmp/kiss/kiss-live/tmp/kiss-chroot-2020.9-2.tar.xzā saved [32678308/32678308]
033[1;33m->033[m Extracting source 033[1;33m->033[m Preparing rootfs enviroment cp: cannot create regular file '/home/user/tmp/kiss/kiss-live/rootfs/root/.cache/hooks': No such file or directory [user@localhost kiss-live]$
ps: also its will be nice to add option for do not delete all downloaded files, just in case if re-run script so don't need to re-download them again (on slow internet making lots of sense). thanks again for kiss project, just luv it! ā¤
thanks for quick fix! i'm testing now...
You welcome, but kiss project is about @dylanaraps, not absolutely my.
To not delete all the files you can run with --debug
mode, and create a cache dir and pass it --cache <dir>
, after that if you would re-run you only need to remove .
I always run like that:iso/
and rootfs/
sls kiss-live -d -c cache
Command fails on copying the hooks dir to rootfs dir due to path not found.
failing command: cp -r "$hooksdir/kiss/hooks" "$rootfsdir/root/.cache/hooks"
I had to add a mkdir before the copy.
mkdir -p "$rootfsdir/root/.cache/hooks"