From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1WoOjB-0005sY-7Y for mharc-grub-devel@gnu.org; Sat, 24 May 2014 23:04:01 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:38159) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WoOj1-0005rt-6e for grub-devel@gnu.org; Sat, 24 May 2014 23:04:00 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WoOis-0001GQ-6M for grub-devel@gnu.org; Sat, 24 May 2014 23:03:51 -0400 Received: from mail-wg0-x22d.google.com ([2a00:1450:400c:c00::22d]:58791) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WoOir-0001GM-VY for grub-devel@gnu.org; Sat, 24 May 2014 23:03:42 -0400 Received: by mail-wg0-f45.google.com with SMTP id m15so6549417wgh.16 for ; Sat, 24 May 2014 20:03:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type; bh=CzR85VUZRMwmv/T78UNBDDJNJ4PQW2tM51GJTOt2iLM=; b=ZkF/2Iw+1RQWrSe+Uj//0RPUSrdApIqITPYdU51BcBWXubH+Y4iAGdtiAhhIarfQIC qWw0WRnS+ov1kQ44C5Af+9SfZY2cmxYf9+88DsqwNz5+GYILAPQGuPjXvJIQLKTb5vo/ ZZBl4WiFVZ8NSLfFGPzlnydd2UYuIrPYK5opSnigk8KW7gmmoY/yOsO7fCVpx/0DAmUm 6hDt6qJ7FxMWBELccuv+6oIX5hlRuyq0NpI8QtVB/1fRqz1JYPmHimLgSN8Pplh8ejZS m0p2MW/wrLvZzUL4NO92fbFSjAfPIqdrhNQwK4qn0pHbUby0zREU2XmPUe7f69RS1FRm iX7A== X-Received: by 10.194.243.104 with SMTP id wx8mr16846166wjc.32.1400987020495; Sat, 24 May 2014 20:03:40 -0700 (PDT) Received: from [192.168.1.124] (85-188.196-178.cust.bluewin.ch. [178.196.188.85]) by mx.google.com with ESMTPSA id ho2sm14689962wib.15.2014.05.24.20.03.39 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sat, 24 May 2014 20:03:39 -0700 (PDT) Message-ID: <53815D83.8080703@gmail.com> Date: Sun, 25 May 2014 05:03:31 +0200 From: =?UTF-8?B?VmxhZGltaXIgJ8+GLWNvZGVyL3BoY29kZXInIFNlcmJpbmVua28=?= User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Icedove/24.5.0 MIME-Version: 1.0 To: Glenn Washburn , The development of GRUB 2 Subject: Re: [PATCH] Allow user-defined functions to override builtins. References: <20140519013715.1e36d215@crass-Ideapad-Z570> <537DA7CC.8000507@gmail.com> <20140524024734.1c602c5b@crass-Ideapad-Z570> In-Reply-To: <20140524024734.1c602c5b@crass-Ideapad-Z570> X-Enigmail-Version: 1.6+git0.20140323 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="J4wdPbKM5CJgI70IFO80TQJSa6ISDJ2ol" X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:400c:c00::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: Sun, 25 May 2014 03:04:00 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --J4wdPbKM5CJgI70IFO80TQJSa6ISDJ2ol Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 24.05.2014 09:47, Glenn Washburn wrote: > But the prefix variable is used for other things in the loaded config > file. So if I change the prefix to be that of the running grub to load= > the correct modules, other parts of the config will break (for > instance, loading fonts or locales). Localesneed to come from folder matching running GRUB, otherwise you'll get string mismatches. Fonts typically come from themes or is unifont. Additionally your approach doesn't solve the problem in the first place. insmod is just one of possible ways to load modules. For various autoloads there is no command to hook. --J4wdPbKM5CJgI70IFO80TQJSa6ISDJ2ol Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 Comment: Using GnuPG with Icedove - http://www.enigmail.net/ iF4EAREKAAYFAlOBXYoACgkQmBXlbbo5nOtpKgD/ZbE2hWerGL+KMu6MOmyjgT9A 8sbduHG3d4roZ7bAhkAA/1+DSZR8aHyU3bcgS9+XKRjN8AxHHbnrCPwZ80wSbHos =WxQ1 -----END PGP SIGNATURE----- --J4wdPbKM5CJgI70IFO80TQJSa6ISDJ2ol--