address resolvconf issues when using netboot which were raised on the ml
[live-boot-grml.git] / debian / patches / 29_support_dns_in_initramfs.patch
index ca3c12a..f481eea 100644 (file)
@@ -6,9 +6,9 @@ Date:   Fri Mar 25 23:02:38 2011 +0100
     
     Thanks to Ulrich Dangel for discovering this. [Closes: issue848]
 
---- a/backends/initramfs-tools/live.hook
-+++ b/backends/initramfs-tools/live.hook
-@@ -225,23 +225,19 @@
+--- a/backend/initramfs-tools/live.hook
++++ b/backend/initramfs-tools/live.hook
+@@ -228,23 +228,26 @@
  
  # Some experimental stuff
  
@@ -44,5 +44,12 @@ Date:   Fri Mar 25 23:02:38 2011 +0100
 +# might be needed if /etc/hosts is used
 +#mkdir -p "${DESTDIR}/etc"
 +#cp -p /etc/nsswitch.conf "${DESTDIR}/etc"
++
++# vlan support
++if [ -x /sbin/vconfig ]
++then
++      copy_exec /sbin/vconfig
++      manual_add_modules 8021q
++fi
  
  [ "${QUIET}" ] || echo .