Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 Jul 2000 17:49:57 -0500 (CDT)
From:      Tim Zingelman <zingelman@fnal.gov>
To:        John Baldwin <jhb@pike.osd.bsdi.com>
Cc:        Kris Kennaway <kris@FreeBSD.ORG>, stable@FreeBSD.ORG
Subject:   Re: sysinstall resetting USA_RESIDENT=NO
Message-ID:  <Pine.GSO.4.21.0007231742520.28714-200000@nova.fnal.gov>
In-Reply-To: <200007232232.PAA25039@pike.osd.bsdi.com>

next in thread | previous in thread | raw e-mail | index | archive | help
  This message is in MIME format.  The first part should be readable text,
  while the remaining parts are likely unreadable without MIME-aware tools.
  Send mail to mime@docserver.cac.washington.edu for more info.

---559023410-1804928587-964392597=:28714
Content-Type: TEXT/PLAIN; charset=US-ASCII

On Sun, 23 Jul 2000, John Baldwin wrote:
> No, he's right.  sysinstall is definitely broken in this respect, and
> I'm definitely interested in your patches to fix it. :)

The patches are attached...

In either the case that no make.conf exists, or one exists without a
USA_RESIDENT line in it, the line is added, regardless of if I have
confirmed that the default NO is correct or not.

In the case that make.conf has a USA_RESIDENT line, I only overwrite that
line if the user has answered the question 'are you really a us resident'.

Let me know if you have any questions.  Thanks.

  - Tim

---559023410-1804928587-964392597=:28714
Content-Type: TEXT/PLAIN; charset=US-ASCII; name="temp.difs"
Content-Transfer-Encoding: BASE64
Content-ID: <Pine.GSO.4.21.0007231749570.28714@nova.fnal.gov>
Content-Description: 
Content-Disposition: attachment; filename="temp.difs"

SW5kZXg6IGNvbmZpZy5jDQo9PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09DQpSQ1Mg
ZmlsZTogL3Vzci9DVlMvc3JjL3JlbGVhc2Uvc3lzaW5zdGFsbC9jb25maWcu
Yyx2DQpyZXRyaWV2aW5nIHJldmlzaW9uIDEuMTU2LjIuMw0KZGlmZiAtYyAt
cjEuMTU2LjIuMyBjb25maWcuYw0KKioqIGNvbmZpZy5jCT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NiBz
eXNpbnN0YWxsLmgNCioqKiBzeXNpbnN0YWxsLmgJMjAwMC8wNy8yMSAyMDo0
Mzo0OAkxLjE4Ni4yLjYNCi0tLSBzeXNpbnN0YWxsLmgJMjAwMC8wNy8yMyAw
NjoyNDo0Ng0KKioqKioqKioqKioqKioqDQoqKiogMzQ3LDM1MiAqKioqDQot
LS0gMzQ3LDM1MyAtLS0tDQogIGV4dGVybiBCb29sZWFuCQlDb2xvckRpc3Bs
YXk7CQkvKiBBcmUgd2Ugb24gYSBjb2xvciBkaXNwbGF5PwkJCSovDQogIGV4
dGVybiBCb29sZWFuCQlPblZUWTsJCQkvKiBPbiBhIHN5c2NvbnMgVlRZPwkJ
CQkqLw0KICBCb29sZWFuCQkJVVNBUmVzaWRlbnQ7CQkvKiBBcmUgd2UgY3J5
cHRvZ3JhcGhpY2FsbHkgY2hhbGxlbmdlZD8JCSovDQorIEJvb2xlYW4JCQlV
U0FSZXNWYWxpZDsJCS8qIEhhdmUgd2UgYXNrZWQgeWV0PyAqLw0KICBleHRl
cm4gVmFyaWFibGUJCSpWYXJIZWFkOwkJLyogVGhlIGhlYWQgb2YgdGhlIHZh
cmlhYmxlIGNoYWluCQkqLw0KICBleHRlcm4gRGV2aWNlCQkqbWVkaWFEZXZp
Y2U7CQkvKiBXaGVyZSB3ZSdyZSBnZXR0aW5nIG91ciBkaXN0cmlidXRpb24g
ZnJvbQkqLw0KICBleHRlcm4gdW5zaWduZWQgaW50CURpc3RzOwkJCS8qIFdo
aWNoIGRpc3RyaWJ1dGlvbnMgd2Ugd2FudAkJCSovDQo=
---559023410-1804928587-964392597=:28714--


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.GSO.4.21.0007231742520.28714-200000>