Skip to content

Commit

Permalink
Don't install src while creating box
Browse files Browse the repository at this point in the history
This speeds up box creation a lot.  The box creation is using pkg(1)
to install software so doesn't need source files.  It doesn't make much
sense installing all the source files and then deleting them during
cleanup stage.
  • Loading branch information
lwhsu committed Dec 17, 2017
1 parent 919cf3c commit d8e7e9e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion freebsd/http/freebsd-11/installerconfig
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
DISTRIBUTIONS="base.txz lib32.txz kernel.txz src.txz"
DISTRIBUTIONS="base.txz lib32.txz kernel.txz"

# for variations in the root disk device name between VMware and Virtualbox
if [ -e /dev/ada0 ]; then
Expand Down
1 change: 0 additions & 1 deletion freebsd/scripts/cleanup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,5 @@ rm -f /var/db/freebsd-update/*-rollback;
rm -rf /var/db/freebsd-update/install.*;
rm -rf /boot/kernel.old;
rm -f /boot/kernel*/*.symbols;
rm -rf /usr/src/*;
rm -f /*.core;
rm -rf /var/cache/pkg;

0 comments on commit d8e7e9e

Please sign in to comment.