diff options
author | jmg <jmg@FreeBSD.org> | 2006-12-30 20:27:24 +0000 |
---|---|---|
committer | jmg <jmg@FreeBSD.org> | 2006-12-30 20:27:24 +0000 |
commit | 58eb8fbb8fb38737f6b1ba5370b2e52c3944c3a8 (patch) | |
tree | 65c459e17957c48f110858d3be40be0d614ae33a /sys/conf/kern.post.mk | |
parent | ab5fbc66c9f640265c898dc11bd49a56b10fa85a (diff) | |
download | FreeBSD-src-58eb8fbb8fb38737f6b1ba5370b2e52c3944c3a8.zip FreeBSD-src-58eb8fbb8fb38737f6b1ba5370b2e52c3944c3a8.tar.gz |
now that MFS_IMAGE is in the FULLKERNEL section, use FULLKERNEL instead of
KERNEL_KO, this fixes MFS_IMAGE on a debugging kernel...
Submitted by: Neelkanth Natu
Diffstat (limited to 'sys/conf/kern.post.mk')
-rw-r--r-- | sys/conf/kern.post.mk | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/conf/kern.post.mk b/sys/conf/kern.post.mk index 5f04f4e..d1ed462 100644 --- a/sys/conf/kern.post.mk +++ b/sys/conf/kern.post.mk @@ -91,13 +91,13 @@ ${FULLKERNEL}: ${SYSTEM_DEP} vers.o .endif ${SYSTEM_LD_TAIL} .if defined(MFS_IMAGE) - @dd if="${MFS_IMAGE}" ibs=8192 of="${KERNEL_KO}" \ - obs=`strings -at d "${KERNEL_KO}" | \ + @dd if="${MFS_IMAGE}" ibs=8192 of="${FULLKERNEL}" \ + obs=`strings -at d "${FULLKERNEL}" | \ grep "MFS Filesystem goes here" | awk '{print $$1}'` \ oseek=1 conv=notrunc 2>/dev/null && \ - strings ${KERNEL_KO} | \ + strings ${FULLKERNEL} | \ grep 'MFS Filesystem had better STOP here' > /dev/null || \ - (rm ${KERNEL_KO} && echo 'MFS image too large' && false) + (rm ${FULLKERNEL} && echo 'MFS image too large' && false) .endif .if !exists(${.OBJDIR}/.depend) |