From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:51827) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eggJe-00041A-Eu for guix-patches@gnu.org; Tue, 30 Jan 2018 19:31:55 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eggJZ-0006nu-IC for guix-patches@gnu.org; Tue, 30 Jan 2018 19:31:54 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:42091) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eggJZ-0006ni-Ef for guix-patches@gnu.org; Tue, 30 Jan 2018 19:31:49 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1egfGw-0000aL-37 for guix-patches@gnu.org; Tue, 30 Jan 2018 18:25:02 -0500 Subject: [bug#30216] [WIP v5] services: agetty: Make tty optional. Resent-Message-ID: Date: Wed, 31 Jan 2018 00:24:30 +0100 From: Danny Milosavljevic Message-ID: <20180131002430.753330b5@scratchpost.org> In-Reply-To: <87r2q7vzei.fsf@gnu.org> References: <20180124131219.14202-1-dannym@scratchpost.org> <20180124133147.15060-1-dannym@scratchpost.org> <87r2q7vzei.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 30216@debbugs.gnu.org > +(define (default-tty) =20 >Could you add a docstring, like, IIUC: =E2=80=9CReturn a gexp that determi= nes a >reasonable default serial port to use as the tty. This is primarily >useful for headless systems such as ARM SoCs.=E2=80=9D >In the manual, for the agetty service, it would be good to document the >=E2=80=98agetty.tty=E2=80=99 kernel command-line option. Sure. > Rather use =E2=80=98linux-command-line=E2=80=99 from (gnu build linux-boo= t). > =E2=80=98find-long-option=E2=80=99 in the same module does almost what yo= u want, but if > you really want to support repeated =E2=80=9Cagetty.tty=E2=80=9D options,= you=E2=80=99ll have to > make a new =E2=80=98find-long-options=E2=80=99 (plural) variant. It's more for the repeated "console=3D" options which Linux supports. >Perhaps =E2=80=98default-serial-port=E2=80=99 is more appropriate in fact? Yeah.