From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Craven Subject: Re: [PATCH 2/2] gnu: Add kmscon. Date: Mon, 22 Aug 2016 20:14:19 +0200 Message-ID: References: <20160822135307.789-1-david@craven.ch> <20160822135307.789-2-david@craven.ch> <20160822201003.2556601c@scratchpost.org> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary=001a11407f9e5aacd9053aad041d Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:47250) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bbtkJ-0004IR-2l for guix-devel@gnu.org; Mon, 22 Aug 2016 14:15:02 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bbtjr-0005DQ-NE for guix-devel@gnu.org; Mon, 22 Aug 2016 14:14:49 -0400 Received: from mail-yw0-x241.google.com ([2607:f8b0:4002:c05::241]:35661) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bbtjq-0005CJ-Bh for guix-devel@gnu.org; Mon, 22 Aug 2016 14:14:23 -0400 Received: by mail-yw0-x241.google.com with SMTP id r9so3930443ywg.2 for ; Mon, 22 Aug 2016 11:14:20 -0700 (PDT) In-Reply-To: <20160822201003.2556601c@scratchpost.org> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Danny Milosavljevic Cc: guix-devel --001a11407f9e5aacd9053aad041d Content-Type: text/plain; charset=UTF-8 By writing a service ;-) I have a wip I started on a while ago, but I didn't get past a black screen, so it needs some debugging... Also it's sadly been abandoned in favor of systemd-console, which is basically the same thing rewritten by the same author inside the systemd tree :/ --001a11407f9e5aacd9053aad041d Content-Type: text/x-patch; charset=US-ASCII; name="0001-wip-kmscon-service.patch" Content-Disposition: attachment; filename="0001-wip-kmscon-service.patch" Content-Transfer-Encoding: base64 X-Attachment-Id: f_is6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ICAoZGVmaW5lIGttc2NvbiAo a21zY29uLWNvbmZpZ3VyYXRpb24ta21zY29uIGNvbmZpZykpCisKKyAgKGRlZmluZSBrbXNjb24t Y29tbWFuZAorICAgIChhcHBlbmQKKyAgICAgIChsaXN0CisgICAgICAgICN+KHN0cmluZy1hcHBl bmQgIyRrbXNjb24gIi9iaW4va21zY29uIikKKyAgICAgICAgIi0tbG9naW4iIChrbXNjb24tY29u ZmlndXJhdGlvbi1sb2dpbi1wcm9ncmFtIGNvbmZpZykpCisgICAgICAoaWYgKGttc2Nvbi1jb25m aWd1cmF0aW9uLWh3YWNjZWw/IGNvbmZpZykgJygiLS1od2FjY2VsIikgJygpKQorICAgICAgKGxp c3QKKyAgICAgICAgIi0tIiAoa21zY29uLWNvbmZpZ3VyYXRpb24tbG9naW4tcGFyYW1zIGNvbmZp ZykpKSkKKworICAobGlzdCAoc2hlcGhlcmQtc2VydmljZQorICAgIChkb2N1bWVudGF0aW9uICJr bXNjb24gdmlydHVhbCB0ZXJtaW5hbCIpCisgICAgKHJlcXVpcmVtZW50ICcodXNlci1wcm9jZXNz ZXMpKQorICAgIChwcm92aXNpb24gJyhrbXNjb24pKQorICAgIChzdGFydCAjfihtYWtlLWZvcmtl eGVjLWNvbnN0cnVjdG9yICMkQGttc2Nvbi1jb21tYW5kKSkKKyAgICAoc3RvcCAjfihtYWtlLWtp bGwtZGVzdHJ1Y3RvcikpKSkpCisKKyhkZWZpbmUga21zY29uLXNlcnZpY2UtdHlwZQorICAoc2Vy dmljZS10eXBlIChuYW1lICdrbXNjb24pCisgICAgKGV4dGVuc2lvbnMKKyAgICAgIChsaXN0IChz ZXJ2aWNlLWV4dGVuc2lvbiBzaGVwaGVyZC1yb290LXNlcnZpY2UtdHlwZQorICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgIGttc2Nvbi1zaGVwaGVyZC1zZXJ2aWNlKSkpKSkKKworKGRlZmlu ZSogKGttc2Nvbi1zZXJ2aWNlICM6a2V5CisgIChrbXNjb24ga21zY29uKQorICAobG9naW4tcHJv Z3JhbSAjfihzdHJpbmctYXBwZW5kICMkc2hhZG93ICIvYmluL2xvZ2luIikpCisgIChsb2dpbi1w YXJhbXMgIi1wIikKKyAgKGh3YWNjZWw/ICN0KSkKKyAgIlJ1biB0aGUgQGNvbW1hbmR7a21zY29u fSBkYWVtb24gZnJvbSBAdmFye2ttc2Nvbn0gdG8gc3RhcnQgYSB2aXJ0dWFsIHRlcm1pbmFsLiIK KyAgKHNlcnZpY2Uga21zY29uLXNlcnZpY2UtdHlwZQorICAgIChrbXNjb24tY29uZmlndXJhdGlv bgorICAgICAgKGttc2NvbiBrbXNjb24pCisgICAgICAobG9naW4tcHJvZ3JhbSBsb2dpbi1wcm9n cmFtKQorICAgICAgKGxvZ2luLXBhcmFtcyBsb2dpbi1wYXJhbXMpCisgICAgICAoaHdhY2NlbD8g aHdhY2NlbD8pKSkpCi0tIAoyLjkuMAoK --001a11407f9e5aacd9053aad041d--