mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-12-04 05:58:57 +00:00
Make the bootonly CD smaller by discarding static libraries that are not
useful without a toolchain.
This commit is contained in:
parent
e2e7c62edc
commit
01dae98e72
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=223133
@ -111,8 +111,7 @@ system: packagesystem
|
||||
# Install system
|
||||
-mkdir ${.OBJDIR}/release
|
||||
cd ${WORLDDIR} && ${IMAKE} installkernel installworld distribution \
|
||||
DESTDIR=${.OBJDIR}/release WITHOUT_RESCUE=1
|
||||
-rm ${.OBJDIR}/release/boot/kernel/*.symbols
|
||||
DESTDIR=${.OBJDIR}/release WITHOUT_RESCUE=1 WITHOUT_KERNEL_SYMBOLS=1
|
||||
# Copy distfiles
|
||||
mkdir ${.OBJDIR}/release/usr/freebsd-dist
|
||||
cp ${.OBJDIR}/*.txz ${.OBJDIR}/MANIFEST \
|
||||
@ -136,8 +135,9 @@ bootonly: packagesystem
|
||||
WITHOUT_BIND_DNSSEC=1 WITHOUT_BIND_ETC=1 WITHOUT_BIND_MTREE=1 \
|
||||
WITHOUT_BIND_NAMED=1 WITHOUT_GAMES=1 WITHOUT_GROFF=1 \
|
||||
WITHOUT_INSTALLLIB=1 WITHOUT_LIB32=1 WITHOUT_MAIL=1 \
|
||||
WITHOUT_NCP=1 WITHOUT_TOOLCHAIN=1 WITHOUT_RESCUE=1 WITHOUT_DICT=1
|
||||
-rm ${.OBJDIR}/bootonly/boot/kernel/*.symbols
|
||||
WITHOUT_NCP=1 WITHOUT_TOOLCHAIN=1 WITHOUT_PROFILE=1 \
|
||||
WITHOUT_INSTALLIB=1 WITHOUT_RESCUE=1 WITHOUT_DICT=1 \
|
||||
WITHOUT_KERNEL_SYMBOLS=1
|
||||
# Copy manifest only (no distfiles) to get checksums
|
||||
mkdir ${.OBJDIR}/bootonly/usr/freebsd-dist
|
||||
cp ${.OBJDIR}/MANIFEST ${.OBJDIR}/bootonly/usr/freebsd-dist
|
||||
|
Loading…
Reference in New Issue
Block a user