Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 21 Dec 2025 11:53:20 +0000
From:      Lexi Winter <ivy@freebsd.org>
To:        freebsd-current@freebsd.org
Subject:   Re: CURRENT: bothering DESTDIR=/ issue after pkg base install
Message-ID:  <aUffsLYdkLaxpD1r@amaryllis.le-fay.org>
In-Reply-To: <20251220220852.721916c7@thor.sb211.local>

index | next in thread | previous in thread | raw e-mail

[-- Attachment #1 --]
A FreeBSD User wrote in <20251220220852.721916c7@thor.sb211.local>:
> in a pkg pakcage installation, the way back to install the system via
> 
> make installkernel/make installworld
> 
> after custom builds is polluted by an annoying required DESTDIR=/

you are not supposed to add DESTDIR=/.  as the message says:

ERROR: This target should not be used on a system installed from
packages.

the only reason DESTDIR=/ is suggested as a workaround is for extremely
uncommon edge cases where you can't depkgbasify the system normally.

i see someone else already provided the correct solution here.

(since this is not the first time this has come up, i am going to change
this message to be more forceful, probably along with another change to
make known-safe installkernels not require it.)

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----

iHUEABYKAB0WIQSyjTg96lp3RifySyn1nT63mIK/YAUCaUffrQAKCRD1nT63mIK/
YK36AQCALkml73+Al0GnrJwKT0Zu4YdUapdBfg6ghZuRYPMJ+wEAoyutskyVCCoG
blkZ+eJNCaTSGpZ7eI7ubypWRqNRtQs=
=D3R0
-----END PGP SIGNATURE-----
home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?aUffsLYdkLaxpD1r>