Remove kernel and module symbol files from disc1 (and the livecd if it

is enabled).  This saves around 80MB (for i386) on the ISO images.

Note that this is only from the install media, not the installed
system where the symbols are still installed, if part of the release.

Should anybody want the symbols which match disc1/livecd, they can
just be extracted from the kernel distribution files.

Reviewed by:	kensmith
This commit is contained in:
Simon L. B. Nielsen 2007-11-22 20:06:50 +00:00
parent 82cfdd5adc
commit f24c80e2ef
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=173847

View File

@ -921,6 +921,7 @@ cdrom.1:
done
@echo "Copy GENERIC kernel to boot area"
@cp -Rp ${RD}/kernels/GENERIC/ ${CD_LIVEFS}/boot/kernel
@rm -f ${CD_LIVEFS}/boot/kernel/*.symbols
@rm -f ${CD_LIVEFS}/.profile
@cp ${.CURDIR}/fixit.profile ${CD_LIVEFS}/.profile
@ln -sf /rescue ${CD_LIVEFS}/stand