mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 08:43:19 -04:00
release: Emit warning if NO_ROOT used with pkg-stage
pkg-stage.sh (used by the disc1 build) does not currently support METALOG output for NO_ROOT builds. Emit a warning for this case. PR: 283387 Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D49785
This commit is contained in:
parent
992b18a9ec
commit
0164dc9851
1 changed files with 3 additions and 0 deletions
|
|
@ -320,6 +320,9 @@ packagesystem: ${DISTRIBUTIONS}
|
|||
pkg-stage: dvd
|
||||
# TODO: Support for -DNO_ROOT
|
||||
.if !defined(NOPKG) || empty(NOPKG)
|
||||
.if defined(NO_ROOT)
|
||||
.warning pkg-stage does not yet support NO_ROOT.
|
||||
.endif
|
||||
env PORTSDIR=${PORTSDIR} REPOS_DIR=${.CURDIR}/pkg_repos/ \
|
||||
sh ${.CURDIR}/scripts/pkg-stage.sh
|
||||
mkdir -p ${.OBJDIR}/dvd/packages/repos/
|
||||
|
|
|
|||
Loading…
Reference in a new issue