From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aKKIm-0002Yo-9b for mharc-grub-devel@gnu.org; Sat, 16 Jan 2016 01:25:32 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:41678) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aKKIj-0002YG-N8 for grub-devel@gnu.org; Sat, 16 Jan 2016 01:25:30 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aKKIe-0001Nw-Nw for grub-devel@gnu.org; Sat, 16 Jan 2016 01:25:29 -0500 Received: from mail-lf0-x232.google.com ([2a00:1450:4010:c07::232]:34895) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aKKIe-0001NY-Fg for grub-devel@gnu.org; Sat, 16 Jan 2016 01:25:24 -0500 Received: by mail-lf0-x232.google.com with SMTP id c192so294630146lfe.2 for ; Fri, 15 Jan 2016 22:25:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-type; bh=b09p+5MAmhwXzk/K8E7g2gQLNvtcJWqZfomqkwdNRo4=; b=qq2m5WhV3BbBkdlkFqk5RAKt8RueF4pQSNdgKel4JvdwbRzHrne7BZglAXKT4yJEpH AzRK2exvY0VmT/uzbA9f8jSUhW/GTLjQVCuP+QGt1cLJPA5HzREp42onWu1NqfFONYwQ c00VilOeUllsm6WShxQ0ixhJQXNPy8/21K41V9jwgOM8c7imslc4tasgDyceGd1ySe2A 7+aaYP8a55lZjGaVfypZ0Bik9mjDMK9+yjsXIJSI6RHG9t+SnOE5GInD2hLPSHC7XTyk WpaGHSK/KS05T928Q6itpLB+4idGduhuq+d8V9OWqUiUwTBzF9/+yfYGc+JaQEiz/th3 VYbw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-type; bh=b09p+5MAmhwXzk/K8E7g2gQLNvtcJWqZfomqkwdNRo4=; b=IZmCew70Qk3gbLYHVRVPVvZgr7SrkUG4n4G4RUOPVp1MPZTtgbG9QhgXe6hLkit8/h W3BlWaOy3WR+4bGIf9xfQFt4nwAhecjdNX+fo3asDfob2aDHM1Tmqw6QUChqPR3po/YO YIvzqBml7gXAGfsVEBPtRItmTFzxLpTdSgGEDCVIP5eIOWFv1V3wc6HbPd+voOtqEJS8 e3+LwrbvcYOyaXa1d5s7+t0ox4k+8C7czGI9YdabFGF6LD2DOmSXDOz/wvGniIGRi5sc UQp+ObL0j6Ogx+tbjhiMypI6EGbhdOC0zCJ6kL9lQEOph7HjZvoS4ZLxE9fLlRsb4r71 PyUw== X-Gm-Message-State: ALoCoQnObyB2JkCXj6gGf2lVTDCKKjQ71cqjMpVgFjTuuydZ9c9d+LX6WMaZ7xDI5+0p6sgbK1Z/b8p3UXSwbzmKPVRBVz37Cg== X-Received: by 10.25.24.156 with SMTP id 28mr3964710lfy.27.1452925523665; Fri, 15 Jan 2016 22:25:23 -0800 (PST) Received: from [192.168.1.41] (ppp91-76-25-247.pppoe.mtu-net.ru. [91.76.25.247]) by smtp.gmail.com with ESMTPSA id h187sm1760550lfg.18.2016.01.15.22.25.22 for (version=TLSv1/SSLv3 cipher=OTHER); Fri, 15 Jan 2016 22:25:22 -0800 (PST) Subject: Re: Setting config_directory to prefix at grub launch time To: grub-devel@gnu.org References: <5698C704.6050102@gmx.fr> <5698D8E8.6070501@gmx.fr> <5698FFCE.3040308@gmx.fr> <5699287D.4080409@gmail.com> <5699675F.4010709@gmx.fr> From: Andrei Borzenkov X-Enigmail-Draft-Status: N1110 Message-ID: <5699E251.7000503@gmail.com> Date: Sat, 16 Jan 2016 09:25:21 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.4.0 MIME-Version: 1.0 In-Reply-To: <5699675F.4010709@gmx.fr> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="VDfgTcnl6uXTjs0B2S1ogUiI518EmWSos" X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2a00:1450:4010:c07::232 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: Sat, 16 Jan 2016 06:25:30 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --VDfgTcnl6uXTjs0B2S1ogUiI518EmWSos Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 16.01.2016 00:40, Arbiel (gmx) =D0=BF=D0=B8=D1=88=D0=B5=D1=82: >=20 >=20 > Le 15/01/2016 18:12, Andrei Borzenkov a =C3=A9crit : >> 15.01.2016 17:18, Arbiel (gmx) =C3=90=C2=BF=C3=90=C2=B8=C3=91=CB=86=C3= =90=C2=B5=C3=91=E2=80=9A: >>> However, I confirm config_directory is not listed in the output of th= e >>> set command. >> That's correct. config_directory is set when executing config file and= >> unset when processing is completed. > I understand the processing of a file to come to its end when grub > displays its menu. Yes. At this point config_directory gets unset before displaying menu, if any menu was defined during config file processing. >> When you are in CLI, there is no >> config file, so it is not set. Each configfile command is executed in >> own environment which is destroyed when it is finished. You may have >> multiple (also nested) configfile invocations. What would you set it >> to? > I'm just happy with that. I only made a wrong deduction based on the > fact that I did not see config_directory in the set's output. >> config_directory has no meaningful value outside of configfile >> processing. > That's clear. >> >> >> >> _______________________________________________ >> Grub-devel mailing list >> Grub-devel@gnu.org >> https://lists.gnu.org/mailman/listinfo/grub-devel >=20 >=20 >=20 >=20 > _______________________________________________ > Grub-devel mailing list > Grub-devel@gnu.org > https://lists.gnu.org/mailman/listinfo/grub-devel >=20 --VDfgTcnl6uXTjs0B2S1ogUiI518EmWSos Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) iEYEARECAAYFAlaZ4lEACgkQR6LMutpd94wMjwCdF3Jck0MzeVse50PquyzR0nYa DnoAoLrhmcZV5iNsCgxqN00nvAjb4Qb/ =hgiu -----END PGP SIGNATURE----- --VDfgTcnl6uXTjs0B2S1ogUiI518EmWSos--