From 3d08d1347fbd020825a3b018b4f23fdc86e25c1f Mon Sep 17 00:00:00 2001 From: Juan RP Date: Thu, 7 Aug 2014 21:48:52 +0200 Subject: [PATCH] lxc: lxc-void: enable agetty-console runit service. --- srcpkgs/lxc/files/lxc-void | 2 ++ srcpkgs/lxc/template | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/srcpkgs/lxc/files/lxc-void b/srcpkgs/lxc/files/lxc-void index 28a80754fdc..2e80da1be2a 100755 --- a/srcpkgs/lxc/files/lxc-void +++ b/srcpkgs/lxc/files/lxc-void @@ -157,6 +157,8 @@ EOF fi grep nameserver /etc/resolv.conf > "${rootfs}/etc/resolv.conf" + # Enable agetty on /dev/console + ln -s /etc/sv/agetty-console $rootfs/etc/runit/runsvdir/default/ echo "root:root" | chroot ${rootfs} chpasswd -c SHA512 echo diff --git a/srcpkgs/lxc/template b/srcpkgs/lxc/template index af03299bc7d..7f325984338 100644 --- a/srcpkgs/lxc/template +++ b/srcpkgs/lxc/template @@ -3,7 +3,7 @@ _desc="Linux Containers" pkgname=lxc version=1.0.5 -revision=3 +revision=4 build_style=gnu-configure configure_args="--enable-doc --enable-seccomp --disable-apparmor --with-distro=none --with-rootfs-path=/var/lxc/containers --with-log-path=/var/lxc/log"