[lxc-devel] [lxc-ci/master] images: Do not create TTYs on Gentoo

monstermunchkin on Github lxc-bot at linuxcontainers.org
Mon Jul 1 19:11:43 UTC 2019


A non-text attachment was scrubbed...
Name: not available
Type: text/x-mailbox
Size: 356 bytes
Desc: not available
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20190701/9ce34d26/attachment.bin>
-------------- next part --------------
From e92daec2eb3d958571669d487580810bbcca6beb Mon Sep 17 00:00:00 2001
From: Thomas Hipp <thomas.hipp at canonical.com>
Date: Mon, 1 Jul 2019 21:09:38 +0200
Subject: [PATCH] images: Do not create TTYs on Gentoo

Signed-off-by: Thomas Hipp <thomas.hipp at canonical.com>
---
 images/gentoo.yaml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/images/gentoo.yaml b/images/gentoo.yaml
index 7b2075e..eda36c8 100644
--- a/images/gentoo.yaml
+++ b/images/gentoo.yaml
@@ -72,6 +72,7 @@ actions:
      echo "#!/bin/sh" > /usr/bin/gpg2
      echo "exec /usr/bin/gpg2.real --keyserver hkps.pool.sks-keyservers.net \"\$@\"" >> /usr/bin/gpg2
      chmod +x /usr/bin/gpg2
+     sed -i 's/^c[0-9]:/#\0/' /etc/inittab
 
  - trigger: post-packages
    action: |-


More information about the lxc-devel mailing list