Port-amiga archive

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

RFC: Amiga install.md patch (Was: Re: problem with XSTREAMTODEV !!!)



Hi,

On Wed, Nov 20, 2002 at 06:38:11PM +0100, Gunther Nikl wrote:

>   You are right, its mentioned as a "caveat". However, I think this is
>   a little bit of an overkill. The install script could be a bit smarter
>   without any great effort, I suppose (I am not volunteering ;-)

Actually, you're right. Read the appended patch and tell me if it does
the right thing also to your eyes; if you're convinced that it does, test
it please.

[works fine for me, but want to make sure]

Regards,
        -is
-- 
seal your e-mail: http://www.gnupg.org/
Index: install.md
===================================================================
RCS file: /cvsroot/basesrc/distrib/amiga/miniroot/install.md,v
retrieving revision 1.19
diff -u -r1.19 install.md
--- install.md  2002/07/23 03:52:02     1.19
+++ install.md  2002/11/20 22:04:21
@@ -65,11 +65,10 @@
 
 md_makerootwritable() {
        # Mount root rw for convenience of the tester ;-)
-       if [ ! -e /tmp/.root_writable ]; then
+       if cp /dev/null /tmp/.root_writable >/dev/null 2>&1; then : ; else
                __mount_kernfs
                # XXX: Use /kern/rootdev instead?
                mount -t ffs -u /kern/rootdev / > /dev/null 2>&1
-               cp /dev/null /tmp/.root_writable
        fi
 }
 

Attachment: pgpsQS82gbBjv.pgp
Description: PGP signature



Home | Main Index | Thread Index | Old Index