Re: new packaging of the kernel/mkinitcpio/kmod

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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

Attachment: pgptg1GbcuX75.pgp
Description: PGP signature


[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux