[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

r3804 - in glibc-package/trunk/debian: . debhelper.in



Author: aurel32
Date: 2009-09-07 18:35:20 +0000 (Mon, 07 Sep 2009)
New Revision: 3804

Modified:
   glibc-package/trunk/debian/changelog
   glibc-package/trunk/debian/debhelper.in/libc.postinst
Log:
  * libc.postinst: re-add "telinit u", removed by accident in version
    2.9-24. Closes: bug#545179.



Modified: glibc-package/trunk/debian/changelog
===================================================================
--- glibc-package/trunk/debian/changelog	2009-09-07 14:22:11 UTC (rev 3803)
+++ glibc-package/trunk/debian/changelog	2009-09-07 18:35:20 UTC (rev 3804)
@@ -5,6 +5,8 @@
     bug#544389.
   * Strip *.o files manually (dh_strip does not do it) to prevent
     leakage of the build directory.
+  * libc.postinst: re-add "telinit u", removed by accident in version
+    2.9-24. Closes: bug#545179.
 
   [ Samuel Thibault ]
   * debian/debhelper.in/libc.install: Install libc/*-gnu*/ instead of
@@ -13,7 +15,7 @@
   [ Petr Salinger ]
   * kfreebsd/local-sysdeps.diff: update to revision 2779 (from glibc-bsd).
 
- -- Aurelien Jarno <aurel32@debian.org>  Mon, 31 Aug 2009 22:15:07 +0200
+ -- Aurelien Jarno <aurel32@debian.org>  Mon, 07 Sep 2009 20:32:03 +0200
 
 eglibc (2.9-26) unstable; urgency=low
 

Modified: glibc-package/trunk/debian/debhelper.in/libc.postinst
===================================================================
--- glibc-package/trunk/debian/debhelper.in/libc.postinst	2009-09-07 14:22:11 UTC (rev 3803)
+++ glibc-package/trunk/debian/debhelper.in/libc.postinst	2009-09-07 18:35:20 UTC (rev 3804)
@@ -204,6 +204,12 @@
 
     # Generate cache file /usr/lib/gconv/gconv-modules.cache
     iconvconfig || true
+
+    if [ "$(stat -c %d/%i /)" = "$(stat -Lc %d/%i /proc/1/root 2>/dev/null)" ]; then
+      # the devicenumber/inode pair of / is the same as that of /sbin/init's
+      # root, so we're *not* in a chroot
+      (telinit u ; sleep 1)
+    fi
 fi
 
 #DEBHELPER#


Reply to: