summaryrefslogtreecommitdiffstats
path: root/release
diff options
context:
space:
mode:
authorsimon <simon@FreeBSD.org>2007-11-22 20:06:50 +0000
committersimon <simon@FreeBSD.org>2007-11-22 20:06:50 +0000
commitbcc733d16f9da261165e06523b2dd5fe314ffe48 (patch)
tree2b81fea5ad274a5e0599ba358a03ea439ed2b022 /release
parentdbffaeda474abba82174e7d4fe5b60d77797500a (diff)
downloadFreeBSD-src-bcc733d16f9da261165e06523b2dd5fe314ffe48.zip
FreeBSD-src-bcc733d16f9da261165e06523b2dd5fe314ffe48.tar.gz
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
Diffstat (limited to 'release')
-rw-r--r--release/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/release/Makefile b/release/Makefile
index c507eab..a088b46 100644
--- a/release/Makefile
+++ b/release/Makefile
@@ -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
OpenPOWER on IntegriCloud