History log of /freebsd-10-stable/tools/tools/sysbuild/
Revision Date Author Comments
256281 10-Oct-2013 gjb

Copy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation


255637 17-Sep-2013 phk

Don't attempt to build ports with missing dependencies.

Approved by: re (gjb)


249959 26-Apr-2013 eadler

Remove the WITH_IDEA option and build it unconditionally.
The European version of the patent expired in 2011.
The US version of the patent expired in 2012 or prior.

Reviewed by: des
No objection from: cperciva, ehaupt


244269 15-Dec-2012 phk

Update to the new and brighter pkg world


238704 22-Jul-2012 phk

Derive FREEBSD_PART from /etc/fstab, and make it full device name.

Give suggestion for next steps when done.

Inspired by patches from: Flemming "F3" Jacobsen


238702 22-Jul-2012 phk

Replace hardcoded /mnt with ${SBMNT} which defaults to /mnt.sysbuild

Submitted by: Flemming "F3" Jacobsen


228975 30-Dec-2011 uqs

Spelling fixes for tools/

Add some $FreeBSD$ tags so svn will allow the commit.


226672 23-Oct-2011 phk

Add a "-P olddistfiles" facility to prefetch ports distfiles, using an
old distfile directory as primary source:

mkdir /freebsd/ports/distfiles.old
mv /freebsd/ports/distfiles/* /freebsd/ports/distfiles.old
sh sysbuild.sh -c $yourconfig -P /freebsd/ports/distfiles.old
rm -rf /freebsd/ports/distfiles.old

Unfortunately bsd.ports.mk does not attempt to use a hard-link so
while this runs you need diskspace for both your old and your "new"
distfiles.


218766 17-Feb-2011 phk

Improve the check for ports which have gone missing, and just ignore
them. We want a run to perform as much work as possible before it
gives up.


217559 18-Jan-2011 phk

Make sure the PKGDIR exists before we move stuff into it.


215770 23-Nov-2010 phk

Don't checksum distfiles twice if they match the first time.


215767 23-Nov-2010 phk

Optimize the ports recurser a bit more.


215765 23-Nov-2010 phk

Improve the ports-dependency resolver by truncating the recursion if
we already did the target port, and by leaving behind a /tmp/_.plist.dot
which documents which ports pulled in what other ports.


212173 03-Sep-2010 phk

We need to copy the ports config files before we launch the prefetch


200096 04-Dec-2009 phk

Add disk-magic for amd64: same as i386.

Pass PORTS_OPTS wherever we invoke ports makefiles

Add a logfile where we can see the progress of distfile prefetching


190748 05-Apr-2009 phk

Remember to clear the ports list before generation for prefetch


190209 21-Mar-2009 phk

Wrap a long line.

Save a copy of the CONFIGFILES before we spam them.


188117 04-Feb-2009 phk

Get the right system makefiles for make distribution.


187372 17-Jan-2009 phk

Fix typo

Spotted by: juli


187371 17-Jan-2009 phk

Release the evil twin of nanobsd.sh: sysbuild.sh

quoth the README:

I have been running -current on my laptop since before FreeBSD 2.0 was
released and along the way developed this little trick to making the
task easier.

sysbuild.sh is a way to build a new FreeBSD system on a computer from
a specification, while leaving the current installation intact.

sysbuild.sh assume you have two partitions that can hold your rootfs
and can be booted, and roughly speaking, all it does is build a new
system into the one you don't use, from the one you do use.

A partition named /freebsd is assumed to be part of your layout, and
that is where the sources and ports will be found.

If you know how nanobsd works, you will find a lot of similarity.