lxc: lxc-void: enable agetty-console runit service.

This commit is contained in:
Juan RP 2014-08-07 21:48:52 +02:00
parent 0d5340453c
commit 3d08d1347f
2 changed files with 3 additions and 1 deletions

View File

@ -157,6 +157,8 @@ EOF
fi fi
grep nameserver /etc/resolv.conf > "${rootfs}/etc/resolv.conf" 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 "root:root" | chroot ${rootfs} chpasswd -c SHA512
echo echo

View File

@ -3,7 +3,7 @@ _desc="Linux Containers"
pkgname=lxc pkgname=lxc
version=1.0.5 version=1.0.5
revision=3 revision=4
build_style=gnu-configure build_style=gnu-configure
configure_args="--enable-doc --enable-seccomp --disable-apparmor --with-distro=none configure_args="--enable-doc --enable-seccomp --disable-apparmor --with-distro=none
--with-rootfs-path=/var/lxc/containers --with-log-path=/var/lxc/log" --with-rootfs-path=/var/lxc/containers --with-log-path=/var/lxc/log"