From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aK7vU-0000uQ-8t for mharc-grub-devel@gnu.org; Fri, 15 Jan 2016 12:12:40 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:48457) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aK7vR-0000rl-Tb for grub-devel@gnu.org; Fri, 15 Jan 2016 12:12:38 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aK7vM-0005Uy-Ta for grub-devel@gnu.org; Fri, 15 Jan 2016 12:12:37 -0500 Received: from mail-lb0-x233.google.com ([2a00:1450:4010:c04::233]:33711) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aK7vM-0005UI-Ki for grub-devel@gnu.org; Fri, 15 Jan 2016 12:12:32 -0500 Received: by mail-lb0-x233.google.com with SMTP id x4so61917246lbm.0 for ; Fri, 15 Jan 2016 09:12:32 -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=u/ZwfA8RWwkqDisLapuZGnLcDQytgZmywzjP9tSeO7o=; b=HeWmz7OrLr1ad8CwT7cqQu2dIS2CggntL33mBPHeeeW1JuyFTvS8km+VuVJPvNQF4K hQ9A3qW3/3jHdhmrIIRXilXIZYa7YWhAwbKMwMlc3Dc6LrIfDQ7RU4zlns1cAC4/lRNG nxcflnWPh82u0yuKLqAGgQPhIXWnzbh0y+3kFkHon1kTSRL1XWvebjO66WfcO2WbEURM p4xxHm/8ABNXxuWDF6ZEZOvoFiQdk3feb98C3+7cGdyhPE+oZIjrO+TGGQn4tCCNih8S 6dYMnXzodKX7c30Vr5s6wtkx7CdImj32fzqX5PON6X0Q5d+VAhSpNL2mtHhWktiLwDVV dkow== 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=u/ZwfA8RWwkqDisLapuZGnLcDQytgZmywzjP9tSeO7o=; b=M7jQRAFwzTEnKWrmBsG0IJlr4OT3ghQNq0FR61Y9RY7CH33+9CPB4KXhTSkbiL/oLU kdKcOU4I8xsBPpQSE2jzmC5msrKpDwHfXFef6tQFQptQbmXmNLHb72rl4DjZHVjOtfdY ZvA9e4baEHMCkxN8ZgBrDgcE4N2a9xp3qXm6mMrNCojv7DYBbeiTFFXox205JR/TPBT9 Jct852vkvN+pAtjFEYWS+WcqK5jhhyLIlBz1x0V9E1t8ASUO+FZb3SftCvTKPRbNH9g5 2BxPrNwYSo0XS8z8ajONmoojZWabYwdidBYOqslh6BgjC9Iii0K5KHo9E0xoqiPyumII FF/Q== X-Gm-Message-State: ALoCoQnVAb0AXJhIUH+AXTLNt8niALNQ9hzSfvpTaWYbSKy4f4WX9xxep4UdUcq3RcolOfXMOK+BHFdl9jgxop4KN8L9pvLFmQ== X-Received: by 10.112.211.168 with SMTP id nd8mr3709528lbc.116.1452877951773; Fri, 15 Jan 2016 09:12:31 -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 g16sm1496766lfe.0.2016.01.15.09.12.30 for (version=TLSv1/SSLv3 cipher=OTHER); Fri, 15 Jan 2016 09:12:30 -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> From: Andrei Borzenkov X-Enigmail-Draft-Status: N1110 Message-ID: <5699287D.4080409@gmail.com> Date: Fri, 15 Jan 2016 20:12:29 +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: <5698FFCE.3040308@gmx.fr> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="4hNJIm6jQiJfiGkSWS9rGGGK2xEupCqM1" X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2a00:1450:4010:c04::233 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 17:12:38 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --4hNJIm6jQiJfiGkSWS9rGGGK2xEupCqM1 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 15.01.2016 17:18, Arbiel (gmx) =D0=BF=D0=B8=D1=88=D0=B5=D1=82: > 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. 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? config_directory has no meaningful value outside of configfile processing. --4hNJIm6jQiJfiGkSWS9rGGGK2xEupCqM1 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) iEYEARECAAYFAlaZKH4ACgkQR6LMutpd94wpnQCbBSkNNMIUoFkt+whvVqgRWBAs JSkAn0AwYYWFjjccpSHsIKC05YyA1qCt =SrNB -----END PGP SIGNATURE----- --4hNJIm6jQiJfiGkSWS9rGGGK2xEupCqM1--