Bug #1140 » 0002-Set-the-default-DESTDIR-to-var-vkernel-when-the-pla.patch
sys/conf/kern.paths.mk | ||
---|---|---|
DESTMODULESNAME?= modules
|
||
.endif
|
||
DESTKERNDIR?= /boot
|
||
# Set DESTDIR to /var/vkernel by default for vkernel platform so as
|
||
# not to shoot the real kernel installation.
|
||
.if ${MACHINE_PLATFORM} == vkernel
|
||
DESTDIR?= /var/vkernel
|
||
.endif
|
sys/conf/kern.post.mk | ||
---|---|---|
.endif
|
||
kernel-installable:
|
||
.if ${P} == vkernel
|
||
.if !defined(DESTDIR)
|
||
@echo "When installing a virtual kernel, DESTDIR must be manually specified"
|
||
@exit 1
|
||
.endif
|
||
@if [ -f ${DESTDIR}/${DESTKERNNAME} ]; then \
|
||
echo "You need to make buildworld, installworld, and upgrade"; \
|
||
echo "before you can install a new kernel, because the"; \
|
- « Previous
- 1
- …
- 12
- 13
- 14
- Next »