cvs commit: src ObsoleteFiles.inc

Peter Jeremy PeterJeremy at optushome.com.au
Mon Jul 25 19:53:02 GMT 2005


On Sun, 2005-Jul-24 11:45:23 +0200, Maxime Henrion wrote:
>If files are installed using the -p flag of install(1), which preserves the
>modification time (I'm not sure we actually use this flag).

We do in /usr/include (and maybe elsewhere).

>  Also, a find
>-ctime +1 is only useful if the installworld was done not long ago; if it's
>a few days old or more, we'd have to hack the script.  We can also imagine
>doing an installworld in the morning, and another in the evening.

It's not perfect but it's better than what we had before.  You can
fairly easily work around the above by adding something like
	date > ${DESTDIR}/etc/installworld
into /usr/src/Makefile.inc1 as the first thing installworld does and
then use '! -newercm /etc/installworld' for find.

/var/db/pkg/FreeBSD-base-x.y/+CONTENTS might be a nicer solution
but so far, no-one has found the time to implement it.

-- 
Peter Jeremy


More information about the cvs-src mailing list