summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2010-10-30 01:55:49 +0000
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2010-10-30 01:55:49 +0000
commit37d4fd8df470da99651d9e16333a60d1354a514b (patch)
treee6f29a48a0249e656796259148eddf7dea7188da
parentbbb7e1b1e076fcfb045b8bced8d4dc25e1ab094f (diff)
Enable IPv6 support in target during d-i
* debian/local/setup-translators: Add inet6 -> 26 symlink. * debian/local/finish-install.d/51hurd_config-target-network: Set pfinet translator on /servers/socket/26 too.
-rw-r--r--debian/changelog3
-rw-r--r--debian/local/finish-install.d/51hurd_config-target-network3
-rwxr-xr-xdebian/local/setup-translators3
3 files changed, 7 insertions, 2 deletions
diff --git a/debian/changelog b/debian/changelog
index 8a9ef006..c6668196 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,6 +2,9 @@ hurd (20101029-1) UNRELEASED; urgency=low
[ Samuel Thibault ]
* New upstream snapshot.
+ * debian/local/setup-translators: Add inet6 -> 26 symlink.
+ * debian/local/finish-install.d/51hurd_config-target-network: Set pfinet
+ translator on /servers/socket/26 too.
-- Samuel Thibault <sthibault@debian.org> Fri, 29 Oct 2010 22:16:06 +0000
diff --git a/debian/local/finish-install.d/51hurd_config-target-network b/debian/local/finish-install.d/51hurd_config-target-network
index 9d78aede..94a7c2e1 100644
--- a/debian/local/finish-install.d/51hurd_config-target-network
+++ b/debian/local/finish-install.d/51hurd_config-target-network
@@ -4,5 +4,6 @@
settrans -ag /target/servers
# Transfer the network configuration to /target
-settrans -pk /target/servers/socket/2 $(showtrans /servers/socket/2)
+settrans -pk /target/servers/socket/2 $(showtrans /servers/socket/2) -6 /servers/socket/26
+settrans -pk /target/servers/socket/26 $(showtrans /servers/socket/2) -4 /servers/socket/2
diff --git a/debian/local/setup-translators b/debian/local/setup-translators
index bf255888..96e6bb94 100755
--- a/debian/local/setup-translators
+++ b/debian/local/setup-translators
@@ -104,7 +104,8 @@ st default-pager proxy-defpager
st socket/1 pflocal
st socket/local 'symlink 1' '(+link)'
st socket/2 pfinet
-st socket/inet 'symlink 2' '(+link)'
+st socket/inet 'symlink 2' '(+link)'
+st socket/inet6 'symlink 26' '(+link)'
st /proc procfs
if [ -z "$MINIMAL" ]; then