summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--debian/changelog2
-rw-r--r--debian/hurd.hurd-console.default (renamed from debian/hurd-console.default)0
-rwxr-xr-xdebian/rules3
3 files changed, 3 insertions, 2 deletions
diff --git a/debian/changelog b/debian/changelog
index d32c7992..ad782253 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -9,6 +9,8 @@ hurd (20130105-2) UNRELEASED; urgency=low
- Bump compat to 7.
- Bump the debhelper build dependency to >= 7.
- Fix the dh_strip parameters.
+ * Rename hurd-console.default to hurd.hurd-console.default, and let it be
+ installed by dh_installinit.
-- Samuel Thibault <sthibault@debian.org> Sun, 27 Jan 2013 20:38:39 +0100
diff --git a/debian/hurd-console.default b/debian/hurd.hurd-console.default
index db67f3fa..db67f3fa 100644
--- a/debian/hurd-console.default
+++ b/debian/hurd.hurd-console.default
diff --git a/debian/rules b/debian/rules
index ebcd3869..643e378a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -28,6 +28,7 @@ DEB_CONFIGURE_USER_FLAGS := --disable-profile --enable-static-progs='ext2fs,ufs,
DEB_MAKE_INSTALL_TARGET = install prefix=$(DEB_DESTDIR) sysconfdir=$(DEB_DESTDIR)/etc localstatedir=$(DEB_DESTDIR)/var XKB_BASE=$(DEB_DESTDIR)/usr/share/X11/xkb
DEB_DH_STRIP_ARGS_hurd := --dbg-package=hurd-dbg
DEB_DH_MAKESHLIBS_ARGS_hurd := --add-udeb="hurd-udeb"
+DEB_DH_INSTALLINIT_ARGS_hurd := --name=hurd-console
build/hurd::
cd $(DEB_BUILDDIR)/doc && texi2html -split chapter ../../doc/hurd.texi
@@ -57,8 +58,6 @@ install/hurd::
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/
install -m664 $(DEB_SRCDIR)/release/servers.boot debian/hurd/boot/