Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Jun 2016 14:52:47 -0700
From:      Bryan Drewery <bdrewery@FreeBSD.org>
To:        Ngie Cooper <yaneurabeya@gmail.com>, Mark Millard <markmi@dsl-only.net>
Cc:        FreeBSD Current <freebsd-current@freebsd.org>
Subject:   Re: WITH_META_MODE vs. delete-old and delete-old-libs
Message-ID:  <db8c6f66-2f73-d2a1-be6e-0d99ebbdf3c2@FreeBSD.org>
In-Reply-To: <CAGHfRMBbBnCOeWK4g-bqxJqzMaKE4Fs3TdL08E%2BfWxXGLLAEWQ@mail.gmail.com>
References:  <31063879-DF43-4895-A9EA-99A70DCFE4A1@dsl-only.net> <CAGHfRMBbBnCOeWK4g-bqxJqzMaKE4Fs3TdL08E%2BfWxXGLLAEWQ@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--iNBJ9NgHVBpfhAVc5c4v5uhjIdIoe5KF6
Content-Type: multipart/mixed; boundary="Lk9KPQRmCOp5FAt8ua8Gn4gkmVT7X7Lt8"
From: Bryan Drewery <bdrewery@FreeBSD.org>
To: Ngie Cooper <yaneurabeya@gmail.com>, Mark Millard <markmi@dsl-only.net>
Cc: FreeBSD Current <freebsd-current@freebsd.org>
Message-ID: <db8c6f66-2f73-d2a1-be6e-0d99ebbdf3c2@FreeBSD.org>
Subject: Re: WITH_META_MODE vs. delete-old and delete-old-libs
References: <31063879-DF43-4895-A9EA-99A70DCFE4A1@dsl-only.net>
 <CAGHfRMBbBnCOeWK4g-bqxJqzMaKE4Fs3TdL08E+fWxXGLLAEWQ@mail.gmail.com>
In-Reply-To: <CAGHfRMBbBnCOeWK4g-bqxJqzMaKE4Fs3TdL08E+fWxXGLLAEWQ@mail.gmail.com>

--Lk9KPQRmCOp5FAt8ua8Gn4gkmVT7X7Lt8
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable

On 6/13/2016 2:51 PM, Ngie Cooper wrote:
> On Mon, Jun 13, 2016 at 2:12 PM, Mark Millard <markmi@dsl-only.net> wro=
te:
>> I've been using the following script to run my make commands for amd64=
 builds (as an example):
>>
>>> # more ~/sys_build_scripts.amd64-host/make_amd64_nodebug_clang_bootst=
rap-amd64-host.sh
>>> kldload -n filemon && \
>>> script ~/sys_typescripts/typescript_make_amd64_nodebug_clang_bootstra=
p-amd64-host-$(date +%Y-%m-%d:%H:%M:%S) \
>>> env __MAKE_CONF=3D"/root/src.configs/make.conf" SRC_ENV_CONF=3D"/root=
/src.configs/src.conf.amd64-clang-bootstrap.amd64-host" \
>>> WITH_META_MODE=3Dyes \
>>> MAKEOBJDIRPREFIX=3D"/usr/obj/clang/amd64.amd64" \
>>> make $*
>>
>> When the WITH_META_MODE=3Dyes is present (as shown) delete-old and del=
ete-old-libs command line arguments to the script do not display the prom=
pts but the process does wait for the y/n answers. I've actually used top=
 in another window to see what it is waiting for an answer to. After I've=
 answered all the questions then the list of prompts finally is shown all=
 at once.
>>
>> Without WITH_META_MODE=3D each prompt text is displayed before it wait=
s for the answer to that prompt.
>>
>>
>> This sort of fits in with my earlier questions about make usage that i=
s in the likes of, say, mergemaster and if/where care about WITH_META_MOD=
E=3Dyes use vs. disuse might be important for such. For example: Should "=
env WITH_META_MODE=3Dyes" be used with mergemaster if it was used with bu=
ildworld, buildkernel, installkernel, and installworld?
>=20
> I generally do:
>=20
> yes | sudo make delete-old
>=20

The problem is that the y/n prompt don't show at all.


--=20
Regards,
Bryan Drewery


--Lk9KPQRmCOp5FAt8ua8Gn4gkmVT7X7Lt8--

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

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQEcBAEBAgAGBQJXXysvAAoJEDXXcbtuRpfPoXAH/iDssDXHLweueioPo3V1O6yb
Ikk5abKAHu9Is4sR7YmOIDWSozZP8swvnpK/WW9c39PZPgIECHUGp5EAuRUbFLeR
ZWJw5enhV1PNagrh5v9lFndJBYPbMH4+bmuDvNB1HGwhOCO67+VYXlWn5wZbFx1E
8sJDHCwAAf7ZB1nikTXAN71mj0giYVLgIpi0Ud1FPvXA3d3lAHnbUbYU38Ok6B4G
RtaellCR4Wy/dnMiiX1LoRSevvxoR2EWos2wxJWL1TW7rn58YKBtxAeeHSp8hjfd
0SKD9O7ZsaeItc6+XtWF2a1GgNIDHNlLfHzX0xqSaDopbNCY+gPLF7lAswOm25A=
=v1Y2
-----END PGP SIGNATURE-----

--iNBJ9NgHVBpfhAVc5c4v5uhjIdIoe5KF6--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?db8c6f66-2f73-d2a1-be6e-0d99ebbdf3c2>