summaryrefslogtreecommitdiffstats
path: root/sbin
diff options
context:
space:
mode:
authorbdrewery <bdrewery@FreeBSD.org>2015-10-02 06:24:09 +0000
committerbdrewery <bdrewery@FreeBSD.org>2015-10-02 06:24:09 +0000
commit8debd9fb6fd72dd5614d688c5856b0e943d0da7a (patch)
tree8d640b264dc47042130fced781f13326316d763b /sbin
parentd57d798111e8fca8d93f57f978a5924f1e12fe3e (diff)
downloadFreeBSD-src-8debd9fb6fd72dd5614d688c5856b0e943d0da7a.zip
FreeBSD-src-8debd9fb6fd72dd5614d688c5856b0e943d0da7a.tar.gz
META_MODE: Fix stage_links not running in the right order without -j.
This fixes staging errors for non-parallel builds that have LINKS. Creating hardlinks must always happen after the actual files are installed. The staging code was protected by an .ORDER statement that only affected parallel -j builds but not non-parallel builds. Fix this by making the real stage_links.SET (stage_links.links, stage_links.mlinks, etc) targets depend on the main targets for all of the other possible staging needs. For example, stage_links.links will depend on stage_as and stage_files, which have their own dependencies to stage_as.prog or stage_files.prog or stage_files.SET, which is enough to satistfy the ordering. Also remove the requirement that symlinks be created last, as they can safely be made without the source being present unlike hardlinks. This also fixes symlinks to come before hardlinks as it is possible, in theory, to hardlink a symlink. This is not actually supported here though. Sponsored by: EMC / Isilon Storage Division
Diffstat (limited to 'sbin')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud