summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
authorGuillem Jover <guillem@debian.org>2013-07-28 14:41:01 +0200
committerGuillem Jover <guillem@debian.org>2013-07-28 14:44:27 +0200
commit16329c3799604b4f20a622833661be2cd2e1e757 (patch)
tree641c691627c4225767193074b90b2ead683ed650 /debian
parentaf2524c23478134ca90d7990127205550c5d1d4d (diff)
downloaddpkg-16329c3799604b4f20a622833661be2cd2e1e757.tar.gz
debian: Install s-s-d directly into /sbin
This properly fixes the empty usr/sbin directory that needs cleanup, and avoids the annoying path moves in debian/rules.
Diffstat (limited to 'debian')
-rw-r--r--debian/changelog2
-rw-r--r--debian/dpkg.install2
-rwxr-xr-xdebian/rules6
3 files changed, 4 insertions, 6 deletions
diff --git a/debian/changelog b/debian/changelog
index 3ac40687f..482e2d3a3 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -9,6 +9,8 @@ dpkg (1.17.1) UNRELEASED; urgency=low
* Reword libdpkg-perl description and only list public modules.
* Remove space before value in dpkg-parsechangelog -S option on pkg-info.mk.
Closes: #718014
+ * Make the build system install start-stop-daemon directly under /sbin,
+ instead of moving it around in debian/rules.
-- Guillem Jover <guillem@debian.org> Sat, 27 Jul 2013 05:32:21 +0200
diff --git a/debian/dpkg.install b/debian/dpkg.install
index 1150616c4..9f688cb10 100644
--- a/debian/dpkg.install
+++ b/debian/dpkg.install
@@ -2,6 +2,7 @@
etc/dpkg/dpkg.cfg.d
etc/alternatives
+sbin/start-stop-daemon
usr/bin/dpkg
usr/bin/dpkg-deb
usr/bin/dpkg-divert
@@ -11,7 +12,6 @@ usr/bin/dpkg-split
usr/bin/dpkg-statoverride
usr/bin/dpkg-trigger
usr/bin/update-alternatives
-usr/sbin
usr/share/dpkg/*table
usr/share/locale/*/LC_MESSAGES/dpkg.mo
var/lib/dpkg/alternatives
diff --git a/debian/rules b/debian/rules
index 2327216b8..9489874b7 100755
--- a/debian/rules
+++ b/debian/rules
@@ -49,6 +49,7 @@ build-tree/config.status: configure
--mandir=\$${datadir}/man \
--infodir=\$${datadir}/info \
--sysconfdir=/etc \
+ --sbindir=/sbin \
--localstatedir=/var \
--with-zlib \
--with-liblzma \
@@ -98,11 +99,6 @@ binary-arch: install
dh_install --sourcedir=debian/tmp -a
dh_installcron -a
dh_installlogrotate -a
-
- install -d debian/dpkg/sbin
- mv debian/dpkg/usr/sbin/start-stop-daemon debian/dpkg/sbin
- rmdir --ignore-fail-on-non-empty debian/dpkg/usr/sbin
-
dh_installchangelogs -a ChangeLog*
dh_installdocs -a
$(call dpkg-installmanl10n,dpkg)