Re: make delete-old question (removing old binaries)
On Saturday 03 April 2010 11:04:37 Ihsan Junaidi Ibrahim wrote: Hi folks, I've rebuild my world with NO_MAIL (in src.conf) and a few other NO_ options however I noticed that related binaries are not removed entirely i.e. mailwrapper when I ran make delete-old / delete-old-libs. I can see that the old binaries have a timestamp older than the binaries rebuilt by the make world process. [anggerik:/usr/sbin]# ls -l mailwrapper -r-xr-xr-x 1 root wheel 7808 Nov 21 22:31 mailwrapper [anggerik:/usr/sbin]# ls -l trac traceroute* traceroute6* [anggerik:/usr/sbin]# ls -l traceroute -r-sr-xr-x 1 root wheel 28240 Apr 3 08:54 traceroute Is this simply a cosmetic issue and I can just remove those binaries manually or if not so, is there a special configs needed to remove them. Apologize if this question has been asked before. You should be using WITHOUT_ versions of the options - see src.conf(5). Files won't be removed unless they're listed in ObsoleteFiles.inc, and it's typically not been kept up-to-date. This is being fixed in -CURRENT but for just now you can remove the binaries manually. -- Bruce Cran ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
make delete-old question (removing old binaries)
Hi folks, I've rebuild my world with NO_MAIL (in src.conf) and a few other NO_ options however I noticed that related binaries are not removed entirely i.e. mailwrapper when I ran make delete-old / delete-old-libs. I can see that the old binaries have a timestamp older than the binaries rebuilt by the make world process. [anggerik:/usr/sbin]# ls -l mailwrapper -r-xr-xr-x 1 root wheel 7808 Nov 21 22:31 mailwrapper [anggerik:/usr/sbin]# ls -l trac traceroute* traceroute6* [anggerik:/usr/sbin]# ls -l traceroute -r-sr-xr-x 1 root wheel 28240 Apr 3 08:54 traceroute Is this simply a cosmetic issue and I can just remove those binaries manually or if not so, is there a special configs needed to remove them. Apologize if this question has been asked before. -- Thank you for your time, Ihsan Junaidi Ibrahim ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: make delete-old question
On Thu, Dec 10, 2009 at 08:54:19AM +0100, Rolf G Nielsen wrote: Frank Shute wrote: Hi, Successfully upgraded from 7.2 to 8.0 but had my usual problem when jumping major versions with the make delete-old target. The problem being that it asks me to confirm deletion of each lib/file with a y and a return. I've found that I never say n to any deletion and it becomes very tedious to hammer at the keyboard for hundreds of libs/files. Is there a way to change the Makefile so that they all get deleted with just one y and a return? Or possibly use yes(1) to script it? TIA. Regards, yes | make delete-old Thanks Rolf, I hoped it would be something simple. Now I'll update my laptop. Regards, -- Frank Contact info: http://www.shute.org.uk/misc/contact.html ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
make delete-old question
Hi, Successfully upgraded from 7.2 to 8.0 but had my usual problem when jumping major versions with the make delete-old target. The problem being that it asks me to confirm deletion of each lib/file with a y and a return. I've found that I never say n to any deletion and it becomes very tedious to hammer at the keyboard for hundreds of libs/files. Is there a way to change the Makefile so that they all get deleted with just one y and a return? Or possibly use yes(1) to script it? TIA. Regards, -- Frank Contact info: http://www.shute.org.uk/misc/contact.html ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: make delete-old question
Frank Shute wrote: Hi, Successfully upgraded from 7.2 to 8.0 but had my usual problem when jumping major versions with the make delete-old target. The problem being that it asks me to confirm deletion of each lib/file with a y and a return. I've found that I never say n to any deletion and it becomes very tedious to hammer at the keyboard for hundreds of libs/files. Is there a way to change the Makefile so that they all get deleted with just one y and a return? Or possibly use yes(1) to script it? TIA. Regards, yes | make delete-old ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: make delete-old question
Is there a way to change the Makefile so that they all get deleted with just one y and a return? Or possibly use yes(1) to script it? I often yes | make delete-old Olivier ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
make delete-old question
Hi, Is there a clever way to run make delete-old in /usr/src so that (y) will be the default answer? Otherwise it's pressing y 437 times in my case... --per ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: make delete-old question
Is there a clever way to run make delete-old in /usr/src so that (y) will be the default answer? Otherwise it's pressing y 437 times in my case... yes | make delete-old Olivier ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: make delete-old question
Hi, On Sun, 2007-11-04 at 10:38 +0100, Per olof Ljungmark wrote: Hi, Is there a clever way to run make delete-old in /usr/src so that (y) will be the default answer? Otherwise it's pressing y 437 times in my case... cd /usr/src grep -nrF BATCH_DELETE_OLD_FILES * Any comments? -- I would work for you like your sons. -- Tom Hagen, Chapter 1, page 52 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: make delete-old question
Per olof Ljungmark [EMAIL PROTECTED] writes: Is there a clever way to run make delete-old in /usr/src so that (y) will be the default answer? Otherwise it's pressing y 437 times in my case... yes | make delete-old -- Christian Laursen ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: make delete-old question
On Sunday 04 November 2007, Per olof Ljungmark wrote: Hi, Is there a clever way to run make delete-old in /usr/src so that (y) will be the default answer? Otherwise it's pressing y 437 times in my case... This is covered in build(7), one of the manpages in the very-useful-but-not-very-obvious category (along with ports, hier, security and tuning IMO (all of which are also in section 7 of the manual..)) Anyway, it's make -DBATCH_DELETE_OLD_FILES delete-old make -DBATCH_DELETE_OLD_FILES delete-old-libs JN ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]