aboutsummaryrefslogtreecommitdiff
path: root/release/scripts/mm-mtree.sh
Commit message (Collapse)AuthorAgeFilesLines
* Remove $FreeBSD$: one-line sh patternWarner Losh2023-08-161-2/+0
| | | | Remove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/
* build: skip the database check when generating install mediaRoger Pau Monné2018-08-171-1/+1
| | | | | | | | | | | | | | | There are several scripts and targets solely used to generate install media, make sure DB_FROM_SRC is used in that case in order to prevent checking the host database, which is irrelevant when generating install binaries. Sponsored by: Citrix Systems R&D PR: 230459 Reviewed by: gjb Differential revision: https://reviews.freebsd.org/D16638 Notes: svn path=/head/; revision=337960
* Rework r325076: Just use the pre-existing OBJDIR.Bryan Drewery2017-11-051-7/+3
| | | | | | | | | | Like was done in usr.sbin/mergemaster in r249906, we can just use the already-built OBJDIR for install(1). Sponsored by: Dell EMC Isilon Notes: svn path=/head/; revision=325457
* Rework r254951 to not reach into private OBJDIR areas.Bryan Drewery2017-10-291-5/+3
| | | | | | | | | | | | | | | | | | | The original change was dealing with the build wanting to run a newer install(1) that was not yet installed. The solution to look into the private legacy directory of the existing build conflicts with 2 upcoming features: a changed OBJDIR format, and splitting the host tools into arch-dependent and arch-independent directories. Rather than hardcoding and changing the paths in this script, just let kernel-toolchain do the work, while disabling much of the meat. With -j15 this finishes in 25 seconds for me and 117 seconds with -j1. All that is really needed is bootstrap-tools, but the system is not currently written in a way that all previous dependent steps will have ran. The previous steps, such as _worldtmp, are being reworked and renamed and so cannot be relied upon to be right. Sponsored by: Dell EMC Isilon Notes: svn path=/head/; revision=325076
* Apply mergemaster r255428:Xin LI2016-06-081-1/+1
| | | | | | | | | | Pass -n (do not emit comments) when saving mtree information for future mergemaster(8) runs. MFC after: 3 days Notes: svn path=/head/; revision=301584
* Ensure TEMPROOT is unique, to guard against multiple builds on same machine.Simon J. Gerraty2015-11-081-1/+1
| | | | | | | | Differential Revision: D3002 Reviewed by: gjb Notes: svn path=/head/; revision=290565
* Remove an nunnecessary reference to csup.Gavin Atkinson2014-06-251-1/+1
| | | | Notes: svn path=/head/; revision=267864
* Fix 'make release' on older hosts: use buildworld legacy utilities.Will Andrews2013-08-271-0/+5
| | | | | | | | | | | | | | Newer FreeBSD installs require an install(1) that supports the new flags. This adds ${MAKEOBJDIRPREFIX}${.CURDIR}/tmp/legacy/{bin,usr/{bin,sbin}} to the PATH while generating an mtree database for 'make release'. Note that the problem only exists here because mm-mtree.sh generates its own object tree to avoid mucking with the existing one, which results in a PATH containing legacy utility dirs that are empty. Notes: svn path=/head/; revision=254951
* Add a script to create the /var/db/mergemaster.mtree file for newDoug Barton2009-08-231-0/+155
releases so that when users subsequently update their source trees they can make use of mergemaster's -U option. Notes: svn path=/head/; revision=196434