Page MenuHomeFreeBSD

Use BASEDIR when checking for src component
ClosedPublic

Authored by aryeeteygerald_rogers.com on Jan 15 2019, 10:19 PM.
Tags
None
Referenced Files
F136925280: D18849.id52870.diff
Thu, Nov 20, 4:53 PM
F136925258: D18849.id.diff
Thu, Nov 20, 4:53 PM
F136924692: D18849.id52995.diff
Thu, Nov 20, 4:49 PM
F136924656: D18849.id52990.diff
Thu, Nov 20, 4:48 PM
F136923647: D18849.diff
Thu, Nov 20, 4:41 PM
Unknown Object (File)
Thu, Nov 13, 10:30 PM
Unknown Object (File)
Mon, Nov 3, 11:17 PM
Unknown Object (File)
Sat, Oct 25, 7:09 PM

Details

Summary

src could potentially be installed under the based dir
and not under the root or vice versa.

This patch only supports the command line specified -b or
"BaseDir" in the configuration file if it appears *before*
the "Components" line.

PR: 224048

Test Plan

None

Diff Detail

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

Event Timeline

delphij requested changes to this revision.Jan 18 2019, 1:05 AM
delphij added inline comments.
usr.sbin/freebsd-update/freebsd-update.sh
231 ↗(On Diff #52870)

Can we simply change /usr/src to ${BASEDIR}/usr/src here?

This revision now requires changes to proceed.Jan 18 2019, 1:05 AM
aryeeteygerald_rogers.com added inline comments.
usr.sbin/freebsd-update/freebsd-update.sh
231 ↗(On Diff #52870)

I was worried about it not being defined earlier since that's possible, but it shouldn't matter

This revision is now accepted and ready to land.Jan 18 2019, 5:28 PM
This revision was automatically updated to reflect the committed changes.