From owner-svn-src-all@FreeBSD.ORG Thu Jan 23 22:05:51 2014 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 435AC899 for ; Thu, 23 Jan 2014 22:05:51 +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 D3542118C for ; Thu, 23 Jan 2014 22:05:50 +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=Nt7d0/+2D0qNoSEK9pTMHhqBYNambRGI8 u9Z1+P1QQn77zYY3wWWo4xV8rAYMwop7YGECw9/uN1mwdzw+zAA3BKnu1bbwCxAw 2aezn/LhTaL1EImFXh77r0E4BVgqLKZvczYpKhrNkQgNqp6pw80U4bFs7aP+heDh SvnG70g6ho= 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=zBT/Q2/qtCUlnHadwoiBs8wtToYANZ0JnE4bWRo Mlx8=; b=WpiNv7MY5XJINHoNNPJ8CpxIaOBJeHDnAnBTbx84U5ikgrknipQQXvb EKocm6tMGs8R23HtmZHAbs2y5zYx/LB4oky9N2hO0EZG5iCgFahBpCXmFKf+Uf70 4IFFMJGEoloB869EcsokrI/XuFkwzlRh3p6grvT6r3+ubVu5Im/E= Received: (qmail 69243 invoked from network); 23 Jan 2014 16:05:46 -0600 Received: from unknown (HELO admin.xzibition.com) (bryan@shatow.net@173.160.118.90) by sweb.xzibition.com with ESMTPA; 23 Jan 2014 16:05:46 -0600 Date: Thu, 23 Jan 2014 16:05:45 -0600 From: Bryan Drewery To: John Baldwin Subject: Re: svn commit: r261031 - in head: . etc usr.sbin/etcupdate usr.sbin/mergemaster Message-ID: <20140123220545.GB37334@admin.xzibition.com> References: <201401221659.s0MGxrc7056036@svn.freebsd.org> <201401231439.14819.jhb@freebsd.org> <20140123194841.GA39296@admin.xzibition.com> <201401231503.42671.jhb@freebsd.org> <20140123212256.GA37334@admin.xzibition.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="DBIVS5p969aUjpLe" Content-Disposition: inline In-Reply-To: <20140123212256.GA37334@admin.xzibition.com> 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 22:05:51 -0000 --DBIVS5p969aUjpLe Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Jan 23, 2014 at 03:22:56PM -0600, Bryan Drewery wrote: > 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 exam= ple) > > > > > > 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 = toolchain=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 r= un it > > > > after an installworld has been performed, in which case an up-to-da= te > > > > services_mkdb should already be installed. > > > >=20 > > > > Bryan, what are you running 'make distribute' for? Is this to popu= late > > > > 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 s= trictly > > speaking that isn't supported. (Rather, we only guarantee that a jail = will work > > so long as its world is older or equal in age to the host.) >=20 > 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? >=20 > 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. Ok I see that my other use case is fine (building newer) and that this is just an issue with cross-building. I do understand that you can't run cross-arch and that you'll just need to have the updated version in the host. So nevermind my concerns. Sorry for the noise. >=20 > >=20 > > All that said, for stable branches I intend to MFC the new flags to ser= vices_mkdb > > long before possibly merging the change to turn it on in 'make distribu= tion' > >=20 > > --=20 > > John Baldwin --DBIVS5p969aUjpLe Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (FreeBSD) iQJ8BAEBCgBmBQJS4ZI5XxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQzNkZFQkU5OTJGNTI4MERGNDgxMTM2MkE2 RTc4MkFDMDNDOUIwQ0Y5AAoJEG54KsA8mwz5/ZcP/i/oI2c5WMK8trvQQwAcQhDK 9U2VGKTqlZbG9nS1K5JVcg2YHhF/qwGDxeKluza3GsWNUJ0Tvdsng3Fu+cM5Fxl1 0EtJeL9XAUbJFoVv0RQHUF+9VDLGykojlm7UmNiyWgR5bTRwykBDa/SYsj09/hg0 MxNj1FMkSAquc7CxDNn6rGWDGreHxEXywPEJZTm4UcUcEnso05qatTlJhHHYhoph v5QDO3MqcPeCia8dUuQCBRJc0FyTbKywP9xnKY3ZK66Slsvf4OBtZ7Snf6iWGBDL MQdO98TGtTsJ/BXr+sFx/KBMdeuXtDyUnyHWsA9qz3xyqXJoB4TNavxdgvhY3iPU fD2uC2UwmWjsNvh93HZMvSJkLTSTQ2PkkhI+lBOvPzGV7ZjwzKfuqxbtGlQe4+j1 UbVudEl9+QI/F8tjeFtzEsz9ZWXRQIyQOwY/RMG+0b8JhU6pSi/C4lopcRXsTi3s AT0RbQdY4bI7Q9dv1C5AquzCjMtLO80WuPSgY0N9D3kaGH9fd4tjYEJF22F/12Xd NTVeUSVknS9lApyN0qZ5811QPulYxToP8Zj+/9Ug9hEZuygf5uJDm+4cNqfeRBbO /Pem55dQbYLmXwFSKsJWskIG4u6mcNVpt/EihaX5r6tH3kPhunp/sPWxcCkPqzo4 Nzm1tYyKMlWMsrkxggk0 =ZFxX -----END PGP SIGNATURE----- --DBIVS5p969aUjpLe--