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:
parent
e2e86de153
commit
c60009ccf4
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/projects/release-pkg/; revision=293216
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user