* BUGS: btrfs multi-device support fixes
@ 2013-10-26 15:36 Gene Czarcinski
2013-10-26 16:27 ` Vladimir 'φ-coder/phcoder' Serbinenko
0 siblings, 1 reply; 16+ messages in thread
From: Gene Czarcinski @ 2013-10-26 15:36 UTC (permalink / raw)
To: grub-devel; +Cc: Chris Murphy, Gene Czarcinski
[-- Attachment #1: Type: text/plain, Size: 997 bytes --]
There are two patches needed in grub2 to support multi-device btrfs volumes.
This first patch (previously submitted) involves the parameters passed
to grub2-probe. If not correctly passed, grub2-probe issues an error
message. The related problem report is:
https://bugzilla.redhat.com/show_bug.cgi?id=890955
The second problem involves having a multi-device btrfs volume with
/boot being on the btrfs volume either as part of the root subvolume or
as a separate subvolume. The result is an error messare at boot time:
error: no such device: root.
hit any key to continue
The solution is to modify grub-probe.c so that " " is issued rather than
"\n" for a hint. The related problem report is:
https://bugzilla.redhat.com/show_bug.cgi?id=1023161
To minimize problems, the two patches have been attached rather than
provided inline.
Peter, I cc'ed you so you would be aware of these bug reports. It would
be nice if this was applied to both Fedora 20 and 19.
Gene
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-support-for-multi-device-btrfs-volume.patch --]
[-- Type: text/x-patch; name="0001-support-for-multi-device-btrfs-volume.patch", Size: 1495 bytes --]
From b9ed3e49354f5159d962c083b68cf06723a4aff5 Mon Sep 17 00:00:00 2001
From: Fedora Ninjas <grub2-owner@fedoraproject.org>
Date: Mon, 14 Oct 2013 16:11:00 -0400
Subject: [PATCH] support for multi-device btrfs volume
The current code produces error messages if passed a device
list with multiple devices for a btrfs volume. It worked OK
for single device btrfs volume.
This has been regression tested with root/boot on a regular
partition, single device VG logical volume, and single
device btrfs volume.
The name was change from device to devices to indicate that it
could be a device list plus the comments were added.
---
util/grub-mkconfig_lib.in | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/util/grub-mkconfig_lib.in b/util/grub-mkconfig_lib.in
index b48e2af..d4d6ba0 100644
--- a/util/grub-mkconfig_lib.in
+++ b/util/grub-mkconfig_lib.in
@@ -270,10 +270,13 @@ gettext_printf () {
printf "$(gettext "$gettext_printf_format")" "$@"
}
+# $1 may be a list of devices separated by blanks. grub_probe accepts
+# multiple arguments after --device but each device must be in a separate
+# argument. Hence ${devices} rather than "${devices}".
uses_abstraction () {
- device="$1"
+ devices="$1"
- abstraction="`"${grub_probe}" --device "${device}" --target=abstraction`"
+ abstraction="`"${grub_probe}" --device ${devices} --target=abstraction`"
for module in ${abstraction}; do
if test "x${module}" = "x$2"; then
return 0
--
1.8.3.1
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #3: 0001-fix-for-hint-problem-with-multi-device-btrfs.patch --]
[-- Type: text/x-patch; name="0001-fix-for-hint-problem-with-multi-device-btrfs.patch", Size: 974 bytes --]
From 4be122b0d3a8f961eaba08d67656b0afbd77f5a5 Mon Sep 17 00:00:00 2001
From: Fedora Ninjas <grub2-owner@fedoraproject.org>
Date: Sat, 26 Oct 2013 06:37:28 -0400
Subject: [PATCH] fix for hint problem with multi device btrfs
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit
A btrfs volume can consist of more than one device. Having
the output on different lines screws up the scripts which,
for the most part, expect only a single device.
---
util/grub-probe.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/util/grub-probe.c b/util/grub-probe.c
index a46f0b1..dd5de00 100644
--- a/util/grub-probe.c
+++ b/util/grub-probe.c
@@ -543,7 +543,7 @@ probe (const char *path, char **device_names, char delim)
print_full_name (map, dev);
printf ("' ");
}
- printf ("\n");
+ printf (" "); /* new-line causes problems for multi-device btrfs volumes */
grub_device_close (dev);
continue;
--
1.8.3.1
^ permalink raw reply related [flat|nested] 16+ messages in thread
* Re: BUGS: btrfs multi-device support fixes
2013-10-26 15:36 BUGS: btrfs multi-device support fixes Gene Czarcinski
@ 2013-10-26 16:27 ` Vladimir 'φ-coder/phcoder' Serbinenko
2013-10-26 20:16 ` Gene Czarcinski
0 siblings, 1 reply; 16+ messages in thread
From: Vladimir 'φ-coder/phcoder' Serbinenko @ 2013-10-26 16:27 UTC (permalink / raw)
To: The development of GNU GRUB
Cc: Chris Murphy, Gene Czarcinski, Gene Czarcinski
[-- Attachment #1: Type: text/plain, Size: 1334 bytes --]
Rejected, similar patches is in trunk since some time.
On 26.10.2013 17:36, Gene Czarcinski wrote:
> There are two patches needed in grub2 to support multi-device btrfs
> volumes.
>
> This first patch (previously submitted) involves the parameters passed
> to grub2-probe. If not correctly passed, grub2-probe issues an error
> message. The related problem report is:
> https://bugzilla.redhat.com/show_bug.cgi?id=890955
>
> The second problem involves having a multi-device btrfs volume with
> /boot being on the btrfs volume either as part of the root subvolume or
> as a separate subvolume. The result is an error messare at boot time:
> error: no such device: root.
> hit any key to continue
>
> The solution is to modify grub-probe.c so that " " is issued rather than
> "\n" for a hint. The related problem report is:
> https://bugzilla.redhat.com/show_bug.cgi?id=1023161
>
> To minimize problems, the two patches have been attached rather than
> provided inline.
>
> Peter, I cc'ed you so you would be aware of these bug reports. It would
> be nice if this was applied to both Fedora 20 and 19.
>
> Gene
>
>
>
> _______________________________________________
> Grub-devel mailing list
> Grub-devel@gnu.org
> https://lists.gnu.org/mailman/listinfo/grub-devel
>
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 291 bytes --]
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: BUGS: btrfs multi-device support fixes
2013-10-26 16:27 ` Vladimir 'φ-coder/phcoder' Serbinenko
@ 2013-10-26 20:16 ` Gene Czarcinski
2013-10-27 6:54 ` Andrey Borzenkov
0 siblings, 1 reply; 16+ messages in thread
From: Gene Czarcinski @ 2013-10-26 20:16 UTC (permalink / raw)
To: Vladimir 'φ-coder/phcoder' Serbinenko,
The development of GNU GRUB
Cc: Chris Murphy, Gene Czarcinski
On 10/26/2013 12:27 PM, Vladimir 'φ-coder/phcoder' Serbinenko wrote:
> Rejected, similar patches is in trunk since some time.
Thanks. I was not aware that the problem had been addressed. Can you
point me where to look to see what has been addressed?
Gene
> On 26.10.2013 17:36, Gene Czarcinski wrote:
>> There are two patches needed in grub2 to support multi-device btrfs
>> volumes.
>>
>> This first patch (previously submitted) involves the parameters passed
>> to grub2-probe. If not correctly passed, grub2-probe issues an error
>> message. The related problem report is:
>> https://bugzilla.redhat.com/show_bug.cgi?id=890955
>>
>> The second problem involves having a multi-device btrfs volume with
>> /boot being on the btrfs volume either as part of the root subvolume or
>> as a separate subvolume. The result is an error messare at boot time:
>> error: no such device: root.
>> hit any key to continue
>>
>> The solution is to modify grub-probe.c so that " " is issued rather than
>> "\n" for a hint. The related problem report is:
>> https://bugzilla.redhat.com/show_bug.cgi?id=1023161
>>
>> To minimize problems, the two patches have been attached rather than
>> provided inline.
>>
>> Peter, I cc'ed you so you would be aware of these bug reports. It would
>> be nice if this was applied to both Fedora 20 and 19.
>>
>> Gene
>>
>>
>>
>> _______________________________________________
>> Grub-devel mailing list
>> Grub-devel@gnu.org
>> https://lists.gnu.org/mailman/listinfo/grub-devel
>>
>
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: BUGS: btrfs multi-device support fixes
2013-10-26 20:16 ` Gene Czarcinski
@ 2013-10-27 6:54 ` Andrey Borzenkov
2013-10-27 14:47 ` Gene Czarcinski
0 siblings, 1 reply; 16+ messages in thread
From: Andrey Borzenkov @ 2013-10-27 6:54 UTC (permalink / raw)
To: The development of GNU GRUB
Cc: Chris Murphy, Vladimir 'φ-coder/phcoder' Serbinenko,
gczarcinski, Gene Czarcinski
В Sat, 26 Oct 2013 16:16:19 -0400
Gene Czarcinski <gczarcinski@gmail.com> пишет:
> On 10/26/2013 12:27 PM, Vladimir 'φ-coder/phcoder' Serbinenko wrote:
> > Rejected, similar patches is in trunk since some time.
> Thanks. I was not aware that the problem had been addressed. Can you
> point me where to look to see what has been addressed?
>
This is commit 588744d0dc655177d5883bdcb8f72ff5160109ed.
> Gene
> > On 26.10.2013 17:36, Gene Czarcinski wrote:
> >> There are two patches needed in grub2 to support multi-device btrfs
> >> volumes.
> >>
> >> This first patch (previously submitted) involves the parameters passed
> >> to grub2-probe. If not correctly passed, grub2-probe issues an error
> >> message. The related problem report is:
> >> https://bugzilla.redhat.com/show_bug.cgi?id=890955
> >>
> >> The second problem involves having a multi-device btrfs volume with
> >> /boot being on the btrfs volume either as part of the root subvolume or
> >> as a separate subvolume. The result is an error messare at boot time:
> >> error: no such device: root.
> >> hit any key to continue
> >>
> >> The solution is to modify grub-probe.c so that " " is issued rather than
> >> "\n" for a hint. The related problem report is:
> >> https://bugzilla.redhat.com/show_bug.cgi?id=1023161
> >>
> >> To minimize problems, the two patches have been attached rather than
> >> provided inline.
> >>
> >> Peter, I cc'ed you so you would be aware of these bug reports. It would
> >> be nice if this was applied to both Fedora 20 and 19.
> >>
> >> Gene
> >>
> >>
> >>
> >> _______________________________________________
> >> Grub-devel mailing list
> >> Grub-devel@gnu.org
> >> https://lists.gnu.org/mailman/listinfo/grub-devel
> >>
> >
>
>
> _______________________________________________
> Grub-devel mailing list
> Grub-devel@gnu.org
> https://lists.gnu.org/mailman/listinfo/grub-devel
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: BUGS: btrfs multi-device support fixes
2013-10-27 6:54 ` Andrey Borzenkov
@ 2013-10-27 14:47 ` Gene Czarcinski
2013-10-27 15:24 ` Andrey Borzenkov
0 siblings, 1 reply; 16+ messages in thread
From: Gene Czarcinski @ 2013-10-27 14:47 UTC (permalink / raw)
To: Andrey Borzenkov, The development of GNU GRUB
Cc: Chris Murphy, Vladimir 'φ-coder/phcoder' Serbinenko,
Gene Czarcinski
On 10/27/2013 02:54 AM, Andrey Borzenkov wrote:
> В Sat, 26 Oct 2013 16:16:19 -0400
> Gene Czarcinski <gczarcinski@gmail.com> пишет:
>
>> On 10/26/2013 12:27 PM, Vladimir 'φ-coder/phcoder' Serbinenko wrote:
>>> Rejected, similar patches is in trunk since some time.
>> Thanks. I was not aware that the problem had been addressed. Can you
>> point me where to look to see what has been addressed?
>>
> This is commit 588744d0dc655177d5883bdcb8f72ff5160109ed.
And that sure looks like something I would expect to see from a git
repository!
Look, I am not stupid but I sure am confused! The grub2 website
(http://www.gnu.org/software/grub/) says that all grub2 development done
through bazaar repository and that you get a copy of the latest grub2
source with: |
bzr branch http://bzr.savannah.gnu.org/r/grub/trunk/grub|
Well, I tried doing that and all I get is an error saying: "bzr: ERROR:
Not a branch:"
Now fedora has a local git repository for grub2 located here:
git://pkgs.fedoraproject.org/grub2.git and when I look at what is there
I see that the updates (when they come in) appear to be in git format.
On other little thing. I I sent this current message there were TWO bug
fixes (TWO patch files). I well believe that the first one was already
in trunk since I had originally reported that problem in January 2013.
The reason I reported it again is because it had not been pick up by fedora.
However, there is that second bug fix which I only recently found and
fixed. This problem occurs when you have /boot on BTRFS either as a
separate subvolume or simply as directory under the root subvolume. In
10_linux, when grub2-probe is call for hint, it returns multi-device
hints separated by "\n" which completely screws things up. The patch is:
diff --git a/util/grub-probe.c b/util/grub-probe.c
index a46f0b1..dd5de00 100644
--- a/util/grub-probe.c
+++ b/util/grub-probe.c
@@ -543,7 +543,7 @@ probe (const char *path, char **device_names, char
delim)
print_full_name (map, dev);
printf ("' ");
}
- printf ("\n");
+ printf (" "); /* new-line causes problems for multi-device btrfs
volumes */
grub_device_close (dev);
continue;
--
>
>> Gene
>>> On 26.10.2013 17:36, Gene Czarcinski wrote:
>>>> There are two patches needed in grub2 to support multi-device btrfs
>>>> volumes.
>>>>
>>>> This first patch (previously submitted) involves the parameters passed
>>>> to grub2-probe. If not correctly passed, grub2-probe issues an error
>>>> message. The related problem report is:
>>>> https://bugzilla.redhat.com/show_bug.cgi?id=890955
>>>>
>>>> The second problem involves having a multi-device btrfs volume with
>>>> /boot being on the btrfs volume either as part of the root subvolume or
>>>> as a separate subvolume. The result is an error messare at boot time:
>>>> error: no such device: root.
>>>> hit any key to continue
>>>>
>>>> The solution is to modify grub-probe.c so that " " is issued rather than
>>>> "\n" for a hint. The related problem report is:
>>>> https://bugzilla.redhat.com/show_bug.cgi?id=1023161
>>>>
>>>> To minimize problems, the two patches have been attached rather than
>>>> provided inline.
>>>>
>>>> Peter, I cc'ed you so you would be aware of these bug reports. It would
>>>> be nice if this was applied to both Fedora 20 and 19.
>>>>
>>>> Gene
>>>>
>>>>
>>>>
>>>> _______________________________________________
>>>> Grub-devel mailing list
>>>> Grub-devel@gnu.org
>>>> https://lists.gnu.org/mailman/listinfo/grub-devel
>>>>
>>
>> _______________________________________________
>> Grub-devel mailing list
>> Grub-devel@gnu.org
>> https://lists.gnu.org/mailman/listinfo/grub-devel
>
^ permalink raw reply related [flat|nested] 16+ messages in thread
* Re: BUGS: btrfs multi-device support fixes
2013-10-27 14:47 ` Gene Czarcinski
@ 2013-10-27 15:24 ` Andrey Borzenkov
2013-10-27 15:46 ` [PATCH] update grub web page with reference to GIT instead of bzr Andrey Borzenkov
` (2 more replies)
0 siblings, 3 replies; 16+ messages in thread
From: Andrey Borzenkov @ 2013-10-27 15:24 UTC (permalink / raw)
To: Gene Czarcinski
Cc: Chris Murphy, The development of GNU GRUB, Gene Czarcinski,
Vladimir 'φ-coder/phcoder' Serbinenko
В Sun, 27 Oct 2013 10:47:45 -0400
Gene Czarcinski <gczarcinski@gmail.com> пишет:
> On 10/27/2013 02:54 AM, Andrey Borzenkov wrote:
> > В Sat, 26 Oct 2013 16:16:19 -0400
> > Gene Czarcinski <gczarcinski@gmail.com> пишет:
> >
> >> On 10/26/2013 12:27 PM, Vladimir 'φ-coder/phcoder' Serbinenko wrote:
> >>> Rejected, similar patches is in trunk since some time.
> >> Thanks. I was not aware that the problem had been addressed. Can you
> >> point me where to look to see what has been addressed?
> >>
> > This is commit 588744d0dc655177d5883bdcb8f72ff5160109ed.
> And that sure looks like something I would expect to see from a git
> repository!
>
> Look, I am not stupid but I sure am confused! The grub2 website
> (http://www.gnu.org/software/grub/) says that all grub2 development done
> through bazaar repository and that you get a copy of the latest grub2
> source with: |
> bzr branch http://bzr.savannah.gnu.org/r/grub/trunk/grub|
> Well, I tried doing that and all I get is an error saying: "bzr: ERROR:
> Not a branch:"
>
That's where website lags behind. GRUB switched to GIT a while ago. See
https://savannah.gnu.org/git/?group=grub
As for web site - I do not know; Vladimir, who can edit this?
> Now fedora has a local git repository for grub2 located here:
> git://pkgs.fedoraproject.org/grub2.git and when I look at what is there
> I see that the updates (when they come in) appear to be in git format.
>
> On other little thing. I I sent this current message there were TWO bug
> fixes (TWO patch files). I well believe that the first one was already
> in trunk since I had originally reported that problem in January 2013.
> The reason I reported it again is because it had not been pick up by fedora.
>
> However, there is that second bug fix which I only recently found and
> fixed. This problem occurs when you have /boot on BTRFS either as a
> separate subvolume or simply as directory under the root subvolume. In
> 10_linux, when grub2-probe is call for hint, it returns multi-device
> hints separated by "\n" which completely screws things up. The patch is:
> diff --git a/util/grub-probe.c b/util/grub-probe.c
> index a46f0b1..dd5de00 100644
> --- a/util/grub-probe.c
> +++ b/util/grub-probe.c
> @@ -543,7 +543,7 @@ probe (const char *path, char **device_names, char
> delim)
> print_full_name (map, dev);
> printf ("' ");
> }
> - printf ("\n");
> + printf (" "); /* new-line causes problems for multi-device btrfs
> volumes */
>
> grub_device_close (dev);
> continue;
^ permalink raw reply [flat|nested] 16+ messages in thread
* [PATCH] update grub web page with reference to GIT instead of bzr.
2013-10-27 15:24 ` Andrey Borzenkov
@ 2013-10-27 15:46 ` Andrey Borzenkov
2013-10-27 16:02 ` Bruce Dubbs
2013-10-27 16:55 ` Vladimir 'φ-coder/phcoder' Serbinenko
2013-10-27 15:51 ` BUGS: btrfs multi-device support fixes Bruce Dubbs
2013-10-27 17:51 ` Gene Czarcinski
2 siblings, 2 replies; 16+ messages in thread
From: Andrey Borzenkov @ 2013-10-27 15:46 UTC (permalink / raw)
To: Andrey Borzenkov
Cc: Chris Murphy, The development of GNU GRUB, Gene Czarcinski,
Gene Czarcinski,
Vladimir 'φ-coder/phcoder' Serbinenko
В Sun, 27 Oct 2013 19:24:28 +0400
Andrey Borzenkov <arvidjaar@gmail.com> пишет:
>
> That's where website lags behind. GRUB switched to GIT a while ago. See
>
> https://savannah.gnu.org/git/?group=grub
>
> As for web site - I do not know; Vladimir, who can edit this?
>
Not sure if I can commit, but - does below look sane? I'm, not sure
whether other branches in GIT need to be mentioned; I guess they are
more or less on "as needed" basis.
Index: grub-download.html
===================================================================
RCS file: /web/grub/grub/grub-download.html,v
retrieving revision 1.4
diff -u -p -r1.4 grub-download.html
--- grub-download.html 5 Jan 2012 23:35:41 -0000 1.4
+++ grub-download.html 27 Oct 2013 15:44:08 -0000
@@ -44,32 +44,19 @@ site <a href="ftp://ftp.gnu.org/gnu/grub
</p>
<p> All the development is done through a <a
-href="http://bazaar.canonical.com/" >Bazaar</a> repository. If you are
+href="http://git-scm.com/" >GIT</a> repository. If you are
interested in the cutting-edge version of GNU GRUB, for example, to test a
newer version or to add new features, we strongly recommend giving the latest
repository version a try. You can obtain the latest GRUB source from the
-Bazaar:</p>
+GIT:</p>
-<pre><code>bzr branch http://bzr.savannah.gnu.org/r/grub/trunk/grub</code></pre>
+<pre><code>git clone git://git.savannah.gnu.org/grub.git</code></pre>
<p>For developers with write access via ssh, use:</p>
-<pre><code>bzr branch bzr+ssh://<membername>@bzr.savannah.gnu.org/grub/trunk/grub</code></pre>
-
-<p>You can also use scp and rsync if needed.</p>
-
-<p>In the Bazaar repository, a number of other development trees may be found.
-Notably the experimental branch of GRUB is a staging area where less tested (or
-more intrusive) changes are put before they are merged into trunk.
-</p>
-
-<p>Other branches are listed at the GRUB <a
-href="http://bzr.savannah.gnu.org/r/grub/branches/">branch index</a> and <a
-href="http://bzr.savannah.gnu.org/r/grub/people/">individual developer
-repositories</a>. These branches are not browsable, but can be checked
-out with Bazaar.</p>
-
+<pre><code>git clone <membername>@git.sv.gnu.org:/srv/git/grub.git</code></pre>
+<p>You can also use HTTP if needed.</p>
<!-- begin footer -->
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [PATCH] update grub web page with reference to GIT instead of bzr.
2013-10-27 15:46 ` [PATCH] update grub web page with reference to GIT instead of bzr Andrey Borzenkov
@ 2013-10-27 16:02 ` Bruce Dubbs
2013-10-27 16:11 ` Andrey Borzenkov
2013-10-27 16:55 ` Vladimir 'φ-coder/phcoder' Serbinenko
1 sibling, 1 reply; 16+ messages in thread
From: Bruce Dubbs @ 2013-10-27 16:02 UTC (permalink / raw)
To: The development of GNU GRUB
Andrey Borzenkov wrote:
> В Sun, 27 Oct 2013 19:24:28 +0400
> Andrey Borzenkov <arvidjaar@gmail.com> пишет:
>
>>
>> That's where website lags behind. GRUB switched to GIT a while ago. See
>>
>> https://savannah.gnu.org/git/?group=grub
>>
>> As for web site - I do not know; Vladimir, who can edit this?
>>
>
> Not sure if I can commit, but - does below look sane?
The files are actually maintained via templates and a Makefile to attach
headers and footers that can be updated easily. The file that you want
to change is templates/grub-download.body.
If you do have commit privs, please do not update the html directly.
-- Bruce
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [PATCH] update grub web page with reference to GIT instead of bzr.
2013-10-27 16:02 ` Bruce Dubbs
@ 2013-10-27 16:11 ` Andrey Borzenkov
2013-10-27 16:23 ` Bruce Dubbs
0 siblings, 1 reply; 16+ messages in thread
From: Andrey Borzenkov @ 2013-10-27 16:11 UTC (permalink / raw)
To: grub-devel
В Sun, 27 Oct 2013 11:02:09 -0500
Bruce Dubbs <bruce.dubbs@gmail.com> пишет:
> Andrey Borzenkov wrote:
> > В Sun, 27 Oct 2013 19:24:28 +0400
> > Andrey Borzenkov <arvidjaar@gmail.com> пишет:
> >
> >>
> >> That's where website lags behind. GRUB switched to GIT a while ago. See
> >>
> >> https://savannah.gnu.org/git/?group=grub
> >>
> >> As for web site - I do not know; Vladimir, who can edit this?
> >>
> >
> > Not sure if I can commit, but - does below look sane?
>
> The files are actually maintained via templates and a Makefile to attach
> headers and footers that can be updated easily. The file that you want
> to change is templates/grub-download.body.
>
Usually generated files are not placed under SCM control ... thank you
for the hint.
> If you do have commit privs, please do not update the html directly.
>
I do not know until I try :) Feel free to commit.
Index: templates/grub-download.body
===================================================================
RCS file: /web/grub/grub/templates/grub-download.body,v
retrieving revision 1.1
diff -u -p -r1.1 grub-download.body
--- templates/grub-download.body 5 Jan 2012 23:35:45 -0000 1.1
+++ templates/grub-download.body 27 Oct 2013 16:09:34 -0000
@@ -8,29 +8,18 @@ site <a href="ftp://ftp.gnu.org/gnu/grub
</p>
<p> All the development is done through a <a
-href="http://bazaar.canonical.com/" >Bazaar</a> repository. If you are
+href="http://git-scm.com/" >GIT</a> repository. If you are
interested in the cutting-edge version of GNU GRUB, for example, to test a
newer version or to add new features, we strongly recommend giving the latest
repository version a try. You can obtain the latest GRUB source from the
-Bazaar:</p>
+GIT:</p>
-<pre><code>bzr branch http://bzr.savannah.gnu.org/r/grub/trunk/grub</code></pre>
+<pre><code>git clone git://git.savannah.gnu.org/grub.git</code></pre>
<p>For developers with write access via ssh, use:</p>
-<pre><code>bzr branch bzr+ssh://<membername>@bzr.savannah.gnu.org/grub/trunk/grub</code></pre>
+<pre><code>git clone <membername>@git.sv.gnu.org:/srv/git/grub.git</code></pre>
-<p>You can also use scp and rsync if needed.</p>
-
-<p>In the Bazaar repository, a number of other development trees may be found.
-Notably the experimental branch of GRUB is a staging area where less tested (or
-more intrusive) changes are put before they are merged into trunk.
-</p>
-
-<p>Other branches are listed at the GRUB <a
-href="http://bzr.savannah.gnu.org/r/grub/branches/">branch index</a> and <a
-href="http://bzr.savannah.gnu.org/r/grub/people/">individual developer
-repositories</a>. These branches are not browsable, but can be checked
-out with Bazaar.</p>
+<p>You can also use HTTP if needed.</p>
[% INCLUDE footer %]
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [PATCH] update grub web page with reference to GIT instead of bzr.
2013-10-27 16:11 ` Andrey Borzenkov
@ 2013-10-27 16:23 ` Bruce Dubbs
2013-10-27 16:58 ` Vladimir 'φ-coder/phcoder' Serbinenko
0 siblings, 1 reply; 16+ messages in thread
From: Bruce Dubbs @ 2013-10-27 16:23 UTC (permalink / raw)
To: The development of GNU GRUB
Andrey Borzenkov wrote:
> В Sun, 27 Oct 2013 11:02:09 -0500
> Bruce Dubbs <bruce.dubbs@gmail.com> пишет:
>
>> Andrey Borzenkov wrote:
>>> В Sun, 27 Oct 2013 19:24:28 +0400
>>> Andrey Borzenkov <arvidjaar@gmail.com> пишет:
>>>
>>>>
>>>> That's where website lags behind. GRUB switched to GIT a while ago. See
>>>>
>>>> https://savannah.gnu.org/git/?group=grub
>>>>
>>>> As for web site - I do not know; Vladimir, who can edit this?
>>>>
>>>
>>> Not sure if I can commit, but - does below look sane?
>>
>> The files are actually maintained via templates and a Makefile to attach
>> headers and footers that can be updated easily. The file that you want
>> to change is templates/grub-download.body.
>>
>
> Usually generated files are not placed under SCM control ... thank you
> for the hint.
That's what I inherited, but the web site works directly off the commits
so I think it's needed.
>> If you do have commit privs, please do not update the html directly.
>>
>
> I do not know until I try :) Feel free to commit.
I'll do that, but would like confirmation. Vladimir, does this look OK
to you?
-- Bruce
> Index: templates/grub-download.body
> ===================================================================
> RCS file: /web/grub/grub/templates/grub-download.body,v
> retrieving revision 1.1
> diff -u -p -r1.1 grub-download.body
> --- templates/grub-download.body 5 Jan 2012 23:35:45 -0000 1.1
> +++ templates/grub-download.body 27 Oct 2013 16:09:34 -0000
> @@ -8,29 +8,18 @@ site <a href="ftp://ftp.gnu.org/gnu/grub
> </p>
>
> <p> All the development is done through a <a
> -href="http://bazaar.canonical.com/" >Bazaar</a> repository. If you are
> +href="http://git-scm.com/" >GIT</a> repository. If you are
> interested in the cutting-edge version of GNU GRUB, for example, to test a
> newer version or to add new features, we strongly recommend giving the latest
> repository version a try. You can obtain the latest GRUB source from the
> -Bazaar:</p>
> +GIT:</p>
>
> -<pre><code>bzr branch http://bzr.savannah.gnu.org/r/grub/trunk/grub</code></pre>
> +<pre><code>git clone git://git.savannah.gnu.org/grub.git</code></pre>
>
> <p>For developers with write access via ssh, use:</p>
>
> -<pre><code>bzr branch bzr+ssh://<membername>@bzr.savannah.gnu.org/grub/trunk/grub</code></pre>
> +<pre><code>git clone <membername>@git.sv.gnu.org:/srv/git/grub.git</code></pre>
>
> -<p>You can also use scp and rsync if needed.</p>
> -
> -<p>In the Bazaar repository, a number of other development trees may be found.
> -Notably the experimental branch of GRUB is a staging area where less tested (or
> -more intrusive) changes are put before they are merged into trunk.
> -</p>
> -
> -<p>Other branches are listed at the GRUB <a
> -href="http://bzr.savannah.gnu.org/r/grub/branches/">branch index</a> and <a
> -href="http://bzr.savannah.gnu.org/r/grub/people/">individual developer
> -repositories</a>. These branches are not browsable, but can be checked
> -out with Bazaar.</p>
> +<p>You can also use HTTP if needed.</p>
>
> [% INCLUDE footer %]
>
> _______________________________________________
> Grub-devel mailing list
> Grub-devel@gnu.org
> https://lists.gnu.org/mailman/listinfo/grub-devel
>
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [PATCH] update grub web page with reference to GIT instead of bzr.
2013-10-27 15:46 ` [PATCH] update grub web page with reference to GIT instead of bzr Andrey Borzenkov
2013-10-27 16:02 ` Bruce Dubbs
@ 2013-10-27 16:55 ` Vladimir 'φ-coder/phcoder' Serbinenko
1 sibling, 0 replies; 16+ messages in thread
From: Vladimir 'φ-coder/phcoder' Serbinenko @ 2013-10-27 16:55 UTC (permalink / raw)
To: Andrey Borzenkov
Cc: Chris Murphy, The development of GNU GRUB, Gene Czarcinski,
Gene Czarcinski
[-- Attachment #1: Type: text/plain, Size: 2863 bytes --]
On 27.10.2013 16:46, Andrey Borzenkov wrote:
> В Sun, 27 Oct 2013 19:24:28 +0400
> Andrey Borzenkov <arvidjaar@gmail.com> пишет:
>
>>
>> That's where website lags behind. GRUB switched to GIT a while ago. See
>>
>> https://savannah.gnu.org/git/?group=grub
>>
>> As for web site - I do not know; Vladimir, who can edit this?
>>
>
AFAIR everyone who is allowed to commit but remember 2 things:
1) it's in CVS
2) it take a little while to update after upload.
> Not sure if I can commit, but - does below look sane? I'm, not sure
> whether other branches in GIT need to be mentioned; I guess they are
> more or less on "as needed" basis.
The branches multiboot, multiboot2 and grub-legacy are permanent, others
are on the need basis. We keep grub-legacy for copyright tracking
reasons, users are not supposed to use it at all.
>
> Index: grub-download.html
> ===================================================================
> RCS file: /web/grub/grub/grub-download.html,v
> retrieving revision 1.4
> diff -u -p -r1.4 grub-download.html
> --- grub-download.html 5 Jan 2012 23:35:41 -0000 1.4
> +++ grub-download.html 27 Oct 2013 15:44:08 -0000
> @@ -44,32 +44,19 @@ site <a href="ftp://ftp.gnu.org/gnu/grub
> </p>
>
> <p> All the development is done through a <a
> -href="http://bazaar.canonical.com/" >Bazaar</a> repository. If you are
> +href="http://git-scm.com/" >GIT</a> repository. If you are
> interested in the cutting-edge version of GNU GRUB, for example, to test a
> newer version or to add new features, we strongly recommend giving the latest
> repository version a try. You can obtain the latest GRUB source from the
> -Bazaar:</p>
> +GIT:</p>
>
> -<pre><code>bzr branch http://bzr.savannah.gnu.org/r/grub/trunk/grub</code></pre>
> +<pre><code>git clone git://git.savannah.gnu.org/grub.git</code></pre>
>
> <p>For developers with write access via ssh, use:</p>
>
> -<pre><code>bzr branch bzr+ssh://<membername>@bzr.savannah.gnu.org/grub/trunk/grub</code></pre>
> -
> -<p>You can also use scp and rsync if needed.</p>
> -
> -<p>In the Bazaar repository, a number of other development trees may be found.
> -Notably the experimental branch of GRUB is a staging area where less tested (or
> -more intrusive) changes are put before they are merged into trunk.
> -</p>
> -
> -<p>Other branches are listed at the GRUB <a
> -href="http://bzr.savannah.gnu.org/r/grub/branches/">branch index</a> and <a
> -href="http://bzr.savannah.gnu.org/r/grub/people/">individual developer
> -repositories</a>. These branches are not browsable, but can be checked
> -out with Bazaar.</p>
> -
> +<pre><code>git clone <membername>@git.sv.gnu.org:/srv/git/grub.git</code></pre>
>
> +<p>You can also use HTTP if needed.</p>
>
> <!-- begin footer -->
>
>
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 291 bytes --]
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: BUGS: btrfs multi-device support fixes
2013-10-27 15:24 ` Andrey Borzenkov
2013-10-27 15:46 ` [PATCH] update grub web page with reference to GIT instead of bzr Andrey Borzenkov
@ 2013-10-27 15:51 ` Bruce Dubbs
2013-10-27 16:00 ` Andrey Borzenkov
2013-10-27 17:51 ` Gene Czarcinski
2 siblings, 1 reply; 16+ messages in thread
From: Bruce Dubbs @ 2013-10-27 15:51 UTC (permalink / raw)
To: The development of GNU GRUB
Andrey Borzenkov wrote:
> В Sun, 27 Oct 2013 10:47:45 -0400
> Gene Czarcinski <gczarcinski@gmail.com> пишет:
>
>> On 10/27/2013 02:54 AM, Andrey Borzenkov wrote:
>>> В Sat, 26 Oct 2013 16:16:19 -0400
>>> Gene Czarcinski <gczarcinski@gmail.com> пишет:
>>>
>>>> On 10/26/2013 12:27 PM, Vladimir 'φ-coder/phcoder' Serbinenko wrote:
>>>>> Rejected, similar patches is in trunk since some time.
>>>> Thanks. I was not aware that the problem had been addressed. Can you
>>>> point me where to look to see what has been addressed?
>>>>
>>> This is commit 588744d0dc655177d5883bdcb8f72ff5160109ed.
>> And that sure looks like something I would expect to see from a git
>> repository!
>>
>> Look, I am not stupid but I sure am confused! The grub2 website
>> (http://www.gnu.org/software/grub/) says that all grub2 development done
>> through bazaar repository and that you get a copy of the latest grub2
>> source with: |
>> bzr branch http://bzr.savannah.gnu.org/r/grub/trunk/grub|
>> Well, I tried doing that and all I get is an error saying: "bzr: ERROR:
>> Not a branch:"
>>
>
> That's where website lags behind. GRUB switched to GIT a while ago. See
>
> https://savannah.gnu.org/git/?group=grub
>
> As for web site - I do not know; Vladimir, who can edit this?
I can edit it, but I thought the git site was still under
development/testing. Is the url above the best current value?
-- Bruce
>> Now fedora has a local git repository for grub2 located here:
>> git://pkgs.fedoraproject.org/grub2.git and when I look at what is there
>> I see that the updates (when they come in) appear to be in git format.
>>
>> On other little thing. I I sent this current message there were TWO bug
>> fixes (TWO patch files). I well believe that the first one was already
>> in trunk since I had originally reported that problem in January 2013.
>> The reason I reported it again is because it had not been pick up by fedora.
>>
>> However, there is that second bug fix which I only recently found and
>> fixed. This problem occurs when you have /boot on BTRFS either as a
>> separate subvolume or simply as directory under the root subvolume. In
>> 10_linux, when grub2-probe is call for hint, it returns multi-device
>> hints separated by "\n" which completely screws things up. The patch is:
>> diff --git a/util/grub-probe.c b/util/grub-probe.c
>> index a46f0b1..dd5de00 100644
>> --- a/util/grub-probe.c
>> +++ b/util/grub-probe.c
>> @@ -543,7 +543,7 @@ probe (const char *path, char **device_names, char
>> delim)
>> print_full_name (map, dev);
>> printf ("' ");
>> }
>> - printf ("\n");
>> + printf (" "); /* new-line causes problems for multi-device btrfs
>> volumes */
>>
>> grub_device_close (dev);
>> continue;
>
>
> _______________________________________________
> Grub-devel mailing list
> Grub-devel@gnu.org
> https://lists.gnu.org/mailman/listinfo/grub-devel
>
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: BUGS: btrfs multi-device support fixes
2013-10-27 15:24 ` Andrey Borzenkov
2013-10-27 15:46 ` [PATCH] update grub web page with reference to GIT instead of bzr Andrey Borzenkov
2013-10-27 15:51 ` BUGS: btrfs multi-device support fixes Bruce Dubbs
@ 2013-10-27 17:51 ` Gene Czarcinski
2 siblings, 0 replies; 16+ messages in thread
From: Gene Czarcinski @ 2013-10-27 17:51 UTC (permalink / raw)
To: Andrey Borzenkov
Cc: Chris Murphy, The development of GNU GRUB, Gene Czarcinski,
Vladimir 'φ-coder/phcoder' Serbinenko
On 10/27/2013 11:24 AM, Andrey Borzenkov wrote:
> В Sun, 27 Oct 2013 10:47:45 -0400
> Gene Czarcinski <gczarcinski@gmail.com> пишет:
>
>> On 10/27/2013 02:54 AM, Andrey Borzenkov wrote:
>>> В Sat, 26 Oct 2013 16:16:19 -0400
>>> Gene Czarcinski <gczarcinski@gmail.com> пишет:
>>>
>>>> On 10/26/2013 12:27 PM, Vladimir 'φ-coder/phcoder' Serbinenko wrote:
>>>>> Rejected, similar patches is in trunk since some time.
>>>> Thanks. I was not aware that the problem had been addressed. Can you
>>>> point me where to look to see what has been addressed?
>>>>
>>> This is commit 588744d0dc655177d5883bdcb8f72ff5160109ed.
>> And that sure looks like something I would expect to see from a git
>> repository!
>>
>> Look, I am not stupid but I sure am confused! The grub2 website
>> (http://www.gnu.org/software/grub/) says that all grub2 development done
>> through bazaar repository and that you get a copy of the latest grub2
>> source with: |
>> bzr branch http://bzr.savannah.gnu.org/r/grub/trunk/grub|
>> Well, I tried doing that and all I get is an error saying: "bzr: ERROR:
>> Not a branch:"
>>
> That's where website lags behind. GRUB switched to GIT a while ago. See
>
> https://savannah.gnu.org/git/?group=grub
Thank you, thank you. This helps a great deal. In a way, I am not
surprised that you switched to git as I find that most projects I
contribute to are using git repositories and, personally, I find them
easy to use.
Concerning the patches I submitted, if I had access to the repository
before I submitted them, I never would have submitted them. I would
also have saved myself a lot of time and effort because right about the
time this patch was added is about the time I was troubleshooting
multi-device BTRFS.
Gene
>
> As for web site - I do not know; Vladimir, who can edit this?
>
>> Now fedora has a local git repository for grub2 located here:
>> git://pkgs.fedoraproject.org/grub2.git and when I look at what is there
>> I see that the updates (when they come in) appear to be in git format.
>>
>> On other little thing. I I sent this current message there were TWO bug
>> fixes (TWO patch files). I well believe that the first one was already
>> in trunk since I had originally reported that problem in January 2013.
>> The reason I reported it again is because it had not been pick up by fedora.
>>
>> However, there is that second bug fix which I only recently found and
>> fixed. This problem occurs when you have /boot on BTRFS either as a
>> separate subvolume or simply as directory under the root subvolume. In
>> 10_linux, when grub2-probe is call for hint, it returns multi-device
>> hints separated by "\n" which completely screws things up. The patch is:
>> diff --git a/util/grub-probe.c b/util/grub-probe.c
>> index a46f0b1..dd5de00 100644
>> --- a/util/grub-probe.c
>> +++ b/util/grub-probe.c
>> @@ -543,7 +543,7 @@ probe (const char *path, char **device_names, char
>> delim)
>> print_full_name (map, dev);
>> printf ("' ");
>> }
>> - printf ("\n");
>> + printf (" "); /* new-line causes problems for multi-device btrfs
>> volumes */
>>
>> grub_device_close (dev);
>> continue;
>
^ permalink raw reply [flat|nested] 16+ messages in thread
end of thread, other threads:[~2013-10-27 17:51 UTC | newest]
Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-10-26 15:36 BUGS: btrfs multi-device support fixes Gene Czarcinski
2013-10-26 16:27 ` Vladimir 'φ-coder/phcoder' Serbinenko
2013-10-26 20:16 ` Gene Czarcinski
2013-10-27 6:54 ` Andrey Borzenkov
2013-10-27 14:47 ` Gene Czarcinski
2013-10-27 15:24 ` Andrey Borzenkov
2013-10-27 15:46 ` [PATCH] update grub web page with reference to GIT instead of bzr Andrey Borzenkov
2013-10-27 16:02 ` Bruce Dubbs
2013-10-27 16:11 ` Andrey Borzenkov
2013-10-27 16:23 ` Bruce Dubbs
2013-10-27 16:58 ` Vladimir 'φ-coder/phcoder' Serbinenko
2013-10-27 17:17 ` Bruce Dubbs
2013-10-27 16:55 ` Vladimir 'φ-coder/phcoder' Serbinenko
2013-10-27 15:51 ` BUGS: btrfs multi-device support fixes Bruce Dubbs
2013-10-27 16:00 ` Andrey Borzenkov
2013-10-27 17:51 ` Gene Czarcinski
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).