Re: WITHOUT_JAIL and make delete-old{,-libs}

From: Roland Smith <rsmith_at_xs4all.nl>
Date: Mon, 21 Mar 2011 18:53:44 +0100
On Mon, Mar 21, 2011 at 08:26:19AM +0100, Alexander Leidinger wrote:
> 
> Quoting David Demelier <demelier.david_at_gmail.com> (from Mon, 21 Mar  
> 2011 07:04:18 +0100):
> 
> > On 20/03/2011 17:31, Alexander Leidinger wrote:
> >> On Sun, 20 Mar 2011 08:34:51 +0100 David Demelier
> >> <demelier.david_at_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} == no
> 
> >>> 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)
> 
> > No I understood why, that's because a lot of userland programs that  
> > can handle jails processes are linked to the libjail such as top,  
> > ifconfig, ...
> 
> So it's just about merging to 8-stable.
> 
> I made a diff between -current and 8-stable, and there are a lot of  
> differences. Instead of merging just the entries for the jails, it  
> would be better to merge nearly everything. The problem is that this  
> requires a lot of testing (delete old files, installworld, check if  
> files reappear -> need to be removed from the list to remove with  
> delete-old/-libs) and the libs need to be checked for the correct  
> version number too.

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

I added stuff to it by looking at the options in src.conf(5) and running 'make
-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
-- 
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)

Received on Mon Mar 21 2011 - 17:10:32 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:12 UTC