grub-devel.gnu.org archive mirror
 help / color / mirror / Atom feed
From: "Vladimir 'φ-coder/phcoder' Serbinenko" <phcoder@gmail.com>
To: The development of GNU GRUB <grub-devel@gnu.org>
Subject: Re: [PATCH] Add apple_set_os command
Date: Tue, 07 Jan 2014 14:38:02 +0100	[thread overview]
Message-ID: <52CC033A.2040505@gmail.com> (raw)
In-Reply-To: <1388419466-2023-1-git-send-email-andreas@heider.io>

[-- Attachment #1: Type: text/plain, Size: 803 bytes --]

On 30.12.2013 17:04, Andreas Heider wrote:
> +static const grub_efi_char8_t apple_os_version[] = "Mac OS X 10.9";
> +static const grub_efi_char8_t apple_os_vendor[]  = "Apple Inc.";
> +
Can those be optionally supplied on command line?
E.g.
apple_set_os [[VENDOR] VERSION]
On the other hand we should probably start collecting whitelist of macs
who need this and do it on them automatically. Idk if there is EFI
variable to identify mac model from EFI but it's possible from SMBIOS.
> +static grub_err_t
> +grub_cmd_apple_set_os (grub_command_t cmd __attribute__ ((unused)),
> +                       int argc __attribute__ ((unused)),
> +                       char **args __attribute__ ((unused)))
> +{
> +  grub_efi_guid_t apple_set_os_guid = GRUB_EFI_APPLE_SET_OS_PROTOCOL_GUID;



[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 291 bytes --]

  parent reply	other threads:[~2014-01-07 14:25 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-12-30 16:04 [PATCH] Add apple_set_os command Andreas Heider
2013-12-30 23:11 ` SevenBits
2013-12-31  5:19   ` Andreas Heider
2014-01-03  6:46   ` Vladimir 'φ-coder/phcoder' Serbinenko
2014-01-03 17:26     ` SevenBits
2014-01-03 18:38     ` SevenBits
2014-01-07 15:19       ` andreas
2014-01-07 23:04         ` SevenBits
2014-01-07 13:38 ` Vladimir 'φ-coder/phcoder' Serbinenko [this message]
2014-01-07 14:46   ` Andrey Borzenkov
2014-01-07 14:58   ` andreas
  -- strict thread matches above, loose matches on Subject: below --
2014-11-13  6:57 Michael Marineau
2015-04-09 10:50 Bruno Bierbaumer

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=52CC033A.2040505@gmail.com \
    --to=phcoder@gmail.com \
    --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 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).