[debian-edu-commits] debian-edu/ 01/01: Drop pre-depends on initscript and use /bin/hostname in share/debian-edu-config/d-i/pre-pkgsel instead. Thanks to Michael Biebl for the bug report and patch! (Closes: #866587)
Holger Levsen
holger at layer-acht.org
Sat Aug 5 21:40:59 UTC 2017
This is an automated email from the git hooks/post-receive script.
holger pushed a commit to branch master
in repository debian-edu-config.
commit b31be957e0fbe12ec3bbd790028346bf34155659
Author: Holger Levsen <holger at layer-acht.org>
Date: Sat Aug 5 17:39:07 2017 -0400
Drop pre-depends on initscript and use /bin/hostname in share/debian-edu-config/d-i/pre-pkgsel instead. Thanks to Michael Biebl for the bug report and patch! (Closes: #866587)
Signed-off-by: Holger Levsen <holger at layer-acht.org>
---
debian/changelog | 8 ++++++++
debian/control | 1 -
share/debian-edu-config/d-i/pre-pkgsel | 2 +-
3 files changed, 9 insertions(+), 2 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index 2d28e7f..956a7cd 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+debian-edu-config (1.931) UNRELEASED; urgency=medium
+
+ * Drop pre-depends on initscript and use /bin/hostname in
+ share/debian-edu-config/d-i/pre-pkgsel instead. Thanks to Michael Biebl
+ for the bug report and patch! (Closes: #866587)
+
+ -- Holger Levsen <holger at debian.org> Sat, 05 Aug 2017 17:37:04 -0400
+
debian-edu-config (1.930) unstable; urgency=medium
[ Wolfgang Schweer ]
diff --git a/debian/control b/debian/control
index c5b850d..2bc8c41 100644
--- a/debian/control
+++ b/debian/control
@@ -16,7 +16,6 @@ Vcs-Git: git://anonscm.debian.org/debian-edu/debian-edu-config.git
Package: debian-edu-config
Architecture: all
-Pre-Depends: ${misc:Pre-Depends}, initscripts
Depends: ${misc:Depends},
lsb-base (>= 3.0-6),
cfengine2,
diff --git a/share/debian-edu-config/d-i/pre-pkgsel b/share/debian-edu-config/d-i/pre-pkgsel
index fac2ead..b17aa1b 100644
--- a/share/debian-edu-config/d-i/pre-pkgsel
+++ b/share/debian-edu-config/d-i/pre-pkgsel
@@ -179,7 +179,7 @@ EOF
if [ ! -z "$HOSTNAME" ] ; then
echo "$HOSTNAME" > /target/etc/hostname
- in-target /etc/init.d/hostname.sh start
+ in-target /bin/hostname "$HOSTNAME"
fi
# Update hostname based on reverse DNS entry of current IP or
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-edu/debian-edu-config.git
More information about the debian-edu-commits
mailing list