Page MenuHomeFreeBSD

Don't create directories in ${WORLDTMP}/legacy with mtree
ClosedPublic

Authored by arichardson on Aug 17 2018, 3:54 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Dec 2, 12:29 AM
Unknown Object (File)
Nov 24 2024, 10:41 AM
Unknown Object (File)
Nov 14 2024, 5:30 PM
Unknown Object (File)
Oct 28 2024, 2:59 AM
Unknown Object (File)
Oct 24 2024, 11:38 AM
Unknown Object (File)
Oct 12 2024, 10:31 PM
Unknown Object (File)
Oct 2 2024, 5:37 AM
Unknown Object (File)
Sep 28 2024, 12:46 AM
Subscribers
None

Details

Summary

This has two advantages:

  1. We no longer create lots of empty directories that are not needed
  2. This is a requirement for building on non-FreeBSD hosts since mtree will

only exist after the bootstrap-tools phase there.

Test Plan

MIPS64 buildworld succeeded

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

Upload correct version of patch

tools/build/Makefile
72 โ†—(On Diff #46849)

I added this so that no matter which directory the bootstrap tool is installed in, we can always find it in ${WORLDTMP}/legacy/bin.
This is useful when building without inheriting $PATH and symlinking the host tools in ${WORLDTMP}/legacy. I could also override BINDIR in Makefile.boot, but I think this is easier.

I suggest we just mkdir the extra bin dirs for now and change it to use symlinks as part of the patches that make use of explicit ${WORLDTMP}/legacy/bin.

Makefile.inc1
971 โ†—(On Diff #46849)

s/no/not/

This revision is now accepted and ready to land.Aug 20 2018, 9:37 AM

Fix typo in comment
Create all directories instead of symlinking. This can be part of a separate patch

This revision now requires review to proceed.Aug 20 2018, 9:41 AM
This revision was not accepted when it landed; it landed in state Needs Review.Aug 20 2018, 10:40 AM
This revision was automatically updated to reflect the committed changes.