1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-11-29 08:08:37 +00:00

In 'create-kernel-packages', do not exit with an error if NO_ROOT is

not set.  The 'stageworld' target is invoked with -DNO_ROOT, so the
metalog file(s) will be created regardless.

This matches the behavior of 'create-world-packages'.

Sponsored by:	The FreeBSD Foundation
This commit is contained in:
Glen Barber 2016-01-05 18:05:31 +00:00
parent e2e86de153
commit c60009ccf4
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/projects/release-pkg/; revision=293216

View File

@ -1384,10 +1384,6 @@ packages:
${MAKE} DESTDIR=${DESTDIR:U${STAGEDIR}} create-world-packages
create-kernel-packages:
.if !defined(NO_ROOT)
@echo "ERROR: create-kernel-packages can only be done with -DNO_ROOT"; \
false
.endif
@cd ${DESTDIR}/${DISTDIR} ; \
awk -f ${SRCDIR}/release/scripts/mtree-to-plist.awk \
${DESTDIR}/${DISTDIR}/kernel.meta