Page MenuHomeFreeBSD

release: allow using DESTDIR with ftp target
Needs RevisionPublic

Authored by royger on Dec 17 2019, 11:10 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Feb 22, 7:42 PM
Unknown Object (File)
Fri, Feb 21, 2:57 AM
Unknown Object (File)
Tue, Feb 18, 1:26 PM
Unknown Object (File)
Wed, Jan 29, 3:13 PM
Unknown Object (File)
Jan 6 2025, 10:27 AM
Unknown Object (File)
Jan 6 2025, 10:02 AM
Unknown Object (File)
Jan 6 2025, 1:37 AM
Unknown Object (File)
Oct 19 2024, 10:24 AM
Subscribers
None

Details

Reviewers
gjb
Summary

Allow specifying a destination directory for the install sets
generated by the release ftp target.

No functional change expected unless DESTDIR is specified when calling
the ftp target.

Sponsored by: Citrix Systems R&D

Diff Detail

Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 28196
Build 26322: arc lint + arc unit

Event Timeline

gjb requested changes to this revision.Dec 17 2019, 4:55 PM

This breaks the default behavior when .OBJDIR is not set.

This is a more correct fix:

This revision now requires changes to proceed.Dec 17 2019, 4:55 PM

Output from your change without the added ${.OBJDIR}:

root@releng1:/usr/src/release # make ftp
rm -rf /ftp
mkdir -p /ftp
cp *.txz MANIFEST /ftp
root@releng1:/usr/src/release # ls /ftp/
MANIFEST        base-dbg.txz    base.txz        kernel-dbg.txz  kernel.txz      lib32-dbg.txz   lib32.txz       ports.txz       src.txz         tests.txz