lxc: lxc-void: enable agetty-console runit service.
This commit is contained in:
parent
0d5340453c
commit
3d08d1347f
|
@ -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
|
||||||
|
|
|
@ -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"
|
||||||
|
|
Loading…
Reference in New Issue