tiny binary snapshot updates

Snapshots are built almost every day. Installing them requires downloading hundreds of megabytes, which can take a tediously long time, even though the source changes have been minimal.

One solution is to build from source, but there are problems with that, too. And if somebody's already done the work to build a snapshot, why not just use it? The problem is one of distribution, not production.

Because the changes in snapshots are fairly small, we can distribute them as binary patches. Creating the patches is the hard part, but I've taken care of that. All you need is the client script which checks for updates and applies them.

What you need:

First, download all the pieces. Create /var/db/bluesnapper/{etc,xetc} directories. Extract the etc and xetc sets in them. Yes, this means you will have etc/etc and xetc/etc directories. Remember to use tar's p flag.

As root, run bluesnapper.pl. It will figure out what snapshot you are at, download, and install updates. bluesnapper will in turn run sysmerge, so don't leave it unattended.

How it works:

bluesnapper is smart enough to know about bsd and bsd.mp and will patch the right file. It will skip over any file that doesn't have a matching md5, so you can keep any custom kernels or other binaries.

Todo list:

Things you should know:

Enjoy.

That's all.