From a89770e807afb4d40196327581be661ffd6e21ba Mon Sep 17 00:00:00 2001 From: Dan Munckton Date: Wed, 24 Sep 2008 14:11:58 +0100 Subject: [PATCH] Prevent postinst configuration failure on PS3/Cell if spufs filesystem isn't available (Closes LP #261490) --- debian/initscripts/postinst | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/debian/initscripts/postinst b/debian/initscripts/postinst index 5577c00..ee7f3c8 100644 --- a/debian/initscripts/postinst +++ b/debian/initscripts/postinst @@ -221,7 +221,9 @@ if mountpoint -q /proc && grep -qs '^cpu.*Cell' /proc/cpuinfo; then fi mkdir -p /spu if ! mountpoint -q /spu; then - mount -t spufs -ogid=spu spufs /spu + # No need to fail configuration if this isn't possible. Mount + # will still display an error. See LP #261490 and #251593. + mount -t spufs -ogid=spu spufs /spu || true fi fi -- 1.5.4.3