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)
Mar 6 2024, 6:41 PM
Unknown Object (File)
Jan 13 2024, 2:24 AM
Unknown Object (File)
Jan 9 2024, 4:54 AM
Unknown Object (File)
Jan 3 2024, 9:24 PM
Unknown Object (File)
Dec 31 2023, 8:36 AM
Unknown Object (File)
Dec 20 2023, 12:26 AM
Unknown Object (File)
Oct 13 2023, 3:52 AM
Unknown Object (File)
Aug 25 2023, 8:15 PM
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.