Bug 158388 - Incorrect documentation of LOCAL_SCRIPT in release(7) man page...
Summary: Incorrect documentation of LOCAL_SCRIPT in release(7) man page...
Status: Open
Alias: None
Product: Documentation
Classification: Unclassified
Component: Manual Pages (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-bugs (Nobody)
Depends on:
Reported: 2011-06-28 12:40 UTC by Greg Becker
Modified: 2018-04-11 20:15 UTC (History)
1 user (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Greg Becker 2011-06-28 12:40:06 UTC
The description of the LOCAL_SCRIPT variable in the release(7) man page says that the script is run in the chroot(8) environment.  I don't believe this is accurate.  What actually happens is that the make cd's to the top-level directory of the chroot tree and then runs LOCAL_SCRIPT.  A small, but important distinction for those trying to understand the release process.

From /usr/src/release/Makefile:

.if defined(LOCAL_SCRIPT)
Comment 1 Eitan Adler freebsd_committer freebsd_triage 2017-12-31 07:59:03 UTC
For bugs matching the following criteria:

Status: In Progress Changed: (is less than) 2014-06-01

Reset to default assignee and clear in-progress tags.

Mail being skipped