grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] Add apple_set_os command


From: Vladimir 'φ-coder/phcoder' Serbinenko
Subject: Re: [PATCH] Add apple_set_os command
Date: Tue, 07 Jan 2014 14:38:02 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20131103 Icedove/17.0.10

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: signature.asc
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]