[arch-general] new packaging of the kernel/mkinitcpio/kmod
Giancarlo Razzolini
grazzolini at archlinux.org
Thu Oct 31 18:41:49 UTC 2019
Em outubro 31, 2019 15:28 Damjan Georgievski via arch-general escreveu:
> I can make a more general hook,
> for example triggering on usr/lib/modules/*/pkgbase (or vmlinuz?) - is
> that the recommended way now?
>
All the official kernels will have pkgbase on them. So, trigger on vmlinuz, which is
the actual kernel, but use pkgbase to know which one you're dealing with.
The mkinitcpio hook, as it is now, won't touch a kernel that has no pkgbase, but in
some circumstances, if the kernel is a non official one, that has no pkgbase yet, the
hook might end up causing the initramfs to be built twice. Other than that, there
shouldn't be any issues.
Regards,
Giancarlo Razzolini
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://lists.archlinux.org/pipermail/arch-general/attachments/20191031/e20bcbd1/attachment.sig>
More information about the arch-general
mailing list