summaryrefslogtreecommitdiff
path: root/debian/rules
diff options
context:
space:
mode:
authorPino Toscano <pino@debian.org>2012-02-01 17:37:12 +0100
committerPino Toscano <pino@debian.org>2012-02-01 17:37:12 +0100
commitd4e6a14eb3fad1b43a21214db139db441025baf5 (patch)
treee6274eec209e42bec3793b55f73e8707fc920e38 /debian/rules
parent09218a5407f3d9cf04b69f8eccdad5a1e0fbda99 (diff)
rename {halt,reboot} to {halt,reboot}-hurd
... and handle them as slaves of the runsystem alternative.
Diffstat (limited to 'debian/rules')
-rwxr-xr-xdebian/rules5
1 files changed, 5 insertions, 0 deletions
diff --git a/debian/rules b/debian/rules
index b247fed6..094f3a56 100755
--- a/debian/rules
+++ b/debian/rules
@@ -45,6 +45,11 @@ install/hurd::
mv debian/tmp/bin/vmstat debian/tmp/usr/bin/vmstat-hurd
mv debian/tmp/bin/w debian/tmp/usr/bin/w-hurd
+ # move away halt and reboot to not conflict with sysvinit
+ # (they will be handled as alternatives)
+ mv debian/tmp/sbin/halt debian/tmp/sbin/halt-hurd
+ mv debian/tmp/sbin/reboot debian/tmp/sbin/reboot-hurd
+
install -m664 debian/hurd-console.default debian/hurd/etc/default/hurd-console
install -m664 $(DEB_SRCDIR)/console/motd.UTF8 debian/hurd/etc/