[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 8/8] sysvinit: Fix getty path in /etc/inittab on Hurd.
From: |
Justus Winter |
Subject: |
[PATCH 8/8] sysvinit: Fix getty path in /etc/inittab on Hurd. |
Date: |
Tue, 9 Jul 2013 10:46:51 +0200 |
This is essentially the same as
89f6476d8979174f395a1bf784486254464c349d but fixes the existing
/etc/inittab file in the postinstall script.
---
debian/changelog | 1 +
debian/sysvinit.postinst | 4 ++++
2 files changed, 5 insertions(+)
diff --git a/debian/changelog b/debian/changelog
index 108c41a..dfc4603 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -67,6 +67,7 @@ sysvinit (2.88dsf-42) UNRELEASED; urgency=low
http://lists.gnu.org/archive/html/bug-hurd/2006-02/msg00081.html
is addressed.
* killprocs: Likewise.
+ * sysvinit.postinst: Fix getty path in /etc/inittab on Hurd.
-- Roger Leigh <rleigh@debian.org> Sat, 04 May 2013 13:13:51 +0100
diff --git a/debian/sysvinit.postinst b/debian/sysvinit.postinst
index 1750412..061f53b 100755
--- a/debian/sysvinit.postinst
+++ b/debian/sysvinit.postinst
@@ -85,6 +85,10 @@ then
cp -p /usr/share/sysvinit/inittab /etc/inittab
fi
+if [ "$(uname)" = GNU ]; then
+ sed -i -e 's|/libexec/getty|/sbin/getty|' /etc/inittab
+fi
+
restart=yes
chroot=0
--
1.7.10.4
- [PATCH 1/8] initscripts: hurd has a proper tmpfs now, remove workaround, (continued)
- [PATCH 1/8] initscripts: hurd has a proper tmpfs now, remove workaround, Justus Winter, 2013/07/09
- [PATCH 3/8] initscripts: use pidof -s /sbin/init for robustness, Justus Winter, 2013/07/09
- [PATCH 7/8] sendsigs, killprocs: Disable on Hurd. killall5 kills essential processes., Justus Winter, 2013/07/09
- [PATCH 4/8] initscripts: add runsystem.sysv, Justus Winter, 2013/07/09
- [PATCH 5/8] initscripts: Disable rootcheck on Hurd, Justus Winter, 2013/07/09
- [PATCH 6/8] killall5.c: Use sysconf(_SC_SYMLOOP_MAX) instead of MAXSYMLINKS., Justus Winter, 2013/07/09
- [PATCH 8/8] sysvinit: Fix getty path in /etc/inittab on Hurd.,
Justus Winter <=
- Re: [PATCH 8/8] sysvinit: Fix getty path in /etc/inittab on Hurd., Pino Toscano, 2013/07/22
Re: patches for sysvinit, debian repository for testing, Samuel Thibault, 2013/07/15