From debbugs-submit-bounces@debbugs.gnu.org Sat Apr 01 16:22:56 2017 Received: (at submit) by debbugs.gnu.org; 1 Apr 2017 20:22:56 +0000 Received: from localhost ([127.0.0.1]:55981 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cuPXz-0000cs-UC for submit@debbugs.gnu.org; Sat, 01 Apr 2017 16:22:56 -0400 Received: from eggs.gnu.org ([208.118.235.92]:43272) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cuPXy-0000cf-70 for submit@debbugs.gnu.org; Sat, 01 Apr 2017 16:22:54 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cuPXs-0002mt-5C for submit@debbugs.gnu.org; Sat, 01 Apr 2017 16:22:49 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:43984) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cuPXs-0002ma-2f for submit@debbugs.gnu.org; Sat, 01 Apr 2017 16:22:48 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:34227) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cuPXr-0003MJ-0e for guix-patches@gnu.org; Sat, 01 Apr 2017 16:22:47 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cuPXm-0002Tl-52 for guix-patches@gnu.org; Sat, 01 Apr 2017 16:22:47 -0400 Received: from out1-smtp.messagingengine.com ([66.111.4.25]:52266) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cuPXl-0002Rr-S3 for guix-patches@gnu.org; Sat, 01 Apr 2017 16:22:42 -0400 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 3892F20997; Sat, 1 Apr 2017 16:22:41 -0400 (EDT) Received: from frontend1 ([10.202.2.160]) by compute4.internal (MEProxy); Sat, 01 Apr 2017 16:22:41 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=famulari.name; h=date:from:message-id:subject:to:x-me-sender:x-me-sender :x-sasl-enc:x-sasl-enc; s=mesmtp; bh=A48PwcSr2hXiCzhRRMav4v8b9hp 8W69pfHcVBgi1vf0=; b=wFuqNaKEFJQ81wXkdfgGnbb9NkGwzUgdf3ySfvZgjR6 VVwLrGx3+nwyDIB9HQJMy/RZs3CpU+zCxVVhuZeVZTQMdHUSxPv0WAnzapNEHux7 FdqioidSVBmOVJ5v+MnJuQUQh5b8+WpKyQ4saHOi8NSqJBNd4iBqbFoiwpl+SZgA = DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=date:from:message-id:subject:to :x-me-sender:x-me-sender:x-sasl-enc:x-sasl-enc; s=fm1; bh=A48Pwc Sr2hXiCzhRRMav4v8b9hp8W69pfHcVBgi1vf0=; b=SoaXnjY0g2mV+A0dRwivMD N1A2rMIGTdUDwIUJJ9oQKm5GUOPaXRvcaSnv0CH2ZCOX+pygBwr/gEqP6lG1zW0e p+dc7C0OspimDjAwSY2TWRuEYj6NR4SKGuxiNMvQk8bG63bojilZHDQQGLSiaI0x zrhRFd6357CN1JTZEoT60+ea/sWt58B7b8OWr99XeR1pQ3lyURhNOd9GBee0knF5 re6Q6qoakWAcCNZUJDo6ZLiY2yz4t1hz0ErSuNwzCi2rQxkb/Mshcaqw//LXvDS5 rqkNawUYajlkm33Da/cOuZdoFmjAX7b0p7hIjXiAL7657zR28kH1UZmH3MGWZhkA == X-ME-Sender: X-Sasl-enc: RkFcmwRvA0Oh7wsXrBEOqtbKbGG00rHhZWBhDDJwSU57 1491078160 Received: from localhost.localdomain (c-73-165-108-70.hsd1.pa.comcast.net [73.165.108.70]) by mail.messagingengine.com (Postfix) with ESMTPA id D55127E350 for ; Sat, 1 Apr 2017 16:22:40 -0400 (EDT) From: Leo Famulari To: guix-patches@gnu.org Subject: [PATCH 1/1] system: grub: Enable the use of a non-graphical GRUB menu. Date: Sat, 1 Apr 2017 16:22:32 -0400 Message-Id: <9b295fdca9e25e89fa90e0000f3b6117bb96f398.1491078152.git.leo@famulari.name> X-Mailer: git-send-email 2.12.2 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.1 (----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.1 (----) * gnu/system/grub.scm ()[graphical?]: New field. (eye-candy)[setup-gfxterm-body]: Use 'graphical?'. * doc/guix.texi (GRUB Configuration): Document 'graphical?'. --- doc/guix.texi | 4 ++++ gnu/system/grub.scm | 14 +++++++++++--- 2 files changed, 15 insertions(+), 3 deletions(-) diff --git a/doc/guix.texi b/doc/guix.texi index 8da82b4d8..75fc76396 100644 --- a/doc/guix.texi +++ b/doc/guix.texi @@ -14915,6 +14915,10 @@ The @code{grub-theme} object describing the theme to use. @item @code{grub} (default: @code{grub}) The GRUB package to use. + +@item @code{graphical?} (default: @code{#t}) +A Boolean field that controls whether the GRUB boot menu is graphical or +text-based. @end table @end deftp diff --git a/gnu/system/grub.scm b/gnu/system/grub.scm index 4f9bde6a6..ad1bc8768 100644 --- a/gnu/system/grub.scm +++ b/gnu/system/grub.scm @@ -117,7 +117,9 @@ denoting a file name." (timeout grub-configuration-timeout ; integer (default 5)) (theme grub-configuration-theme ; - (default %default-theme))) + (default %default-theme)) + (graphical? grub-configuration-graphical? ; boolean + (default #t))) (define-record-type* menu-entry make-menu-entry @@ -181,6 +183,7 @@ system string---e.g., \"x86_64-linux\"." ;; most other modern architectures have no other mode and therefore don't ;; need to be switched. (if (string-match "^(x86_64|i[3-6]86)-" system) + (string-append " # Leave 'gfxmode' to 'auto'. insmod video_bochs @@ -198,10 +201,15 @@ system string---e.g., \"x86_64-linux\"." insmod vbe insmod vga fi - +" + (if (grub-configuration-graphical? config) + " terminal_output gfxterm " - "")) + " + terminal_output console +") + ""))) (define (theme-colors type) (let* ((theme (grub-configuration-theme config)) -- 2.12.2 From debbugs-submit-bounces@debbugs.gnu.org Sat Apr 01 18:16:09 2017 Received: (at 26334) by debbugs.gnu.org; 1 Apr 2017 22:16:09 +0000 Received: from localhost ([127.0.0.1]:56024 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cuRJZ-00053P-FW for submit@debbugs.gnu.org; Sat, 01 Apr 2017 18:16:09 -0400 Received: from eggs.gnu.org ([208.118.235.92]:55141) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cuRJW-00052f-0K for 26334@debbugs.gnu.org; Sat, 01 Apr 2017 18:16:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cuRJN-0003OQ-RD for 26334@debbugs.gnu.org; Sat, 01 Apr 2017 18:16:00 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:52312) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cuRJN-0003OB-Nx; Sat, 01 Apr 2017 18:15:57 -0400 Received: from reverse-83.fdn.fr ([80.67.176.83]:59890 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1cuRJN-00061y-5r; Sat, 01 Apr 2017 18:15:57 -0400 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) To: Leo Famulari Subject: Re: bug#26334: [PATCH 1/1] system: grub: Enable the use of a non-graphical GRUB menu. References: <9b295fdca9e25e89fa90e0000f3b6117bb96f398.1491078152.git.leo@famulari.name> Date: Sun, 02 Apr 2017 00:15:54 +0200 In-Reply-To: <9b295fdca9e25e89fa90e0000f3b6117bb96f398.1491078152.git.leo@famulari.name> (Leo Famulari's message of "Sat, 1 Apr 2017 16:22:32 -0400") Message-ID: <87wpb3g4f9.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 26334 Cc: 26334@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) Hello! Leo Famulari skribis: > * gnu/system/grub.scm ()[graphical?]: New field. > (eye-candy)[setup-gfxterm-body]: Use 'graphical?'. > * doc/guix.texi (GRUB Configuration): Document 'graphical?'. Would it be possible to detect whether graphical output is available only in GRUB code? Or is the use case a situation where graphical output *is* supported but somehow undesirable? Thanks, Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Sat Apr 01 18:43:57 2017 Received: (at 26334) by debbugs.gnu.org; 1 Apr 2017 22:43:57 +0000 Received: from localhost ([127.0.0.1]:56043 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cuRkT-0005h9-3o for submit@debbugs.gnu.org; Sat, 01 Apr 2017 18:43:57 -0400 Received: from out1-smtp.messagingengine.com ([66.111.4.25]:52751) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cuRkQ-0005gz-M1 for 26334@debbugs.gnu.org; Sat, 01 Apr 2017 18:43:55 -0400 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 47D1B20A08; Sat, 1 Apr 2017 18:43:54 -0400 (EDT) Received: from frontend2 ([10.202.2.161]) by compute4.internal (MEProxy); Sat, 01 Apr 2017 18:43:54 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=famulari.name; h=cc:content-type:date:from:in-reply-to:message-id:mime-version :references:subject:to:x-me-sender:x-me-sender:x-sasl-enc :x-sasl-enc; s=mesmtp; bh=dnVHwYnwYeyre3vKsxFv8zUbPzb+jEF1yxL75u 1z0jM=; b=0i1z4S/ysauv8ZfT8OWLqLMa/ML6SMO68Y0CpKnn95+LlAl30uQTEr JCghzq1TRmGpCK5U2/5yUMOfBHi0qJufa+W03GbnmVKEG0xfau7Cu7XtxvWUQb/b 4SBRbldaThBrUrJ+YTC7YAnviTDtK+PQAS+18fXRCWMu8aEb+x2w4= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc:x-sasl-enc; s=fm1; bh=dnVHwYnwYeyre3vKsx Fv8zUbPzb+jEF1yxL75u1z0jM=; b=WGKOCSc42p7L8nPLZg0voUmn85mgZ+ULBO FYBMoi0fOD0FYeAvB2QndvCAG/68uvFodkiyzwi2JVyTl/C7yv7nY1J7R4/RE8X1 zxy+iHRuWLz7qvZGnDC82AVyIeFUDMKUQKw+Vi835oJQ9LnrfXtcINyemHsbKWNI KjspW2e7FYBQpq1c/ywZzNQwYb517DLxk4H2wNbCEhyWkU1eIMw18QLFW84x12WP 3lYY0QNIjobGDzRZGUm2x26ZPjv87L2qIazsxN4IFvbsIUSboomMrpoXcd0AjBAm NP3XsZdGkkjUDynyFEzd/+HZKLh481TkzAP1fwEA0U+aFCCM6VUA== X-ME-Sender: X-Sasl-enc: Zas+Eol8poA8ij8EKgZFjulp+VntzF0a0XRUFNY6U9G1 1491086634 Received: from localhost (c-73-165-108-70.hsd1.pa.comcast.net [73.165.108.70]) by mail.messagingengine.com (Postfix) with ESMTPA id 0EA692470D; Sat, 1 Apr 2017 18:43:54 -0400 (EDT) Date: Sat, 1 Apr 2017 18:43:45 -0400 From: Leo Famulari To: Ludovic =?iso-8859-1?Q?Court=E8s?= Subject: Re: bug#26334: [PATCH 1/1] system: grub: Enable the use of a non-graphical GRUB menu. Message-ID: <20170401224345.GA13129@jasmine> References: <9b295fdca9e25e89fa90e0000f3b6117bb96f398.1491078152.git.leo@famulari.name> <87wpb3g4f9.fsf@gnu.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="W/nzBZO5zC0uMSeA" Content-Disposition: inline In-Reply-To: <87wpb3g4f9.fsf@gnu.org> User-Agent: Mutt/1.8.0 (2017-02-23) X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 26334 Cc: 26334@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) --W/nzBZO5zC0uMSeA Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Apr 02, 2017 at 12:15:54AM +0200, Ludovic Court=E8s wrote: > Would it be possible to detect whether graphical output is available > only in GRUB code? I'm far from a GRUB expert... Apparently, the terminal input and output devices default to the "platform's native terminal {input,output}": https://www.gnu.org/software/grub/manual/html_node/Simple-configuration.html > Or is the use case a situation where graphical output *is* supported > but somehow undesirable? Yes, that is a potential use case. For example, I have a system based on an embedded system-on-a-chip that includes a GPU, but no physical video ports; I must use the serial port. I also have this use case on a laptop as a consequence of . For both of those systems, I've been using a different patch that has the same effect on the generated grub.cfg. Perhaps instead of a graphical? toggle, we could expose the different values of GRUB_TERMINAL_OUTPUT and GRUB_TERMINAL_INPUT: https://www.gnu.org/software/grub/manual/html_node/Simple-configuration.html --W/nzBZO5zC0uMSeA Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEsFFZSPHn08G5gDigJkb6MLrKfwgFAljgLR0ACgkQJkb6MLrK fwiR9Q//Zg1DZ2gkMtad3qS4hzc+785IzYsOZ1AwEIgXQPNFDKtcSwO9/utwJQov bMEDNn/SFmNWQ5U0NEkpebILpnJLWi84NJi2L0GHyfWi3YxK5cCpKvZOq1ioe8LG vwQ55XEbUEJ+UAzU9s1NCC6JY73Y/CnZp5C7R8N8mkFzlEvQ+PSlGl0nFtyfuOfG YBrwt3xJHt9bMf3MO4CDnmlpWDf9MHj/rOasm5GfIHNsWdRHIYaOaH5Vwo0v6KJu 9OFf4743fHNge+rskqliCIijw2KcaHfPxJ9dET1HFk/ky9q51mm85B6EA9uoeKpb rj1wFjXLR2YLPEul7MEF9nPS/tSmtdL5N273dZUePDN3lTjcoShhZb2Qs1cdkC2j AfhPzFdFLBEkbdzKHWifHpMBb0hFs6H3ChENA4DwCyztj22avt2Cz97xgn7Upg5d 1uKXLigVrX7wX5sfG2D/cUS/ADSo/L0WKKMVLIahgonAZF/77JTgqzXFCKZDg7GX 7DJaDMfVtQ6jRwWJ3OtsJcBAfyW18RMLPnW3cI7agQH28qbL83HKrTK1Cn8XZ7Mn e33p+2alR5/sEmYy41eWl/h+z5J41dPbb+LPh5Mm9YIyO34I7mPIKPvZ4Zu0oKRg PxAR70wCJcFIiXheUpae587ESOFj6gJzzwjtsEi1ViWFYx1D6Y4= =2cV5 -----END PGP SIGNATURE----- --W/nzBZO5zC0uMSeA-- From debbugs-submit-bounces@debbugs.gnu.org Sat Apr 01 19:07:23 2017 Received: (at 26334) by debbugs.gnu.org; 1 Apr 2017 23:07:23 +0000 Received: from localhost ([127.0.0.1]:56052 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cuS78-0006Fx-BF for submit@debbugs.gnu.org; Sat, 01 Apr 2017 19:07:22 -0400 Received: from perdizione.investici.org ([94.23.50.208]:23637) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cuS77-0006Fn-0u for 26334@debbugs.gnu.org; Sat, 01 Apr 2017 19:07:21 -0400 Received: from [94.23.50.208] (perdizione [94.23.50.208]) (Authenticated sender: niasterisk@grrlz.net) by localhost (Postfix) with ESMTPSA id CF6F8120061; Sat, 1 Apr 2017 23:07:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cryptolab.net; s=stigmate; t=1491088039; bh=1pR73A5j60Kfr3HUnXVwZ9I2H4TKSii+dKIHCngDEmU=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=sM0FfyYP/ObnKq0f7HAerENNB+3a0TP0pHokJEdJEVpZUUkcN3ypykWjPrACwCulP o5kum0n0E2VcyScSha1P22VwD817guPf7l5wXliZUt+LyVYRbgkHbg2sKndttDkgfT gsWRl/ba6lR+DDbYJTnP3fcRKKF3kwv7WWvDTf/4= Date: Sun, 2 Apr 2017 00:06:38 +0000 From: ng0 To: Leo Famulari Subject: Re: bug#26334: [PATCH 1/1] system: grub: Enable the use of a non-graphical GRUB menu. Message-ID: <20170402000638.djlieop6rw72r3ny@abyayala> Mail-Followup-To: Leo Famulari , Ludovic =?utf-8?Q?Court=C3=A8s?= , 26334@debbugs.gnu.org References: <9b295fdca9e25e89fa90e0000f3b6117bb96f398.1491078152.git.leo@famulari.name> <87wpb3g4f9.fsf@gnu.org> <20170401224345.GA13129@jasmine> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20170401224345.GA13129@jasmine> X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 26334 Cc: Ludovic =?utf-8?Q?Court=C3=A8s?= , 26334@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) Hi Leo, thanks for publishing it this quickly :) Leo Famulari transcribed 2.1K bytes: > On Sun, Apr 02, 2017 at 12:15:54AM +0200, Ludovic Courtès wrote: > > Would it be possible to detect whether graphical output is available > > only in GRUB code? > > I'm far from a GRUB expert... > > Apparently, the terminal input and output devices default to the > "platform's native terminal {input,output}": > https://www.gnu.org/software/grub/manual/html_node/Simple-configuration.html > > > Or is the use case a situation where graphical output *is* supported > > but somehow undesirable? Ludovic, for me this is for getting agetty work correctly with the IN-Berlin facilities for their kvm vserver redirection to the real server. (going off-topic:) I plan to get them into the loop of Guix Deploy. What's the status of that meta project by the way? I don't live in Berlin but as I don't think if Ricardo is even remotely interested (or has the time) to meet with IN-Berlin and introduce them to Guix on servers. My idea is roughly to check what their requirements for servers are, their workflow, what they'd like to see improved and use this as a feedback for the (yet to be developed) deploy function. Furthermore I'd like to work an intermediate way for providing GuixSD images which fit their use case without relying on myself as a provider. Their requirement (as I see it from my position and experience with them) is that the users ssh-pubkey is used for machine access from the beginning on instead of password based login. So a way to define it in the systemconfig would be one requirement I see. > Yes, that is a potential use case. For example, I have a system based on > an embedded system-on-a-chip that includes a GPU, but no physical video > ports; I must use the serial port. > > I also have this use case on a laptop as a consequence of > . > > For both of those systems, I've been using a different patch that > has the same effect on the generated grub.cfg. > > Perhaps instead of a graphical? toggle, we could expose the different > values of GRUB_TERMINAL_OUTPUT and GRUB_TERMINAL_INPUT: > > https://www.gnu.org/software/grub/manual/html_node/Simple-configuration.html From debbugs-submit-bounces@debbugs.gnu.org Sat Apr 01 19:16:23 2017 Received: (at 26334) by debbugs.gnu.org; 1 Apr 2017 23:16:23 +0000 Received: from localhost ([127.0.0.1]:56063 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cuSFr-0007fm-G1 for submit@debbugs.gnu.org; Sat, 01 Apr 2017 19:16:23 -0400 Received: from out1-smtp.messagingengine.com ([66.111.4.25]:43334) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cuSFq-0007ee-6E for 26334@debbugs.gnu.org; Sat, 01 Apr 2017 19:16:22 -0400 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 161BE209A2; Sat, 1 Apr 2017 19:16:20 -0400 (EDT) Received: from frontend2 ([10.202.2.161]) by compute4.internal (MEProxy); Sat, 01 Apr 2017 19:16:20 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=famulari.name; h=content-type:date:from:in-reply-to:message-id:mime-version :references:subject:to:x-me-sender:x-me-sender:x-sasl-enc :x-sasl-enc; s=mesmtp; bh=9rqcXl0LgpIZpoo2SgKycWDWSgiRUSo8JhINKF d/N8o=; b=QvbNcVrTKAimo/Hv+pZmMKOcWIDzX1Zzx3XYEM282f31k6QLhtvymo afW8C2XMGhsVUivDI8e7vwJMgXtdHklVlPDtpBLnVNr9Ag2FlfVToDV89zRgI1XB k2RwJUt+5uC2epKxX8R32oJEzDTp6P3rdxlwP7inbzFUYUGydX+og= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc:x-sasl-enc; s=fm1; bh=9rqcXl0LgpIZpoo2Sg KycWDWSgiRUSo8JhINKFd/N8o=; b=PypWODbrCd9vkKYTlIuM+xyEb9SO3nBhDf D8rRTdWzyAAUM5s0TCsTJJk+GEcOGBVxGX3XMEdGnkD9AzK5i1COPomV22cgwnoq Kunt4cH4ANdrmiYWp+3eSBNTrorWu8BviuTPyBX7xyMB4dvS7YcEH5Tn9qOU5E9f B+f+btO5ikgI0/ISnRbXHQPPFr2S6tV01d6iZpWJrka63CquJudqpEEJzaFlApoc ptMOWZKXZJyO9wLbRbV9m21WmW/RkFwoDw4Km9MfeF/oaAGm6nBH9DtcZ8VsOgBE ORltT7zwiKK2UIKq4Z5jY1UWuVFlO8qnCWKMyZYHIc8EkUgUG5kg== X-ME-Sender: X-Sasl-enc: XZnvVRV6MrSsbMeAVOoLcje5M+W3+OqoJMG0g+LGxkZa 1491088579 Received: from localhost (c-73-165-108-70.hsd1.pa.comcast.net [73.165.108.70]) by mail.messagingengine.com (Postfix) with ESMTPA id C3703246E7; Sat, 1 Apr 2017 19:16:19 -0400 (EDT) Date: Sat, 1 Apr 2017 19:16:18 -0400 From: Leo Famulari To: Ludovic =?iso-8859-1?Q?Court=E8s?= , 26334@debbugs.gnu.org Subject: Re: bug#26334: [PATCH 1/1] system: grub: Enable the use of a non-graphical GRUB menu. Message-ID: <20170401231618.GB14258@jasmine> References: <9b295fdca9e25e89fa90e0000f3b6117bb96f398.1491078152.git.leo@famulari.name> <87wpb3g4f9.fsf@gnu.org> <20170401224345.GA13129@jasmine> <20170402000638.djlieop6rw72r3ny@abyayala> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20170402000638.djlieop6rw72r3ny@abyayala> User-Agent: Mutt/1.8.0 (2017-02-23) X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 26334 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) On Sun, Apr 02, 2017 at 12:06:38AM +0000, ng0 wrote: > Ludovic, for me this is for getting agetty work correctly with the > IN-Berlin facilities for their kvm vserver redirection to the real > server. Right, remote consoles are another use case for a non-graphical GRUB menu. From debbugs-submit-bounces@debbugs.gnu.org Sun Apr 02 04:31:20 2017 Received: (at 26334) by debbugs.gnu.org; 2 Apr 2017 08:31:20 +0000 Received: from localhost ([127.0.0.1]:56408 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cuauu-0005y0-1q for submit@debbugs.gnu.org; Sun, 02 Apr 2017 04:31:20 -0400 Received: from eggs.gnu.org ([208.118.235.92]:37468) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cuaus-0005xk-MB for 26334@debbugs.gnu.org; Sun, 02 Apr 2017 04:31:18 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cuaui-0004K1-NM for 26334@debbugs.gnu.org; Sun, 02 Apr 2017 04:31:13 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:56333) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cuaui-0004Jx-KC; Sun, 02 Apr 2017 04:31:08 -0400 Received: from reverse-83.fdn.fr ([80.67.176.83]:59990 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1cuauh-0006HC-7n; Sun, 02 Apr 2017 04:31:07 -0400 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) To: Leo Famulari Subject: Re: bug#26334: [PATCH 1/1] system: grub: Enable the use of a non-graphical GRUB menu. References: <9b295fdca9e25e89fa90e0000f3b6117bb96f398.1491078152.git.leo@famulari.name> <87wpb3g4f9.fsf@gnu.org> <20170401224345.GA13129@jasmine> <20170402000638.djlieop6rw72r3ny@abyayala> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 13 Germinal an 225 de la =?utf-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-unknown-linux-gnu Date: Sun, 02 Apr 2017 10:31:04 +0200 In-Reply-To: <20170402000638.djlieop6rw72r3ny@abyayala> (ng0's message of "Sun, 2 Apr 2017 00:06:38 +0000") Message-ID: <87k273dxdj.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 26334 Cc: 26334@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) Heya! ng0 skribis: > (going off-topic:) > I plan to get them into the loop of Guix Deploy. What's the status of > that meta project by the way? You can check the =E2=80=98wip-deploy=E2=80=99 branch: it has initial inter= faces, but very little is implemented at this point. Most of the building blocks are there, though. Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Sun Apr 02 04:34:16 2017 Received: (at 26334) by debbugs.gnu.org; 2 Apr 2017 08:34:16 +0000 Received: from localhost ([127.0.0.1]:56423 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cuaxj-00063M-Sv for submit@debbugs.gnu.org; Sun, 02 Apr 2017 04:34:16 -0400 Received: from eggs.gnu.org ([208.118.235.92]:37722) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cuaxi-000636-Ew for 26334@debbugs.gnu.org; Sun, 02 Apr 2017 04:34:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cuaxY-00062t-HW for 26334@debbugs.gnu.org; Sun, 02 Apr 2017 04:34:09 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:56341) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cuaxY-00062p-EB; Sun, 02 Apr 2017 04:34:04 -0400 Received: from reverse-83.fdn.fr ([80.67.176.83]:59996 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1cuaxX-0000TL-Of; Sun, 02 Apr 2017 04:34:04 -0400 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) To: Leo Famulari Subject: Re: bug#26334: [PATCH 1/1] system: grub: Enable the use of a non-graphical GRUB menu. References: <9b295fdca9e25e89fa90e0000f3b6117bb96f398.1491078152.git.leo@famulari.name> <87wpb3g4f9.fsf@gnu.org> <20170401224345.GA13129@jasmine> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 13 Germinal an 225 de la =?utf-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-unknown-linux-gnu Date: Sun, 02 Apr 2017 10:34:01 +0200 In-Reply-To: <20170401224345.GA13129@jasmine> (Leo Famulari's message of "Sat, 1 Apr 2017 18:43:45 -0400") Message-ID: <87fuhrdx8m.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 26334 Cc: 26334@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) Hi Leo! Leo Famulari skribis: > On Sun, Apr 02, 2017 at 12:15:54AM +0200, Ludovic Court=C3=A8s wrote: >> Would it be possible to detect whether graphical output is available >> only in GRUB code? > > I'm far from a GRUB expert... > > Apparently, the terminal input and output devices default to the > "platform's native terminal {input,output}": > https://www.gnu.org/software/grub/manual/html_node/Simple-configuration.h= tml > >> Or is the use case a situation where graphical output *is* supported >> but somehow undesirable? > > Yes, that is a potential use case. For example, I have a system based on > an embedded system-on-a-chip that includes a GPU, but no physical video > ports; I must use the serial port. > > I also have this use case on a laptop as a consequence of > . Oh right. > For both of those systems, I've been using a different patch that > has the same effect on the generated grub.cfg. > > Perhaps instead of a graphical? toggle, we could expose the different > values of GRUB_TERMINAL_OUTPUT and GRUB_TERMINAL_INPUT: > > https://www.gnu.org/software/grub/manual/html_node/Simple-configuration.h= tml Yes, that makes sense to me. So I=E2=80=99d say add a =E2=80=98terminal-ou= tput=E2=80=99 field instead of =E2=80=98graphical?=E2=80=99, have that default to "gfxterm" (in= which case it does the current =E2=80=9Cif loadfont=E2=80=A6; setup_gfxterm; fi=E2=80= =9D). WDYT? Thanks! Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Thu May 11 03:39:36 2017 Received: (at 26334-done) by debbugs.gnu.org; 11 May 2017 07:39:36 +0000 Received: from localhost ([127.0.0.1]:37556 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d8ihE-00040U-Hp for submit@debbugs.gnu.org; Thu, 11 May 2017 03:39:36 -0400 Received: from out4-smtp.messagingengine.com ([66.111.4.28]:46645) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d8ihD-00040M-5F for 26334-done@debbugs.gnu.org; Thu, 11 May 2017 03:39:35 -0400 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 6493320872; Thu, 11 May 2017 03:39:34 -0400 (EDT) Received: from frontend1 ([10.202.2.160]) by compute4.internal (MEProxy); Thu, 11 May 2017 03:39:34 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=famulari.name; h=content-type:date:from:message-id:mime-version:subject:to :x-me-sender:x-me-sender:x-sasl-enc:x-sasl-enc; s=mesmtp; bh=A6S axajX5CS/3onMYRzujrzxPvLIDKbI+yUyQQNGg0w=; b=IGs/ggrB3ouU49g37uT NKDltbIKQKV/a/+ztilKA81pL9p/p3YbspvZkamSwoViRya9GeS+WXCrXQ0o58Ty p0QLQ7hSyaJ0cnjyoY4ko6DS2CVxvsomDz/DlH6pEl8Mq96bb5y6RxjODpOYiPYE KY2YN1NaWAX1oaVxlZUhGLOs= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:message-id :mime-version:subject:to:x-me-sender:x-me-sender:x-sasl-enc :x-sasl-enc; s=fm1; bh=A6SaxajX5CS/3onMYRzujrzxPvLIDKbI+yUyQQNGg 0w=; b=f0z5pduAq3F/bnQa1An65ediVq1xlJpQU6nCow0VCId2nMr5oNrp7UgKd KpT+WwzeTTYfIWSXm8VegZNJG0zf0/SuAhQS27ZeRpwzxfwq4pytn1Ajm5H0oCSu FZaRKs5QekFvmM5pyjfrYLsbnKa+QaywaMQEfOEGXNOL7Gwefwg1laBQCwWjpdfV NODDNii3+ofgp1L7+n3tRXAcuffEBhtQIUbOsp1A4g4qbshfLEk36qiklGVNM9u3 iHb7rvJ8ZGq3sNyX0d80xVxbEJJ/wQEimoI17o7NNUPmJVuAjIiUP339jzrD5UM+ 9ShG+LGWdX08ZIq7XJ0RG5oDB7oCw== X-ME-Sender: X-Sasl-enc: CU+gK0yw4baHQdts7R1APNYVNs2Ks/C5t+VmEOBhRNev 1494488374 Received: from localhost (c-73-165-108-70.hsd1.pa.comcast.net [73.165.108.70]) by mail.messagingengine.com (Postfix) with ESMTPA id 264BD7E5C8 for <26334-done@debbugs.gnu.org>; Thu, 11 May 2017 03:39:34 -0400 (EDT) Date: Thu, 11 May 2017 03:39:33 -0400 From: Leo Famulari To: 26334-done@debbugs.gnu.org Subject: CLOSED [PATCH 1/1] system: grub: Enable the use of a non-graphical GRUB menu. Message-ID: <20170511073933.GA5284@jasmine> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="J/dobhs11T7y2rNN" Content-Disposition: inline User-Agent: Mutt/1.8.2 (2017-04-18) X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 26334-done X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) --J/dobhs11T7y2rNN Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Closing in favor of . --J/dobhs11T7y2rNN Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEsFFZSPHn08G5gDigJkb6MLrKfwgFAlkUFTUACgkQJkb6MLrK fwhUog/+JczZtret2wjO33IEOzMA4cBEDBgUtmnFxWiWOpHGIHV/gilfXpRRkHjz 9tCN9onh3WUzv2qlnMDoDA9S1ZMBzkN7uA/0VZF2bE3CH7yYXsqLqjXt9bbeEBDW tBgMwwgziRH/p5H9K9aSHxWNdAH52pduJ4xH3EzJf/diAHdRO/tDV6wn6OXSDmKU lUBVk7SnIVIHgpW/CisbuRO98ZKE+e4kJ8lg55kKhlpe/DRhtfRP+6yUJg97sW8w MaOHlBJFg9IdzE75z/9VAWl1v43r5RophOGmGAcap5msleFHtT6HQj6vbXgSZO9/ YtNK49O1mykmtnLobJZ/DaR0m1qys+Kx9FJxHzOtcqbtcIkD76vYbMlkjOzPe/Wm 6n9aBQlLADMl1+gW2Zv1bunnr9TUW60biuoF3HOoQaMqQc0leOw2FpfNOLvTzebC nYa9JuBwrTaDJSrIn5QQGRcUfxhq0sfTGtV5ojOqnnYitvmnfnd9807o3i0o+i58 YYdzEoxLHuTz1mbsRqvU+supB/JXUrasBdLbZhdt7Ga/2AR/6UQ2AK2fEY0QIEqv foEestmslBCCTmqL8H1xJyIZ+m9ZOLk7IJbHG3b0qtc3okpDcXyDLAwokqwz0e5K +v4DHe/gQyeHyKsPNSXIVW/fZLfQllVcB6XlIQpHesHLMbysYPA= =xHjs -----END PGP SIGNATURE----- --J/dobhs11T7y2rNN-- From unknown Sun Jun 22 11:35:04 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Thu, 08 Jun 2017 11:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator