r/voidlinux • u/NF_v1ctor • Feb 09 '26
Managing local void packages
hello, i'm new to the void. I want to know how can I manage my custom void package templates that are not in the void-package yet (currently I store them directly in the void-packages repo, but when pulling the repo, it requires commiting my local everytime)
4
Upvotes
7
u/Duncaen Feb 09 '26
Its a git repository so the easiest is to make use of git and either rebase or merge upstream changes with your personal branch.
2
u/mnabid_25 Feb 11 '26
Install
xtoolsin your system, this will make your life much easier.xnew pkgname.xbump pkgname.git pull -r origin/master. This will rebase your local branch every time keep your changes on top of upstream ones.xi -f pkgnamefrom your local repository.xcheckmypkgs.There are a lot more stuff, run
man xtoolsfor details.It's a good idea to keep a remote fork for yourself. Fork the repository, add the remote to your local repository, then periodically force push to your remote.
Read the README file, all these are documented in detail there.