You are not logged in.

#1 2017-07-01 20:28:19

hadenodom
Member
Registered: 2017-07-01
Posts: 1

How to prevent Pacman -Syu from updating kernel?

I have a custom kernel installed (using linux-zen from the AUR), and on issuing the "pacman -Syu" command, pacman updates the mainline linux kernel and sets my linux-zen kernel as a fallback option in grub.  I don't want it to do this.  How can I prevent this behavior?  I want to keep the mainline linux kernel installed as a fallback, so simply removing the mainline kernel using pacman isn't quite an ideal option.

Offline

#2 2017-07-01 20:36:18

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

Re: How to prevent Pacman -Syu from updating kernel?

pacman won't change anything in grub, you've got something else going on there.

Offline

#3 2017-07-01 20:37:55

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: How to prevent Pacman -Syu from updating kernel?

Not a Pacman issue, moving to AUR Issues...


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#4 2017-07-01 21:01:04

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,449
Website

Re: How to prevent Pacman -Syu from updating kernel?

As Scimmia notes, pacman will not change grub.  However, it will trigger post install hooks.  I'm not remotely familiar with GRUB, but it has os-prober and other automated config generators - if one of these is triggered in a post install (or post upgrade) hook, then this could regenerate your grub configs.  However, if this is causing a problem, you must not have properly set up grub for your custom kernel (perhaps you manually editted the grub config rather than adding a file to /etc/grub.d).


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#5 2017-07-02 21:57:22

metak
Member
Registered: 2009-09-27
Posts: 198

Re: How to prevent Pacman -Syu from updating kernel?

Offline

Board footer

Powered by FluxBB