Strip the .comment section out from the BOOTMFS kernel.

This commit is contained in:
Ruslan Ermilov 2003-03-31 11:16:53 +00:00
parent a508b2a6c1
commit dbc9acf4e4
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=112862

View File

@ -1068,7 +1068,7 @@ doMFSKERN:
@mkdir ${RD}/image.${FSIMAGE}
@cd ${RD}/kernels && \
(chflags noschg BOOTMFS || true) && \
${WMAKEENV} strip BOOTMFS && \
${WMAKEENV} strip -R .comment BOOTMFS && \
cp BOOTMFS BOOTMFS.${FSIMAGE} && \
[ -r BOOTMFS.hints ] && mv BOOTMFS.hints BOOTMFS.${FSIMAGE}.hints
mv ${RD}/kernels/BOOTMFS ${RD}/image.${FSIMAGE}/kernel