Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

What is "kh" and why is it in the chroot tarball #267

Closed
AndreiSva opened this issue Jul 8, 2021 · 3 comments
Closed

What is "kh" and why is it in the chroot tarball #267

AndreiSva opened this issue Jul 8, 2021 · 3 comments

Comments

@AndreiSva
Copy link

Basically I've noticed there's a new script in the kiss chroot tarball called "kh". It's not in PATH so I would assume it's only meant for use in a chroot.

Could you please provide a more in depth explanation on what this script is and if it is really needed to be included in a running system?

Thanks.

@dylanaraps
Copy link
Member

That's the hook I used during the chroot build. If I left it in the tarball, that's my mistake. It removes documentation and otherwise unneeded things to make the tarballs smaller. When you rebuild the system (without the hook), these directories will then exist.

The package manager on your system knows nothing about this file unless you set KISS_HOOK=/kh in your environment. It's entirely harmless otherwise.

I am uploading a new chroot tarball without this file. Thanks for letting me know.

@dylanaraps
Copy link
Member

dylanaraps commented Jul 8, 2021

See: https://kisslinux.xyz/package-manager#6.0 for information about package manager hooks and how they work.

@dylanaraps
Copy link
Member

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

2 participants