On Thu, 2013-11-28 at 17:19 -0500, Gene Czarcinski wrote:
On 11/28/2013 12:17 AM, poma wrote:
> On 28.11.2013 03:25, Adam Williamson wrote:
>
>> *
https://bugzilla.redhat.com/show_bug.cgi?id=864198 "grubby fatal error
>> updating grub.cfg when /boot is btrfs" - grubby - the problem here is
>> clearly defined. We are waiting on pjones to decide how to move forward
>> with this. Gene Czarcinski has posted a proposed change to
>> new-kernel-pkg to use grub2-mkconfig instead of grubby for updating
>> bootloader config, which would address this bug but be a late, major
>> change in our behaviour. The alternative would be to fix the problem in
>> grubby. Either way, this is waiting on Peter as the bootloader guy.
> "grub2-mkconfig" for the EXTLINUX too!?
> You should share whatever you have.
> LoL!
> Bee awesome.:!
>
>
I am going to regret opening my mouth here but being foolish has never
stopped me before ;)
Actually, no, I would never use grub2-mkconfig to update a extlinux.conf
file. However, I do have this 308 lines bash script "program" which can
"edit" a extlinux.conf file to add or remove a kernel entry.
Right now, about the only thing I really propose is to use the patch I
created to handle the grubby/BTRFS problem and that only. Yes, I
"solve" the problem by not using grubby at all and instead use
grub2-mkconfig to update (actually it completely rebuilds) the grub.conf
file.
It works. I believe with a little code inspection (it is all
bash-script) you can "prove" it only effects BTRFS. Since BTRFS
currently does not work, how could this be worse?
FWIW, in previous discussion on the bug, I missed that your change only
applies if the /boot partition is on btrfs...that does make it a less
significant change that we might plausibly be able to take for final,
though it introduces a significant difference in behaviour
between /boot-on-btrfs and /boot-on-anything-else. I do wish pjones
would chime in soon.
--
Adam Williamson
Fedora QA Community Monkey
IRC: adamw | Twitter: AdamW_Fedora | XMPP: adamw AT happyassassin . net
http://www.happyassassin.net