How to Add Patches to xbps-src Packages

Sources are great to make packages out of them. But in some cases they need to be modified or updated to suit our needs. e.g. a package may not have frequent releases but there are changes in the dependencies in the meanwhile that raise errors if not adopted to new changes in the dependencies. This breaks the packages. This calls for a change in the source files to match the new depends.

Continue reading

LUKS Encrypted Void Linux Install with void-installer

Create a boot partition preferably 1GB or at least 512MB. (Because it does not delete the old kernel files from /boot when new kernel is installed. We’ll have to clean up the old kernel version files more often if we have a smaller partition). We’ll have to have a separate boot partition because encrypted boot partition cannot be read by GRUB. Librebooted machines have the ability to use encrypted boot partitions though.

Continue reading

How to Submit a Package to Void Linux Repo

Void Linux is a GNU+Linux distro with runit as its init system instead of SystemD. In my experience it is lightweight, responsive – even lighter compared to Arch Linux and follows Unix philosophy better than any other common distros. It follows BSD principles too. Which would ease the conversion for people considering BSD to get away from SystemD, but allow them to stay on the GNU+Linux ecosystem at the same time.

Continue reading

How to Create a New xbps-src Package from Scratch

XBPS is an independent package format created by Void Linux. xbps-src is an utility to create XBPS packages. Those packages can be used for installing and uninstalling programs later on. Similar to PKGBUILDs on Arch Linux, xbps-src takes a script-like file with variables and instructions to grab the source and build it to generate package files. It is like building from source, but automatically.

Continue reading