Author: aurel32 Date: 2009-10-02 08:27:19 +0000 (Fri, 02 Oct 2009) New Revision: 3863
Modified: glibc-package/trunk/debian/changelog glibc-package/trunk/debian/debhelper.in/libc.postinst Log: * libc.postinst: only call telinit on Linux as originally. Modified: glibc-package/trunk/debian/changelog =================================================================== --- glibc-package/trunk/debian/changelog 2009-09-30 22:55:05 UTC (rev 3862) +++ glibc-package/trunk/debian/changelog 2009-10-02 08:27:19 UTC (rev 3863) @@ -1,3 +1,9 @@ +eglibc (2.9-28) UNRELEASED; urgency=low + + * libc.postinst: only call telinit on Linux as originally. + + -- Aurelien Jarno <aure...@debian.org> Fri, 02 Oct 2009 10:26:35 +0200 + eglibc (2.9-27) unstable; urgency=low [ Aurelien Jarno ] Modified: glibc-package/trunk/debian/debhelper.in/libc.postinst =================================================================== --- glibc-package/trunk/debian/debhelper.in/libc.postinst 2009-09-30 22:55:05 UTC (rev 3862) +++ glibc-package/trunk/debian/debhelper.in/libc.postinst 2009-10-02 08:27:19 UTC (rev 3863) @@ -205,10 +205,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) + if [ "`uname -s`" = Linux ]; then + 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 fi -- To UNSUBSCRIBE, email to debian-glibc-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org