Page MenuHomeFreeBSD

pkg-stage: Improve symlink creation
ClosedPublic

Authored by emaste on Oct 3 2025, 11:11 AM.
Tags
None
Referenced Files
F156469747: D52883.id.diff
Wed, May 13, 9:42 PM
F156462031: D52883.id176670.diff
Wed, May 13, 8:29 PM
F156457929: D52883.id163425.diff
Wed, May 13, 7:52 PM
Unknown Object (File)
Mon, May 11, 1:57 PM
Unknown Object (File)
Mon, May 11, 1:56 PM
Unknown Object (File)
Thu, May 7, 3:09 PM
Unknown Object (File)
Thu, May 7, 3:24 AM
Unknown Object (File)
Wed, May 6, 12:04 PM
Subscribers

Details

Summary

In normal use it doesn't matter, but during development this might be run in a partially populated leftover tree.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

These probably want -h too? pkg.pkg less interesting, but PKG_ALTABI surely that can go quite wrong if not?

i think ${PKG_ALTABI} definitely needs -h here. that will break Linux, but i'm fairly sure the pkgbase release stuff doesn't work on Linux anyway.

I found this again in my WIP tree after looking at D56656. (The comment I left there is presumably prompted by a vague memory of this.)

I'll update this to -hfs for now

Oh, I always forget which way round -h and -n are. -n is the one you want, as we accept both as meaning the same thing, but coreutils only accepts -n.

emaste retitled this revision from pkg-stage: Invoke ln with -f to pkg-stage: Improve symlink creation.
This revision is now accepted and ready to land.Mon, Apr 27, 7:43 PM
This revision was automatically updated to reflect the committed changes.