Received: from list by lists.gnu.org with archive (Exim 4.90_1) id 1l3bmF-0003Sa-5X for mharc-grub-devel@gnu.org; Sun, 24 Jan 2021 04:33:47 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:59950) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l3bm9-0003Rc-Fb for grub-devel@gnu.org; Sun, 24 Jan 2021 04:33:41 -0500 Received: from darkstar.slint.fr ([172.105.89.79]:54992) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l3bm7-0001xN-V9 for grub-devel@gnu.org; Sun, 24 Jan 2021 04:33:41 -0500 Received: from darkstar.example.slint (men75-h08-176-172-247-100.dsl.sta.abo.bbox.fr [176.172.247.100]) by darkstar.slint.fr (Postfix) with ESMTPSA id 90B63BE2FB for ; Sun, 24 Jan 2021 09:32:33 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=slint.fr; s=default; t=1611477153; bh=BICs/yTgcRjvLeNx0tcrCymDoNHXgn46JBwpZuo4feM=; h=Subject:To:References:From:Date:In-Reply-To:From; b=snayW106YY59luqMlmwOt4iorkVB6pOgziEuu69LqnmpMV9EtOnVkf+zRLRSx+B4P IIBdoXr/T98EshV4zSsReOPx5cjkBmuckQDQVbjUF2o+hC3i3a4xpYBdlT7q3F4hpc maNwOKUNN+Svoln9/JYvA2kwr335py2wjzZX+2sAi+lGG6HhB0ZCZxTGqrlN59ypRs duQN6uligYUfTV3VjZXI9WzFiaooj1CewQ05Yzm6lubcghSR0uzMvJjiwgiOCsoCyD Xai/F8O0D+q1ZYFB1RRUD7dBmvf6O5Zpjhuf3DUQcSrUx2VgsHjpkNo65TYfyfrhcE kmvw+RJVKLjiQ== Subject: Re: need hostname on menu To: grub-devel@gnu.org References: <968fe2d7-e30f-7c50-e425-9366553d4508@optusnet.com.au> <201183ac-457e-9161-d277-0624d636fd67@slint.fr> From: Didier Spaier Message-ID: Date: Sun, 24 Jan 2021 10:33:33 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.12.0 MIME-Version: 1.0 In-Reply-To: <201183ac-457e-9161-d277-0624d636fd67@slint.fr> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=172.105.89.79; envelope-from=didier@slint.fr; helo=darkstar.slint.fr X-Spam_score_int: -16 X-Spam_score: -1.7 X-Spam_bar: - X-Spam_report: (-1.7 / 5.0 requ) BAYES_00=-1.9, DKIM_INVALID=0.1, DKIM_SIGNED=0.1, NICE_REPLY_A=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 24 Jan 2021 09:33:41 -0000 Sorry for the faulty paste, please keep only the part quoted below: Le 24/01/2021 à 10:28, Didier Spaier a écrit : > Hi,> > Le 24/01/2021 à 01:52, Humphrey van Polanen Petel a écrit :>> However, it seems to me that it would be a lot more useful to add a >> parameter allowing the user to display the name of the install from >> /etc/hostname.>> I won't repeat what grub developers said but in addition:> > 1) Other users could want to customize the name including an information> not available in /etc/hostname, like e.g. /etc/os-release> > 2) the customization is easy to do by the user or the package maintainer or> the distribution maintainer and there are several ways to do that, like:> a) Edit by hand grub.cfg> b) Write a customized config file as /etc/grub.d/_.> c) Write a script that customizes grub.cfg after having run grub-mkconfig> or update-grub.> d) Write a  wrapper script that runs grub-mkconfig or update-grub then do> the customization.> > Have a good day,> Didier