Subject: RFC: Amiga install.md patch (Was: Re: problem with XSTREAMTODEV !!!)
To: None <tech-install@netbsd.org>
From: Ignatios Souvatzis <is@netbsd.org>
List: tech-install
Date: 11/20/2002 23:25:11
--ZwgA9U+XZDXt4+m+
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
Hi,
would anybody please review this patch?
----- Forwarded message from Ignatios Souvatzis <is@netbsd.org> -----
Date: Wed, 20 Nov 2002 23:07:38 +0100
From: Ignatios Souvatzis <is@netbsd.org>
To: port-amiga@netbsd.org
Subject: 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
--=20
seal your e-mail: http://www.gnupg.org/
Index: install.md
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
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 @@
=20
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
}
=20
----- End forwarded message -----
--=20
seal your e-mail: http://www.gnupg.org/
--ZwgA9U+XZDXt4+m+
Content-Type: application/pgp-signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (NetBSD)
Comment: For info see http://www.gnupg.org
iD8DBQE93AvHPCRcZ/VMtk4RAvHWAJ9IiZMyuVBSj/xcOnJDwTGb0K2pMwCgi2e/
WcJbzPGS2vJ779NDwl4zPG0=
=ufHD
-----END PGP SIGNATURE-----
--ZwgA9U+XZDXt4+m+--