void-linux / xbps

The X Binary Package System (XBPS)
https://voidlinux.org/xbps/
Other
821 stars 124 forks source link

noextract and alternative symlinks #603

Closed dkwo closed 2 months ago

dkwo commented 2 months ago

If I use my own initramfs kernel hooks, and put noextract=/usr/libexec/tinyramfs/kernel-hook-*, this produces error in xbps-pkgdb -a:

ERROR: tinyramfs: alternatives group initramfs symlink /etc/kernel.d/post-install/20-initramfs: No such file or directory
ERROR: tinyramfs: alternatives group initramfs symlink /etc/kernel.d/post-remove/20-initramfs: No such file or directory

Is there a better way to do this? My goal is to install the package, but use a custom xbps post-install kernel hook.