You are not logged in.

#1 2011-06-13 15:04:08

rAX
Member
From: Algiers
Registered: 2011-05-27
Posts: 86

[solved]How to keep options added to the kernel line after an update?

Hello,

My problem is that I keep getting my burg.cfg (in /boot/burg/) overwritten with a new file after a kernel update or an update-burg command. I added a few options to the kernel line that I want to keep (radeon.modeset=1...etc), is there a trick to do it?

Last edited by rAX (2011-09-06 10:03:39)

Offline

#2 2011-06-13 18:01:43

ConnorBehan
Package Maintainer (PM)
From: Long Island NY
Registered: 2007-07-05
Posts: 1,359
Website

Re: [solved]How to keep options added to the kernel line after an update?

I was surprised that the PKGBUILDs for burg do not have "backup=('/boot/burg/burg.cfg')" in them. This should stop pacman from deleting the file but I'm not sure about the update-burg command.


6EA3 F3F3 B908 2632 A9CB E931 D53A 0445 B47A 0DAB
Great things come in tar.xz packages.

Offline

#3 2011-06-13 18:26:14

rAX
Member
From: Algiers
Registered: 2011-05-27
Posts: 86

Re: [solved]How to keep options added to the kernel line after an update?

The thing is, I installed burg via an external repo. (I know it's half bad) but I couldn't get burg-bzr to build.

Offline

#4 2011-06-13 18:31:33

Wey
Member
Registered: 2011-04-22
Posts: 217

Re: [solved]How to keep options added to the kernel line after an update?

Doesn't burg use nearly the same configuration as grub{,2}? If you are not using separate menu entries for the same kernel with different options, you should be able to simply add them in /etc/default/burg (which is in the backup array of the PKGBUILD) under GRUB_CMDLINE_LINUX_DEFAULT. Then running burg-mkconfig -o /boot/burg.cfg (as invoked by update-burg).

Offline

#5 2011-06-13 18:56:22

rAX
Member
From: Algiers
Registered: 2011-05-27
Posts: 86

Re: [solved]How to keep options added to the kernel line after an update?

Yep. It does keep the options indeed, but it adds them to all the entries including 'Fallback' and 'Recovery', I don't know if this is a healthy behavior!

Offline

Board footer

Powered by FluxBB