Subject: Re: using etcupdate to update a destdir, instead of "/"
To: thilo <jeremias@optushome.com.au>
From: Jeff Rizzo <riz@NetBSD.org>
List: current-users
Date: 12/12/2005 12:49:05
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enigE8581B4DFB7CC4FF91860812
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

thilo wrote:

>         [ "x${i}" = "x${TEMPROOT}" ] && continue
> -        [ ! -d "${D}" ] && install_dir "${D}"
> +        [ ! -d "${NEWROOT}${D}" ] && install_dir "${D}"
>
>
> Didn't you miss the NEWROOT as the arg for install_dir?
>
> thilo
>
>

Actually, no.  I thought about this while I was implementing, and the
best way I saw to work around the fact that these files and directories
ARE, in normal use, rooted at / , was to have the invidual functions
handle the ${NEWROOT} bits themselves.

+j


--------------enigE8581B4DFB7CC4FF91860812
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (Darwin)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iQCVAwUBQ53iQrOuUtxCgar5AQPIBQP/a1ZjxON3IbbuzQv82qAg/RaMCUHXolzz
deZiGn3wFzZRjwsK32c3JtMEVc8KNbcf66chWnDLQsHDmes2d3NzSgJTFntOmOvw
7lJFubRPLf2ZogdEW/CHwc2xT5zXRdtJICNY2MWAWXunrWC7pCADpJ+tPre4BAns
BprzL6s25Ws=
=Lp8k
-----END PGP SIGNATURE-----

--------------enigE8581B4DFB7CC4FF91860812--