mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 00:32:25 -04:00
release: Pass -N to pkg-stage if NO_ROOT set
PR: 283387 Reviewed by: brooks Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D50268
This commit is contained in:
parent
5e25f7b099
commit
79e70e12f5
1 changed files with 1 additions and 5 deletions
|
|
@ -321,13 +321,9 @@ packagesystem: ${DISTRIBUTIONS}
|
|||
touch ${.TARGET}
|
||||
|
||||
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
|
||||
sh ${.CURDIR}/scripts/pkg-stage.sh ${NO_ROOT:D-N}
|
||||
mkdir -p ${.OBJDIR}/dvd/packages/repos/
|
||||
cp ${.CURDIR}/scripts/FreeBSD_install_cdrom.conf \
|
||||
${.OBJDIR}/dvd/packages/repos/
|
||||
|
|
|
|||
Loading…
Reference in a new issue