Date: Thu, 23 Jan 2014 16:05:45 -0600 From: Bryan Drewery <bryan@shatow.net> To: John Baldwin <jhb@freebsd.org> Cc: svn-src-head@freebsd.org, Glen Barber <gjb@freebsd.org>, svn-src-all@freebsd.org, src-committers@freebsd.org, David Chisnall <theraven@freebsd.org> Subject: Re: svn commit: r261031 - in head: . etc usr.sbin/etcupdate usr.sbin/mergemaster Message-ID: <20140123220545.GB37334@admin.xzibition.com> In-Reply-To: <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> <20140123212256.GA37334@admin.xzibition.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--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 <gjb@FreeBSD.org> 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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20140123220545.GB37334>