Subject: RFC: Amiga install.md patch (Was: Re: problem with XSTREAMTODEV !!!)
To: None <port-amiga@netbsd.org>
From: Ignatios Souvatzis <is@netbsd.org>
List: port-amiga
Date: 11/20/2002 23:07:38
--BwCQnh7xodEAoBMC
Content-Type: multipart/mixed; boundary="LQksG6bCIzRHxTLp"
Content-Disposition: inline


--LQksG6bCIzRHxTLp
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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/

--LQksG6bCIzRHxTLp
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="install.md.patch"
Content-Transfer-Encoding: quoted-printable

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

--LQksG6bCIzRHxTLp--

--BwCQnh7xodEAoBMC
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

iD8DBQE93AeqPCRcZ/VMtk4RAsGiAJ4ggU36hEYisUKnvRsoriCaSJXkMgCePzsm
37U4z2ldWtF0A4uqPjdgJoU=
=7bKv
-----END PGP SIGNATURE-----

--BwCQnh7xodEAoBMC--