All of lore.kernel.org
 help / color / mirror / Atom feed
From: Fabian Greffrath <greffrath@leat.rub.de>
To: The development of GRUB 2 <grub-devel@gnu.org>
Subject: Re: [NEW PATCH] Add option to grub-probe to accept system devices as arguments
Date: Fri, 29 Feb 2008 09:33:13 +0100	[thread overview]
Message-ID: <47C7C349.6040303@leat.rub.de> (raw)
In-Reply-To: <20080228170738.GB26926@thorin>

Robert Millan schrieb:
> Better do this like it's done in other scripts (check grub-install).  Not sure
> why, I guess it's more portable that way...

You mean
   if [ "x$(FOO)" = "x" ] ...
?

> For this one, I think it'd be much better to rework 10_hurd so that code is
> shared, rather than duplicating the whole blurb.

Yes, we could source out the complete linux/hurd kernel-adding blurbs 
into an external shell library that is shared with 10_* and 30_os-prober.

However, please don't forget these are two different things. 10_* look 
on / and /boot, while os-prober looks on all *other* partitions.

> Do you plan to do that later?

Not a concrete plan yet, However, we should first get thinks *working* 
before we care about cosmetics, IMHO. ;)

> Btw, what about *BSD?  Does os-prober detect those as "chain" or ... ?

I asked myself the same question before. I seems like os-prober does 
not support any of the BSD flavours, which sounds strange since it 
even discovers Solaris on i386.

Should be a bug against os-prober.

> Maybe it's better to echo something here, otherwise it gives the impression
> OS FooBar was just detected and properly added.

Definitely. I'll add a short warning message.

Furthermore, I am going to modify the script to immediately 'exit 0' 
if it turns out it misses the tools required to update the boot menu 
(i.e. os-prober, linux-boot-prober, grub-probe (>= 20080228)). These 
tests are spread all over the script at the moment.

Best Regards,
Fabian

PS: Shouldn't 30_os-prober be an upstream feature of os-prober?!



  reply	other threads:[~2008-02-29 10:19 UTC|newest]

Thread overview: 40+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-02-12 13:17 [PATCH] Add option to grub-probe to accept system devices as arguments Fabian Greffrath
2008-02-13 13:03 ` Fabian Greffrath
2008-02-13 15:42 ` Robert Millan
2008-02-13 16:51   ` Fabian Greffrath
2008-02-13 19:35     ` Robert Millan
2008-02-14  8:33       ` Fabian Greffrath
2008-02-17 13:42         ` Robert Millan
2008-02-18 12:54           ` Fabian Greffrath
2008-02-20 14:14           ` Fabian Greffrath
2008-02-22 14:32           ` [NEW PATCH] " Fabian Greffrath
2008-02-22 15:36             ` Fabian Greffrath
2008-02-24 15:22               ` Robert Millan
2008-02-25  9:49                 ` Fabian Greffrath
2008-02-25 14:20                   ` Robert Millan
2008-02-28  7:26                     ` Fabian Greffrath
2008-02-28 10:10                       ` Robert Millan
2008-02-28 10:28                         ` Fabian Greffrath
2008-02-28 10:41                           ` Robert Millan
2008-02-28 11:46                             ` Fabian Greffrath
2008-02-28 17:07                               ` Robert Millan
2008-02-29  8:33                                 ` Fabian Greffrath [this message]
2008-03-03 21:06                                   ` Robert Millan
2008-03-04  7:57                                     ` Fabian Greffrath
2008-03-05 12:27                                     ` [NEW PATCH] os-prober output parser Fabian Greffrath
2008-03-13  7:56                                       ` Fabian Greffrath
2008-03-19 14:38                                       ` Robert Millan
2008-03-19 15:18                                         ` Fabian Greffrath
2008-03-19 16:10                                           ` Robert Millan
2008-03-20 10:02                                             ` Fabian Greffrath
2008-03-20 10:36                                               ` Robert Millan
2008-03-25  7:27                                                 ` Fabian Greffrath
2008-04-07  8:39                                                   ` Fabian Greffrath
2008-04-09  8:32                                                     ` Fabian Greffrath
2008-04-09 10:11                                                       ` Robert Millan
2008-04-09 12:41                                                         ` Fabian Greffrath
2008-04-13 10:52                                                     ` Robert Millan
2008-04-14 11:11                                                       ` Fabian Greffrath
2008-02-29 13:46                                 ` [NEW PATCH] Add option to grub-probe to accept system devices as arguments Fabian Greffrath
2008-03-03 20:58                                   ` Robert Millan
2008-02-24 15:23             ` Robert Millan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=47C7C349.6040303@leat.rub.de \
    --to=greffrath@leat.rub.de \
    --cc=grub-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.