Skip to content

Commit 723445f

Browse files
committed
release.sh: Pass through NO_ROOT
To be specific, set NO_ROOT=1 WITHOUT_QEMU=1 (those options go together and it is an error to specify one without the other) if NO_ROOT is defined in release.conf. MFC after: 3 days Sponsored by: https://www.patreon.com/cperciva
1 parent 9f8114a commit 723445f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

release/release.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -200,6 +200,9 @@ env_check() {
200200
WITH_DVD=${WITH_DVD} WITH_VMIMAGES=${WITH_VMIMAGES} \
201201
WITH_CLOUDWARE=${WITH_CLOUDWARE} WITH_OCIIMAGES=${WITH_OCIIMAGES} \
202202
XZ_THREADS=${XZ_THREADS} NOPKGBASE=${NOPKGBASE}"
203+
if [ -n "${NO_ROOT}" ]; then
204+
RELEASE_RMAKEFLAGS="${RELEASE_RMAKEFLAGS} NO_ROOT=1 WITHOUT_QEMU=1"
205+
fi
203206

204207
return 0
205208
} # env_check()

0 commit comments

Comments
 (0)