Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 Mar 2011 18:53:44 +0100
From:      Roland Smith <rsmith@xs4all.nl>
To:        Alexander Leidinger <Alexander@Leidinger.net>
Cc:        David Demelier <demelier.david@gmail.com>, stable@freebsd.org, freebsd-current@freebsd.org
Subject:   Re: WITHOUT_JAIL and make delete-old{,-libs}
Message-ID:  <20110321175344.GA41347@slackbox.erewhon.net>
In-Reply-To: <20110321082619.97716qmve56zukdw@webmail.leidinger.net>
References:  <4D85AE1B.7010407@gmail.com> <20110320173157.00002024@unknown> <4D86EA62.9060506@gmail.com> <20110321082619.97716qmve56zukdw@webmail.leidinger.net>

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

--mYCpIKhGyMATD0i+
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Mon, Mar 21, 2011 at 08:26:19AM +0100, Alexander Leidinger wrote:
>=20
> Quoting David Demelier <demelier.david@gmail.com> (from Mon, 21 Mar =20
> 2011 07:04:18 +0100):
>=20
> > On 20/03/2011 17:31, Alexander Leidinger wrote:
> >> On Sun, 20 Mar 2011 08:34:51 +0100 David Demelier
> >> <demelier.david@gmail.com>  wrote:
> >>
> >>> Hello,
> >>>
> >>> I was surprised to see there is no ${MK_JAIL} conditional to remove
> >>> old files on 8.2-RELEASE so I started to write it without watching if
> >>> -CURRENT already make it in
> >>> /usr/src/tools/build/mk/OptionalObsoleteFiles.inc.
> >>>
> >>> .if ${MK_JAIL} =3D=3D no
>=20
> >>> I think they should be removed too, thus can you merge it to -STABLE
> >>> if it's not already done? (sorry I'm not used to the cvs web
> >>> interface and I don't have -STABLE right now)
>=20
> > No I understood why, that's because a lot of userland programs that =20
> > can handle jails processes are linked to the libjail such as top, =20
> > ifconfig, ...
>=20
> So it's just about merging to 8-stable.
>=20
> I made a diff between -current and 8-stable, and there are a lot of =20
> differences. Instead of merging just the entries for the jails, it =20
> would be better to merge nearly everything. The problem is that this =20
> requires a lot of testing (delete old files, installworld, check if =20
> files reappear -> need to be removed from the list to remove with =20
> delete-old/-libs) and the libs need to be checked for the correct =20
> version number too.

Some months ago, I submitted an PR with an update for
tools/build/mk/OptionalObsoleteFiles.inc;=20
http://www.freebsd.org/cgi/query-pr.cgi?pr=3Dmisc/149360

I added stuff to it by looking at the options in src.conf(5) and running 'm=
ake
-n install' in the relevant kernel directory and noting what was
installed. The original file I started from (1.20.2.2.2.1 from 2010/06/14) =
was
1162 lines. My enhanced version is 2610 lines.

Maybe you can use this?

Roland
--=20
R.F.Smith                                   http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)

--mYCpIKhGyMATD0i+
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (FreeBSD)

iEYEARECAAYFAk2HkKgACgkQEnfvsMMhpyUoswCgnMHJ4LNVRo9dLJb//A9Hoe4a
vaAAn3D3GwYEsE3IFa6QwOQZnEYJI5ZF
=fj82
-----END PGP SIGNATURE-----

--mYCpIKhGyMATD0i+--



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