Make the bootonly CD smaller by discarding static libraries that are not
useful without a toolchain.
This commit is contained in:
parent
6339980d37
commit
fd8e41eac7
@ -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