Bug 213724 - [patch] make delete-old and WITHOUT_TIMED=true doesn't remove timed-related files
Summary: [patch] make delete-old and WITHOUT_TIMED=true doesn't remove timed-related f...
Status: Closed FIXED
Alias: None
Product: Base System
Classification: Unclassified
Component: bin (show other bugs)
Version: 11.0-STABLE
Hardware: Any Any
: --- Affects Only Me
Assignee: Baptiste Daroussin
URL:
Keywords: patch
Depends on:
Blocks:
 
Reported: 2016-10-23 10:53 UTC by Philippe Michel
Modified: 2016-12-12 21:51 UTC (History)
0 users

See Also:


Attachments
Possible patch (564 bytes, text/plain)
2016-10-23 10:53 UTC, Philippe Michel
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Philippe Michel 2016-10-23 10:53:29 UTC
Created attachment 176078 [details]
Possible patch

If WITHOUT_TIMED is set to true in /etc/src.conf, "make delete-old" doesn't remove the files that may remain from when this option was not used.
Comment 1 commit-hook freebsd_committer freebsd_triage 2016-12-10 12:14:47 UTC
A commit references this bug:

Author: bapt
Date: Sat Dec 10 12:14:42 UTC 2016
New revision: 309797
URL: https://svnweb.freebsd.org/changeset/base/309797

Log:
  Add entries to remove timed files with make delete-old if WITHOUT_TIMED is set

  PR:		213724
  Submitted by:	philippe.michel7@sfr.fr
  MFC after:	2 days

Changes:
  head/tools/build/mk/OptionalObsoleteFiles.inc
Comment 2 commit-hook freebsd_committer freebsd_triage 2016-12-12 21:44:08 UTC
A commit references this bug:

Author: bapt
Date: Mon Dec 12 21:43:18 UTC 2016
New revision: 309953
URL: https://svnweb.freebsd.org/changeset/base/309953

Log:
  MFC r309797-r309802

  r309797:
  Add entries to remove timed files with make delete-old if WITHOUT_TIMED is set

  r309798:
  Also remove auditdistd files if src.conf has WITHOUT_AUDIT

  r309799:
  Respect WITHOUT_RBOOTD in src.conf when running make delete-old

  r309800:
  Respect WITHOUT_BOOTPARAMD in src.conf when running make delete-old

  r309801:
  Respect WITHOUT_BOOTPD in src.conf when running make delete-old

  r309802:
  Respect WITHOUT_FINGER in src.conf when running make delete-old

  PR:		213719, 213720, 213721, 213722, 213723, 213724
  Submitted by:	philippe.michel7@sfr.fr

Changes:
_U  stable/11/
  stable/11/tools/build/mk/OptionalObsoleteFiles.inc