Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Jan 2014 15:22:56 -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:  <20140123212256.GA37334@admin.xzibition.com>
In-Reply-To: <201401231503.42671.jhb@freebsd.org>
References:  <201401221659.s0MGxrc7056036@svn.freebsd.org> <201401231439.14819.jhb@freebsd.org> <20140123194841.GA39296@admin.xzibition.com> <201401231503.42671.jhb@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--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 <gjb@FreeBSD.org> 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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20140123212256.GA37334>