kiss-community / repo

KISS Linux - Unofficial Repositories, mirror of https://codeberg.org/kiss-community/repo
https://kisslinux.org
MIT License
38 stars 17 forks source link

latest rootfs is broken #2 #70

Closed ghost closed 2 years ago

ghost commented 2 years ago

When I extract rootfs as root, I get https://0x0.st/oSiA.txt. The --no-same-owner flag helps. Also, when I try to build the package, I get: fatal: unable to access 'https://github.com/vim/vim/': error setting certificate file: /etc/ssl/certs/ca-certificates.crt

illiliti commented 2 years ago

When I extract rootfs as root, I get https://0x0.st/oSiA.txt.

I think it fails because some files are not owned by root. You can get a list of such files by running this command: tar -tvf kiss-chroot-2022.6-2.tar.xz | grep -v 'root/root'

fatal: unable to access 'https://github.com/vim/vim/': error setting certificate file: /etc/ssl/certs/ca-certificates.crt

As discussed in IRC, the workaround is: ln -s /etc/ssl/cert.pem /etc/ssl/certs/ca-certificates.crt

Maybe curl should be configured to use /etc/ssl/cert.pem by default? Via --with-ca-bundle=FILE or something...

ghost commented 2 years ago

I think it fails because some files are not owned by root. You can get a list of such files by running this command: tar -tvf kiss-chroot-2022.6-2.tar.xz | grep -v 'root/root'

Yes, there are files owned by a non-root user

ioraff commented 2 years ago

I think both of these issues should be fixed in the latest release.

ghost commented 2 years ago

I think both of these issues should be fixed in the latest release.

I confirm. Thank you!