Date: Mon, 13 Jun 2016 14:51:20 -0700 From: Ngie Cooper <yaneurabeya@gmail.com> To: Mark Millard <markmi@dsl-only.net> Cc: Bryan Drewery <bdrewery@freebsd.org>, FreeBSD Current <freebsd-current@freebsd.org> Subject: Re: WITH_META_MODE vs. delete-old and delete-old-libs Message-ID: <CAGHfRMBbBnCOeWK4g-bqxJqzMaKE4Fs3TdL08E%2BfWxXGLLAEWQ@mail.gmail.com> In-Reply-To: <31063879-DF43-4895-A9EA-99A70DCFE4A1@dsl-only.net> References: <31063879-DF43-4895-A9EA-99A70DCFE4A1@dsl-only.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Jun 13, 2016 at 2:12 PM, Mark Millard <markmi@dsl-only.net> wrote: > I've been using the following script to run my make commands for amd64 bu= ilds (as an example): > >> # more ~/sys_build_scripts.amd64-host/make_amd64_nodebug_clang_bootstrap= -amd64-host.sh >> kldload -n filemon && \ >> script ~/sys_typescripts/typescript_make_amd64_nodebug_clang_bootstrap-a= md64-host-$(date +%Y-%m-%d:%H:%M:%S) \ >> env __MAKE_CONF=3D"/root/src.configs/make.conf" SRC_ENV_CONF=3D"/root/sr= c.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 delete= -old-libs command line arguments to the script do not display the prompts b= ut the process does wait for the y/n answers. I've actually used top in ano= ther 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 waits f= or the answer to that prompt. > > > This sort of fits in with my earlier questions about make usage that is i= n the likes of, say, mergemaster and if/where care about WITH_META_MODE=3Dy= es use vs. disuse might be important for such. For example: Should "env WIT= H_META_MODE=3Dyes" be used with mergemaster if it was used with buildworld,= buildkernel, installkernel, and installworld? I generally do: yes | sudo make delete-old Cheers, -Ngie
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAGHfRMBbBnCOeWK4g-bqxJqzMaKE4Fs3TdL08E%2BfWxXGLLAEWQ>