freebsd / crochet

Build FreeBSD images for RaspberryPi, BeagleBone, PandaBoard, and others.
BSD 2-Clause "Simplified" License
612 stars 188 forks source link

Don't run portsnap if usr/ports/Makefile exists #27

Closed evilgjb closed 10 years ago

evilgjb commented 10 years ago

When using svn to bootstrap a chroot environment for building with crochet, the ports tree is clobbered by the portsnap extract phase.

I think if usr/ports/Makefile exists, that is a reasonable check that the ports tree already exists, and that portsnap can be skipped.

What do you think?

kientzle commented 10 years ago

I've committed a new 'option UsrPorts' that supports the behavior described above. I think this fills your needs, so I'm closing this pull request.