[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
r764 - in /crosshurd/trunk: debian/changelog native-install/native-insta
From: |
mbanck |
Subject: |
r764 - in /crosshurd/trunk: debian/changelog native-install/native-install |
Date: |
Tue, 28 Sep 2010 21:44:44 -0000 |
Author: mbanck
Date: Tue Sep 28 21:44:42 2010
New Revision: 764
URL: http://svn.debian.org/wsvn/pkg-hurd/crosshurd/?sc=1&rev=764
Log:
* native-install/native-install: Use bash's $OSTYPE variable to discern the
system type. This makes the file-system read-only test more robust as
a working "system" command and pipes are not needed (Closes: #557422).
Modified:
crosshurd/trunk/debian/changelog
crosshurd/trunk/native-install/native-install
Modified: crosshurd/trunk/debian/changelog
URL:
http://svn.debian.org/wsvn/pkg-hurd/crosshurd/crosshurd/trunk/debian/changelog?rev=764&op=diff
==============================================================================
--- crosshurd/trunk/debian/changelog (original)
+++ crosshurd/trunk/debian/changelog Tue Sep 28 21:44:42 2010
@@ -1,6 +1,8 @@
crosshurd (1.7.40) UNRELEASED; urgency=low
- *
+ * native-install/native-install: Use bash's $OSTYPE variable to discern the
+ system type. This makes the file-system read-only test more robust as
+ a working "system" command and pipes are not needed (Closes: #557422).
-- Michael Banck <address@hidden> Tue, 13 Jul 2010 18:46:28 +0200
Modified: crosshurd/trunk/native-install/native-install
URL:
http://svn.debian.org/wsvn/pkg-hurd/crosshurd/crosshurd/trunk/native-install/native-install?rev=764&op=diff
==============================================================================
--- crosshurd/trunk/native-install/native-install (original)
+++ crosshurd/trunk/native-install/native-install Tue Sep 28 21:44:42 2010
@@ -10,6 +10,17 @@
export \
PATH="/usr/sbin:/sbin:/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games"
+# Make sure the filesystem is writeable
+echo Checking if your filesystem is really writeable..
+case $OSTYPE in
+ "") echo failed to identify system ; exit 1 ;;
+ gnu) if which fsysopts >/dev/null ; then fsysopts / --writable ; fi
;;
+ linux-gnu) if which mount >/dev/null ; then mount -o rw,remount / ; fi ;;
+ *) if which mount >/dev/null ; then mount -o rw / ; fi ;;
+esac
+
+set -e
+
# This must come before evaluating `uname -s` because, on GNU,
# without the pflocal server set as a translator on
# /servers/socket/1, pipes cannot be created.
@@ -18,17 +29,6 @@
fi
system=`uname -s`
-
-# Make sure the filesystem is writeable
-echo Checking if your filesystem is really writeable..
-case "${system}" in
- "") echo failed to identify system ; exit 1 ;;
- GNU) if which fsysopts >/dev/null ; then fsysopts / --writable ; fi
;;
- Linux) if which mount >/dev/null ; then mount -o rw,remount / ; fi ;;
- *) if which mount >/dev/null ; then mount -o rw / ; fi ;;
-esac
-
-set -e
parent_term="$TERM"
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- r764 - in /crosshurd/trunk: debian/changelog native-install/native-install,
mbanck <=