From owner-svn-src-all@FreeBSD.ORG Thu Jan 23 21:23:03 2014 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 8CA9EB43 for ; Thu, 23 Jan 2014 21:23:03 +0000 (UTC) Received: from secure.xzibition.com (secure.xzibition.com [173.160.118.92]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 364FA1D5D for ; Thu, 23 Jan 2014 21:23:02 +0000 (UTC) DomainKey-Signature: a=rsa-sha1; c=nofws; d=shatow.net; h=date:from:to :cc:subject:message-id:references:mime-version:content-type :in-reply-to; q=dns; s=sweb; b=x/n5nZs8R9j6jl56JoRFLd8x2mBVXMwL/ cvsPyNsMR2VgsDrCQzRXfl+2JmdSpqAuqcItvtgbmZAD9ArwFjewE5e0dT0dWE/D 9reuL9vNcoQcrIYmSNiWsV+BnI/UoSDFXMm4DPwqL1A3hOd+g8uRu15XTIDTwlYX L3ePIpseHw= DKIM-Signature: v=1; a=rsa-sha256; c=simple; d=shatow.net; h=date:from :to:cc:subject:message-id:references:mime-version:content-type :in-reply-to; s=sweb; bh=IZ4RDFHkGCYLL/+xml2cAd7zptd3QyxPjq7C9V3 AA/k=; b=I9vdBzUSE5Q4ao5bOucKo7Uj2ZUXL07bTwKF3a13V00JRRDRwFcFBRl XjtV6BrxdqBn35UYPPh7m5SzYkX5kR6dIlM6SXmiPXTZc8YsXIi/5mwNyLCtP89W FHe3M+C5GxgwFXPfSVP/V7xr8sYbhy+SZQcLao2H1Xnol3mv5yc4= Received: (qmail 53689 invoked from network); 23 Jan 2014 15:22:59 -0600 Received: from unknown (HELO admin.xzibition.com) (bryan@shatow.net@173.160.118.90) by sweb.xzibition.com with ESMTPA; 23 Jan 2014 15:22:59 -0600 Date: Thu, 23 Jan 2014 15:22:56 -0600 From: Bryan Drewery To: John Baldwin Subject: Re: svn commit: r261031 - in head: . etc usr.sbin/etcupdate usr.sbin/mergemaster Message-ID: <20140123212256.GA37334@admin.xzibition.com> References: <201401221659.s0MGxrc7056036@svn.freebsd.org> <201401231439.14819.jhb@freebsd.org> <20140123194841.GA39296@admin.xzibition.com> <201401231503.42671.jhb@freebsd.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="uAKRQypu60I7Lcqm" Content-Disposition: inline In-Reply-To: <201401231503.42671.jhb@freebsd.org> User-Agent: Mutt/1.5.22 (2013-10-16) Cc: svn-src-head@freebsd.org, Glen Barber , svn-src-all@freebsd.org, src-committers@freebsd.org, David Chisnall X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Jan 2014 21:23:03 -0000 --uAKRQypu60I7Lcqm Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Jan 23, 2014 at 03:03:42PM -0500, John Baldwin wrote: > On Thursday, January 23, 2014 2:48:41 pm Bryan Drewery wrote: > > On Thu, Jan 23, 2014 at 02:39:14PM -0500, John Baldwin wrote: > > > On Thursday, January 23, 2014 10:42:36 am David Chisnall wrote: > > > > On 22 Jan 2014, at 22:36, Glen Barber wrote: > > > >=20 > > > > > It needs to use the build host version, because using (for exampl= e) > > > > > powerpc resulting binary won't work on and amd64 system. > > > >=20 > > > > If it's used as part of the build, then it should be part of the to= olchain=20 > > > target and we should be using the version built there. > > >=20 > > > 'make distribute' is not a normal part of the build (it's not part of > > > buildworld or installworld). Both mergemaster and etcupdate only run= it > > > after an installworld has been performed, in which case an up-to-date > > > services_mkdb should already be installed. > > >=20 > > > Bryan, what are you running 'make distribute' for? Is this to popula= te > > > a new jail from a world build? > >=20 > > Yes, poudriere uses this to create jails. It runs: > >=20 > > export TARGET_ARCH=3D... > > make buildworld > > make installworld DESTDIR=3D... > > make distrib-dirs DESTDIR=3D... DB_FROM_SRC=3D1 > > make distribution DESTDIR=3D... > >=20 > >=20 > > No mergemaster or etc-update is ran, we just install all of the > > defaults. >=20 > Yes, but you are attemping to install a newer jail than the host, and str= ictly > speaking that isn't supported. (Rather, we only guarantee that a jail wi= ll work > so long as its world is older or equal in age to the host.) I am aware of *running* newer jails not being suppored, but *building* seems to be an absolute must to be supported. How else would you upgrade? On my own system, I build the new source into a jail and then promote the ZFS dataset the jail is using and then reboot into it. >=20 > All that said, for stable branches I intend to MFC the new flags to servi= ces_mkdb > long before possibly merging the change to turn it on in 'make distributi= on' >=20 > --=20 > John Baldwin --uAKRQypu60I7Lcqm Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (FreeBSD) iQJ8BAEBCgBmBQJS4YgvXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQzNkZFQkU5OTJGNTI4MERGNDgxMTM2MkE2 RTc4MkFDMDNDOUIwQ0Y5AAoJEG54KsA8mwz5fEkQAK+g0qKvYmmLTz4mlLzvNpDd O5L54873F3xfrlqtxGkwhWTOm1qApNyVWcyIL+yzk+T5Kdka4ZMz+YWvH/8grKb0 S9qkn12hh16A2/xLNzXIx5OWJepCaqnYvHI9jguWEkAsxcWiGSfett1sLDSxTblp 4Q9jj2o9WH80HX4BLbVoUy7fdkezH7+3blasVQKzSc0WomYcCK/nO434m6iaBhLN y7rS2PhR8dB6MFea/pkFbqeev6nxJH6kJQSJ8UtDOBuDqjqzQ474DCX2AJO7APSA YJh+4IO4BOYEPRpQmrOiK5CQ2tqF/sNC54OOArhZg4KV/S9QuRGmX9c5uGamkkph RpXi1wT6uvT8lWGvSldVtK8jiVjfN005fpGnRT7YoIELJdBgjvoRPBYrYGStwnvY qzzX67so8doDCKS8dbUtnDWYemAdiyqo1R6dDe/SlDdE76cipqgrV34UHazDM30N iomM7nKQvfxQ6grl5BmQmEqj/QSquMe3KG/7BIxvpo1m6UakSYq2xadZZhWXGmuY FX4Q/Ht1xF1m8M1KZT0NKTIYuVTDS+qwfuXZks4cTjPnLqtnxcyRqddup+vTs2ft uKGN8ijDNeBqc23E8eB1AQyJeCX9TRWJ8VIPthpQT9zJseSgF/D+B2lW3ylQU+6U iEYI7xcNL8nL8UfZintK =e+jj -----END PGP SIGNATURE----- --uAKRQypu60I7Lcqm--