Subject: Re: CVS commit: basesrc/etc
To: Luke Mewburn <lukem@wasabisystems.com>
From: Ben Harris <bjh21@netbsd.org>
List: source-changes
Date: 04/29/2002 10:51:37
On Mon, 29 Apr 2002, Luke Mewburn wrote:

> On Mon, Apr 29, 2002 at 01:17:44AM +0300, Ben Harris wrote:
>   |
>   | Module Name:	basesrc
>   | Committed By:	bjh21
>   | Date:		Sun Apr 28 22:17:44 UTC 2002
>   |
>   | Modified Files:
>   | 	basesrc/etc: postinstall
>   |
>   | Log Message:
>   | This script is run on the host for cross builds, so it can't use mktemp -d.
>   | Use a tidied-up version of my shell fragment from maketars instead.
>
> any reason not to create a cross mktemp?  it strikes me that it's
> useful enough for various scripts to use it, rather than using the
> workaround that you've implemented.

My main reason is that, unlike most of our existing host tools, it's not
intrinsically required to build NetBSD.  It's just something our scripts
happen to use and making the scripts portable is a relatively small
effort.

I put in the hooks necessary for a cross mktemp a few weeks ago, but took
them out for that reason.  If you think it's worthwhile, feel free to put
them back.

-- 
Ben Harris                                                   <bjh21@netbsd.org>
Portmaster, NetBSD/acorn26           <URL:http://www.netbsd.org/Ports/acorn26/>