You are not logged in.

#1 2015-11-11 21:50:46

spacelander
Member
Registered: 2015-07-29
Posts: 16

Pacman: use non-default name for grsec kernel?

The name vmlinuz-linux-grsec is apparently too long for my UEFI to handle and it doesn't boot up, so I did:

# cp vmlinuz-linux-grsec vmlinuz-grsec

And it works now. I know it is possible to configure mkinitcpio to use a different filename for the initramfs image. Is something like this possible for the kernel, or do I have to manually copy the kernel every time I update?

Last edited by spacelander (2015-11-11 22:08:43)

Offline

#2 2015-11-11 22:39:40

bstaletic
Member
Registered: 2014-02-02
Posts: 658

Re: Pacman: use non-default name for grsec kernel?

There's a variable in PKGBUILD for kernels that sets the name. Though that requires recompiling. But if you would learn how to configure kernel and preserve configuration, upgrades would not require that much time. On my i5 2500 recompiling of a minimal kernel takes around 5 minutes. As a bonus if your root is not on anything like lvm/LUKS/mdadm (or something that must be activated from userland to be accessed) you could boot without initramfs/initrd.

Offline

#3 2015-11-11 22:57:57

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,540

Re: Pacman: use non-default name for grsec kernel?

Pacman hooks would be perfect for this. Too bad they're not ready yet.

I think systemd has a mechanism for it as well?

Last edited by Scimmia (2015-11-11 22:58:13)

Offline

Board footer

Powered by FluxBB