lxc: lxc-void: enable agetty-console runit service.
This commit is contained in:
parent
0d5340453c
commit
3d08d1347f
2 changed files with 3 additions and 1 deletions
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue