[Pkg-sysvinit-commits] r998 - in sysvinit/trunk/debian: .
initscripts
Petter Reinholdtsen
pere at costa.debian.org
Sun Oct 1 12:04:54 UTC 2006
Author: pere
Date: 2006-10-01 12:04:54 +0000 (Sun, 01 Oct 2006)
New Revision: 998
Modified:
sysvinit/trunk/debian/changelog
sysvinit/trunk/debian/initscripts/postinst
Log:
* Avoid mounting /lib/init/rw/ during installation and upgrades if
the kernel do not support tmpfs. (Closes: #390339)
Modified: sysvinit/trunk/debian/changelog
===================================================================
--- sysvinit/trunk/debian/changelog 2006-09-30 16:44:50 UTC (rev 997)
+++ sysvinit/trunk/debian/changelog 2006-10-01 12:04:54 UTC (rev 998)
@@ -1,3 +1,10 @@
+sysvinit (2.86.ds1-30~1) unstable; urgency=low
+
+ * Avoid mounting /lib/init/rw/ during installation and upgrades if
+ the kernel do not support tmpfs. (Closes: #390339)
+
+ -- Petter Reinholdtsen <pere at debian.org> Sun, 1 Oct 2006 14:03:41 +0200
+
sysvinit (2.86.ds1-29) unstable; urgency=low
* Ignore problems with creating /var/run and /var/lock during
Modified: sysvinit/trunk/debian/initscripts/postinst
===================================================================
--- sysvinit/trunk/debian/initscripts/postinst 2006-09-30 16:44:50 UTC (rev 997)
+++ sysvinit/trunk/debian/initscripts/postinst 2006-10-01 12:04:54 UTC (rev 998)
@@ -187,9 +187,11 @@
#
# Make sure packages needing a writable tmpfs available can depend on
-# initscripts version 2.86.ds1-27 or newer to get it.
+# initscripts version 2.86.ds1-27 or newer to get it. Skip it if the
+# system do not support tmpfs
#
if dpkg --compare-versions "$PREV_VER" lt "2.86.ds1-27" \
+ && grep -E -qs "tmpfs\$" /proc/filesystems \
&& [ ! -f /lib/init/rw/.ramfs ] && ! chrooted ; then
[ -f /etc/default/tmpfs ] && . /etc/default/tmpfs
More information about the Pkg-sysvinit-commits
mailing list