summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2010-08-18 00:53:05 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2010-08-18 00:53:05 +0200
commit186418c4c86652e4c400f3d0a419795533f4d9f0 (patch)
treef331fe7f52256f6d06a97fb7a6de5fc11c82f3fe /debian
parenta2255fcca01600314f688cab429b10aade0ad508 (diff)
copy the /servers/socket/2 translator settings into the target system.
Diffstat (limited to 'debian')
-rw-r--r--debian/changelog2
-rw-r--r--debian/hurd-udeb.install1
-rw-r--r--debian/local/finish-install.d/51hurd_config-target-network8
3 files changed, 11 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
index 571ffd84..7e84fbd2 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -95,6 +95,8 @@ hurd (20100802-1) UNRELEASED; urgency=low
upgrades (on initial installs, debootstrap will use the
setup-translators script from the installed hurd package to setup the
devices and servers itself).
+ * debian/local/finish-install.d/51hurd_config-target-network: copy the
+ /servers/socket/2 translator settings into the target system.
-- Samuel Thibault <sthibault@debian.org> Mon, 02 Aug 2010 10:06:06 +0200
diff --git a/debian/hurd-udeb.install b/debian/hurd-udeb.install
index f80c96c9..50dae098 100644
--- a/debian/hurd-udeb.install
+++ b/debian/hurd-udeb.install
@@ -1,6 +1,7 @@
debian/local/runsystem libexec
debian/local/setup-translators usr/lib/hurd
debian/local/partman lib
+debian/local/finish-install.d usr/lib
debian/tmp/lib/*.so.*
debian/tmp/lib/hurd/console/*.so.* usr/lib/hurd/console
debian/tmp/libexec/console-run
diff --git a/debian/local/finish-install.d/51hurd_config-target-network b/debian/local/finish-install.d/51hurd_config-target-network
new file mode 100644
index 00000000..9d78aede
--- /dev/null
+++ b/debian/local/finish-install.d/51hurd_config-target-network
@@ -0,0 +1,8 @@
+#!/bin/sh
+
+# Make sure the firmlink is gone
+settrans -ag /target/servers
+
+# Transfer the network configuration to /target
+settrans -pk /target/servers/socket/2 $(showtrans /servers/socket/2)
+