From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aKC7C-0002X7-SS for mharc-grub-devel@gnu.org; Fri, 15 Jan 2016 16:41:02 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:43238) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aKC7A-0002WZ-7K for grub-devel@gnu.org; Fri, 15 Jan 2016 16:41:01 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aKC77-0001Km-1u for grub-devel@gnu.org; Fri, 15 Jan 2016 16:41:00 -0500 Received: from mout.gmx.net ([212.227.15.15]:59560) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aKC76-0001Ki-Ny for grub-devel@gnu.org; Fri, 15 Jan 2016 16:40:56 -0500 Received: from [192.168.1.47] ([31.34.87.55]) by mail.gmx.com (mrgmx002) with ESMTPSA (Nemesis) id 0LhfZR-1ZpF0Y17q5-00mqu9 for ; Fri, 15 Jan 2016 22:40:55 +0100 Subject: Re: Setting config_directory to prefix at grub launch time To: The development of GNU GRUB References: <5698C704.6050102@gmx.fr> <5698D8E8.6070501@gmx.fr> <5698FFCE.3040308@gmx.fr> <5699287D.4080409@gmail.com> From: "Arbiel (gmx)" X-Enigmail-Draft-Status: N1110 Message-ID: <5699675F.4010709@gmx.fr> Date: Fri, 15 Jan 2016 22:40:47 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-Version: 1.0 In-Reply-To: <5699287D.4080409@gmail.com> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="XgLB3q5iWWwppRrca0pQgAa4KgaHXDL7r" X-Provags-ID: V03:K0:u+bO42GdMeAopO3nCQbz5xxITaNy5H//fgzSuigu00bduomqu7O iAFtQ9SLske/GSdyJQxuxzJW7xVi9uKE/rmtpoNGybJoAA8mIxP1iPBq8esnFEahGyLAtsd f3cEOAhy4I+ErVAhtDx/eNCSucYpmflVLmMywZt23UK4xr61OJJHem5F6qRAB2GUlO2KwZd b6oRF+wl6FMgYYvfqUQAw== X-UI-Out-Filterresults: notjunk:1;V01:K0:NRbE3WCH6pc=:nHlsAh8IGAG9JbnYPAakFB PpwG9+5SSh9X5bWmvImx+ZeNH328XVJ6evF92sakMlZnRgSEyk5fUgfzKr0fM1TbJzxTVmXSV tNDA4E6saO81pMwoiEeor1ynnoj0lDh+CeJYTq8P/ZX74bU/M5Tt9ZdXwJqH9v6L+O8j6yFhE TPHez4xbmMaqEtLZSs5aLUujrev40QDSP7ifwbQGi96oNLenINmi0eOoSTnCH+TbGO4rjPAjr bBDxOeskVn4dqYcvua3pI/E6BE1B7Ae8cqNs9Z1Jgnpl/1JXb1MD2GyWQ6UOg8aX1pogMZtY0 B9AYhrlOMnDOWcl2RY51cJ9dFVv4HDGdyTnjRS2KncRwMgFXtnbj06JTG4Tptq+vJToeH01Ck MYcL6fNLwjdzMAZauXBF0Y/veYjOZDnisSIDKGNPbR/KXVrEDsnByIRT6xjiPst2umL2hi5VX wvagQIxEc6NhHqkVGU7D+/JpmVAf6rXazj+Y8vRTmuoD11DEZiO5w9rOE1RhMHdA0p/E3/T4f CyNDdjQckYmJy/WSLs4pNsWnZYiv6ojYcc0o/uuTGCW3ccLg+UnBHWUUnd4HyZvjQd9XO5oG7 RiPgDGUCu9ygvLL4p4ZjzbG+4Ae1n6886HoENbSKWnFI6PUgWJyALoNCjCfKcpDAj4fsaRdvM 5rO3jj1bbCGJ/C4E52ThFZLHxjANZ2bIQBBzMH+qDQdtNS2f5Vs6+QzgfNq9ULh5OVeuFDoKX 9gSpN3/uH/WZsp5t47A/YcKC62LYYCG5ljqJYyG5XQ8mRNvFqjHOrJD92UY= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 212.227.15.15 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: Fri, 15 Jan 2016 21:41:01 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --XgLB3q5iWWwppRrca0pQgAa4KgaHXDL7r Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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 the= >> 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. > 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 --XgLB3q5iWWwppRrca0pQgAa4KgaHXDL7r 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) iF4EAREIAAYFAlaZZ2YACgkQG6j+1Sdg4Kum+wD/U0ZxndCQn1nSuHgUVMA0992K 9dhxdcEEWkste3smrfEA/1cx4dGK5s/HbXC+5wAA3K3vU7ChAJgdU0/SeXBphLjD =VUc2 -----END PGP SIGNATURE----- --XgLB3q5iWWwppRrca0pQgAa4KgaHXDL7r--