diff options
author | Juan RP <xtraeme@gmail.com> | 2014-08-07 19:48:52 +0000 |
---|---|---|
committer | Juan RP <xtraeme@gmail.com> | 2014-08-07 19:48:52 +0000 |
commit | 3d08d1347fbd020825a3b018b4f23fdc86e25c1f (patch) | |
tree | 97993422195706bba0773db8ac8dfc5a63b303f3 | |
parent | 0d5340453ccab57e8ca066e29ed5de01b406ee1b (diff) | |
download | void-packages-3d08d1347fbd020825a3b018b4f23fdc86e25c1f.tar void-packages-3d08d1347fbd020825a3b018b4f23fdc86e25c1f.tar.gz void-packages-3d08d1347fbd020825a3b018b4f23fdc86e25c1f.tar.bz2 void-packages-3d08d1347fbd020825a3b018b4f23fdc86e25c1f.tar.lz void-packages-3d08d1347fbd020825a3b018b4f23fdc86e25c1f.tar.xz void-packages-3d08d1347fbd020825a3b018b4f23fdc86e25c1f.tar.zst void-packages-3d08d1347fbd020825a3b018b4f23fdc86e25c1f.zip |
lxc: lxc-void: enable agetty-console runit service.
-rwxr-xr-x | srcpkgs/lxc/files/lxc-void | 2 | ||||
-rw-r--r-- | srcpkgs/lxc/template | 2 |
2 files changed, 3 insertions, 1 deletions
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" |