Bug#747653: grub2-common: update-grub adds both devices and a line feed for BTRFS RAID 1 setup

Andrei Borzenkov arvidjaar at gmail.com
Tue Dec 9 18:22:14 UTC 2014


В Tue, 09 Dec 2014 18:49:21 +0100
Martin Steigerwald <Martin at lichtvoll.de> пишет:

> 
> This looks like it needs to be applied to grub sources instead a installed 
> grub.
> 

You are posting to grub-devel, right? :)

> >  # Allow overriding GRUB_CMDLINE_LINUX and GRUB_CMDLINE_LINUX_DEFAULT.
> 
> […]
> 
> > tg: (17328db..) u/btrfs-multidev (depends on: master)
> 
> Or I can use some version control branch?
> 
> I don´t see the branch on
> 
> http://git.savannah.gnu.org/cgit/grub.git/refs/heads
> 
> Where can I clone it?
> 

Just apply on top of master.

git clone git://git.savannah.gnu.org/grub.git
cd grub
git am e-mail-with-patch

> And then I just build it and copy over the generated files from the files the 
> patch changed manually to my installed grub to test?
> 

I do not know what other patches Debian has, so using upstream directly
may lose Debian specific changes. Also you would need to build using
correct configure options.

I would suggest to build it for different prefix, like

./autogen.sh
./configure --prefix=/usr/local/grub-test
make
make install

then run /usr/local/grub-test/sbin/grub-mkconfig and examine generated
configuration.

> I have grub-pc 2.02~beta2-17 debian package installed.
> 

I myself do not use Debian, sorry.



More information about the Pkg-grub-devel mailing list