From 2a9cde0cf78eb7bab5ee79abdb4bea6558f3e699 Mon Sep 17 00:00:00 2001
From: Juan RP <xtraeme@gmail.com>
Date: Fri, 8 Aug 2014 02:00:50 +0200
Subject: [PATCH] lxc: lxc-void: enable dhcpcd-eth0 because dhcpcd does not
 work without udev.

---
 srcpkgs/lxc/files/lxc-void | 2 +-
 srcpkgs/lxc/template       | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/lxc/files/lxc-void b/srcpkgs/lxc/files/lxc-void
index 0f3db7a24bd..024c2bb8082 100755
--- a/srcpkgs/lxc/files/lxc-void
+++ b/srcpkgs/lxc/files/lxc-void
@@ -167,7 +167,7 @@ EOF
     # Enable agetty on /dev/console
     ln -s /etc/sv/agetty-console $rootfs/etc/runit/runsvdir/default/
     # Enable dhcpcd and sshd.
-    ln -s /etc/sv/dhcpcd $rootfs/etc/runit/runsvdir/default/
+    ln -s /etc/sv/dhcpcd-eth0 $rootfs/etc/runit/runsvdir/default/
     ln -s /etc/sv/sshd $rootfs/etc/runit/runsvdir/default/
     # Copy host /etc/localtime
     if [ -f /etc/localtime ]; then
diff --git a/srcpkgs/lxc/template b/srcpkgs/lxc/template
index fb6b1a258b2..9a6b7df0694 100644
--- a/srcpkgs/lxc/template
+++ b/srcpkgs/lxc/template
@@ -3,7 +3,7 @@ _desc="Linux Containers"
 
 pkgname=lxc
 version=1.0.5
-revision=6
+revision=7
 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"