From owner-freebsd-current@freebsd.org Mon Jun 13 21:51:22 2016 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A021BAF25AB for ; Mon, 13 Jun 2016 21:51:22 +0000 (UTC) (envelope-from yaneurabeya@gmail.com) Received: from mail-qk0-x22c.google.com (mail-qk0-x22c.google.com [IPv6:2607:f8b0:400d:c09::22c]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4FE9A2834; Mon, 13 Jun 2016 21:51:22 +0000 (UTC) (envelope-from yaneurabeya@gmail.com) Received: by mail-qk0-x22c.google.com with SMTP id p10so46837058qke.3; Mon, 13 Jun 2016 14:51:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=lZOZpkRE5TTDut4RZWKuuGukmZxbs1TpjWYfOlpkEFE=; b=nG+zL8aJAcUEYun0qP5LP/4M/Fg6JX8EiYytSB++3//GsHrFmVBVeidEp02en0YImo te8IBmqnjwPLW4dKwsx0VQLlFuo8whn3oNUk0eNsRnkiRwIDmG1KcLGgY05N3ycoNtZq s5OjiiDP2wFt4RVbImxfo+Da9YKbO75JZZDFJmsA0uPqMfTpcBrYo9ywsAbnAj7SVKN6 PE56T5pUKHC7ez+G4ehpZvXVUCCg5awkfQZDcc5pzB9dlL1l6+ISTdSKMH5ycQXQVNTz KTRf5e4c2D5KA18X6IHNV/T3X47OPR2Yt7zJ1SkJXGd3ohWW/xiYLc2iJv3mzmJ0P64X yJZw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=lZOZpkRE5TTDut4RZWKuuGukmZxbs1TpjWYfOlpkEFE=; b=bCW4FbvPNKamyj4l9l+3kJ6G7UX5iwHc4wxbqeecJ1pOiGBu1IDcbG0amPBRtDpqvN ghqrZuZusZo+TdJSPJmgJ+nJ24RQWZV/3eDesfZ4vUbxQ9R4VkcY0tJawe2ze1GM0zxW zUDAh+4VB5B80j0K+9r5lcCUGyKpZpsTtBRjPkgYZBeINes0FZEmL4I03eUKRNpIzwSq bY+n5ltwJbS/BjJaJC8JnwUk/voWwakhm7UtbjybX2xN14N16Fy6KWSq/DJIni2Z9P+1 Bf3/4VB8NI04LdUovqQitJNiP2l7JhIvVueZ/SksUQJBuKj9drUI9baETINA+sAEr7/I w9lA== X-Gm-Message-State: ALyK8tKmClsBOGZcJHmPSv/tURKT8XoJqfr1SYkohQAGS1/py4DbcN1x07AjRARU53xPhqEPmOIkAxePO3bw2A== X-Received: by 10.55.73.212 with SMTP id w203mr17225712qka.77.1465854681446; Mon, 13 Jun 2016 14:51:21 -0700 (PDT) MIME-Version: 1.0 Received: by 10.55.148.131 with HTTP; Mon, 13 Jun 2016 14:51:20 -0700 (PDT) In-Reply-To: <31063879-DF43-4895-A9EA-99A70DCFE4A1@dsl-only.net> References: <31063879-DF43-4895-A9EA-99A70DCFE4A1@dsl-only.net> From: Ngie Cooper Date: Mon, 13 Jun 2016 14:51:20 -0700 Message-ID: Subject: Re: WITH_META_MODE vs. delete-old and delete-old-libs To: Mark Millard Cc: Bryan Drewery , FreeBSD Current Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Jun 2016 21:51:22 -0000 On Mon, Jun 13, 2016 at 2:12 PM, Mark Millard 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