From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1W0Xvq-0002OX-2D for mharc-grub-devel@gnu.org; Tue, 07 Jan 2014 09:47:02 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:60474) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W0Xvg-0002MX-6M for grub-devel@gnu.org; Tue, 07 Jan 2014 09:47:00 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W0XvX-0000SM-Pn for grub-devel@gnu.org; Tue, 07 Jan 2014 09:46:52 -0500 Received: from mail-lb0-x22d.google.com ([2a00:1450:4010:c04::22d]:46325) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W0XvX-0000S7-IB for grub-devel@gnu.org; Tue, 07 Jan 2014 09:46:43 -0500 Received: by mail-lb0-f173.google.com with SMTP id z5so344756lbh.32 for ; Tue, 07 Jan 2014 06:46:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:subject:from:to:date:in-reply-to:references:content-type :mime-version; bh=itKLQx4eVhmQhEy3bdTgQEiIK/2q8QsXDm5UkdJKtaw=; b=Q5BoErNbStKxZzqcxp6zwaAHGzcGDPldaVa+ARtATieMs+qNBe1kq9UMMbWipvQovo SP4e1irU/tOrPdtEngK9fiI/DLAQPnJNDYap1xJUv2PjoTypPIdz4uLjrqNYsnZU/SEk bQwkSBDoQQviL65WSZOOM/xdT7AWo0PqnFQ6Nis9J/d2EDQT79eAvQnC3BvHJYGNXIhp BTuOlCFvQw680ZyE3DWV/ACv4juiw30uTsmoGoZIy0wBDnZN0h6k0XszPcYxTWaI4KNy BUlmOGiRhaCAJjybNVvQj/08ur4gYchOQIvITYIfksV8akt+Bwp2jQgMR4vQ68EMjn2O v6gQ== X-Received: by 10.112.168.66 with SMTP id zu2mr2900662lbb.60.1389106002082; Tue, 07 Jan 2014 06:46:42 -0800 (PST) Received: from [192.168.1.44] (ppp91-76-134-134.pppoe.mtu-net.ru. [91.76.134.134]) by mx.google.com with ESMTPSA id m5sm57866958laj.4.2014.01.07.06.46.40 for (version=SSLv3 cipher=RC4-SHA bits=128/128); Tue, 07 Jan 2014 06:46:41 -0800 (PST) Message-ID: <1389106000.918.218.camel@opensuse.site> Subject: Re: [PATCH] Add apple_set_os command From: Andrey Borzenkov To: grub-devel@gnu.org Date: Tue, 07 Jan 2014 18:46:40 +0400 In-Reply-To: <52CC033A.2040505@gmail.com> References: <1388419466-2023-1-git-send-email-andreas@heider.io> <52CC033A.2040505@gmail.com> Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-zuqQ7UX/u+tH8SfM2wit" X-Mailer: Evolution 3.10.2 Mime-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:4010:c04::22d X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: The development of GNU GRUB List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Jan 2014 14:47:00 -0000 --=-zuqQ7UX/u+tH8SfM2wit Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable =D0=92 =D0=92=D1=82, 07/01/2014 =D0=B2 14:38 +0100, Vladimir '=CF=86-coder/= phcoder' Serbinenko =D0=BF=D0=B8=D1=88=D0=B5=D1=82: > On 30.12.2013 17:04, Andreas Heider wrote: > > +static const grub_efi_char8_t apple_os_version[] =3D "Mac OS X 10.9"; > > +static const grub_efi_char8_t apple_os_vendor[] =3D "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. I wonder what became of smbios command. Would be good to have generic way to fetch it. --=-zuqQ7UX/u+tH8SfM2wit Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) iEYEABECAAYFAlLME1AACgkQR6LMutpd94w88wCfdX3/jxBrWsp2DYZ9ATpJNGX+ aKUAnRdE0L7afkn+UawB9YYnV6eh6kJ/ =YPzz -----END PGP SIGNATURE----- --=-zuqQ7UX/u+tH8SfM2wit--