Bug 217197 - PkgBase repo: use relative symlink for latest to allow repo to work after being moved
Summary: PkgBase repo: use relative symlink for latest to allow repo to work after bei...
Status: Closed FIXED
Alias: None
Product: Base System
Classification: Unclassified
Component: misc (show other bugs)
Version: CURRENT
Hardware: Any Any
: --- Affects Only Me
Assignee: Glen Barber
URL:
Keywords: patch, pkgbase
Depends on:
Blocks:
 
Reported: 2017-02-18 13:30 UTC by Ben Woods
Modified: 2017-04-21 16:48 UTC (History)
2 users (show)

See Also:


Attachments
Patch to make PkgBase repo use relative symlink (670 bytes, patch)
2017-02-18 13:30 UTC, Ben Woods
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ben Woods freebsd_committer freebsd_triage 2017-02-18 13:30:04 UTC
Created attachment 180105 [details]
Patch to make PkgBase repo use relative symlink

PkgBase repo: use relative symlink for latest

This allows repo to continue to work after being moved to another directory, to another computer, or hosted on another computer using NFS mounts.
Comment 1 commit-hook freebsd_committer freebsd_triage 2017-04-18 19:44:40 UTC
A commit references this bug:

Author: gjb
Date: Tue Apr 18 19:44:34 UTC 2017
New revision: 317100
URL: https://svnweb.freebsd.org/changeset/base/317100

Log:
  Use relative symlink for 'latest' to allow repo to work after being
  moved.

  Submitted by:	woodsb02
  MFC after:	3 days
  PR:		217197
  Sponsored by:	The FreeBSD Foundation

Changes:
  head/Makefile.inc1
Comment 2 Glen Barber freebsd_committer freebsd_triage 2017-04-18 19:45:18 UTC
Committed, pending MFC.  Thanks!
Comment 3 commit-hook freebsd_committer freebsd_triage 2017-04-21 16:48:15 UTC
A commit references this bug:

Author: gjb
Date: Fri Apr 21 16:47:57 UTC 2017
New revision: 317260
URL: https://svnweb.freebsd.org/changeset/base/317260

Log:
  MFC r317100:
   Use relative symlink for 'latest' to allow repo to work after being
   moved.

  PR:		217197
  Sponsored by:	The FreeBSD Foundation

Changes:
_U  stable/11/
  stable/11/Makefile.inc1