That's a lotta commits.  Adding some packaging
and build changes.

Squashed commit of the following:

commit 0ea3978ff9a787868abdb2cea0dd0d568314005f
Author: Sean Fagan <sef@ixsystems.com>
Date:   Mon Jul 28 15:36:56 2014 -0700

    Remove commented-out lines.

commit 74df3cd433adbea4eefbaf3d0373157f27558fd6
Author: Sean Fagan <sef@ixsystems.com>
Date:   Mon Jul 28 15:12:32 2014 -0700

    More tweaks and changes.  Hopefully works with upgrades better now.

commit 01fe4eef14b2cfce17959e87cceb7745ace45651
Author: Sean Fagan <sef@ixsystems.com>
Date:   Mon Jul 28 12:10:26 2014 -0700

    A whole slew of more changes, related to getting it to build.
    And install.  And upgrade from ISO.

commit 105261bdde3ac1b13ef4a2b8c2dd31e30dc2035b
Author: Sean Fagan <sef@ixsystems.com>
Date:   Sun Jul 27 23:18:27 2014 -0700

    Some fairly major changes to how build is done.

    This makes a release into three packages.

commit 27b42e24f07c3181ad4adf5bb4c4359d4722710b
Author: Sean Fagan <sef@ixsystems.com>
Date:   Sat Jul 26 20:18:42 2014 -0700

    Some fairly major changes.  Not complete yet -- not sure how
    it's going to handle delta packages, really.  But it's getting
    there.

commit b6ee9efba020b873cd5e47bccce4cf09be41dfd9
Author: Sean Fagan <sef@ixsystems.com>
Date:   Sat Jul 26 19:59:23 2014 -0700

    Change the default conf file.

commit d1137214cc389545bb925930104a1b1fc1537efb
Author: Sean Fagan <sef@ixsystems.com>
Date:   Sat Jul 26 19:27:37 2014 -0700

    Don't put the packages into _.instufs -- that only slows down
    the installer boot time.  Significantly.

commit e49f31833b35e7d7efb2d27e2609a7f4bc49358a
Author: Sean Fagan <sef@ixsystems.com>
Date:   Fri Jul 25 17:03:18 2014 -0700

    Add an exclude list to the template file.

    When selecting directories to delete, reverse-sort so rmdir
    will work.

commit 4aeb97feec2e477f4cd38e4707c1dde85c882794
Merge: 5b06931 27f5070
Author: Sean Fagan <sef@ixsystems.com>
Date:   Fri Jul 25 12:25:50 2014 -0700

    Merge branch 'sef-install-rewrite' of gitserver.ixsystems.com:/git/repos/freenas-build/freenas into sef-install-rewrite

commit 5b0693186c27b8b40aceba8e21ce09928c9d0730
Author: Sean Fagan <sef@ixsystems.com>
Date:   Fri Jul 25 12:22:20 2014 -0700

    Don't use the old manifest to store the scripts -- that's all
    I was using from it, and it made the database file too large.

    Fix some errors that resulted in upgrade installs not working.

commit 3800cbd33ff41e8a26102f3bd1ce03fc69988acf
Author: Sean Fagan <sef@ixsystems.com>
Date:   Thu Jul 24 23:12:03 2014 -0700

    Not sure if it makes a difference, but do a VACUUM whenever
    deleting large amounts from the database.

commit b49d2c276d8c8fa63051d559a58d41e658cb5373
Author: Sean Fagan <sef@ixsystems.com>
Date:   Thu Jul 24 17:49:55 2014 -0700

    Various changes:

    1.  Use /data/pkgdb for the pkg database directory, because
    	/var is hidden by an mfs mount.  Should somwewhere else
    	be used?
    2.  Change install.sh to handle this.
    3.  When getting a package file, if the currently-installed version
    	is the same as the old version, don't look for a delta
    	package.
    4.  Fix an api change in update_freenas.  But this is unused now,
    	and should go away.

commit 4501fbbc8c80e428b3ad73bdabaa014a360cfaec
Author: Sean Fagan <sef@ixsystems.com>
Date:   Thu Jul 24 15:04:03 2014 -0700

    Next snapshot:  some minor tweaks, fixed usage message,
    got rid of create_manifest and create_package from the freenas
    install.

    Currently working on the ability to do an actual update.

commit 7d530351beb280fd4f588ce3e63717b061c46644
Author: Sean Fagan <sef@ixsystems.com>
Date:   Wed Jul 23 16:14:55 2014 -0700

    Some minor tweaks -- adding a -C option for update, passing it
    through, and allowing the config file to specify a temporary
    location.

    Also fix a problem with FindPackage where I was misusing the
    second parameter.  So stop using it.

commit ad641d3af0252cc4da3fcd91aed99d06d8099aa2
Author: Sean Fagan <sef@ixsystems.com>
Date:   Wed Jul 23 12:26:35 2014 -0700

    Clean up update.py a bit.

commit 8303240ac4fb9da47a8e96fdc66b6dafa733bccf
Author: Sean Fagan <sef@ixsystems.com>
Date:   Tue Jul 22 17:07:44 2014 -0700

    Allow "update check" to print out the changed packages.

commit 7b36fbf8201de6403ad0adde016d067fb83ce30c
Author: Sean Fagan <sef@ixsystems.com>
Date:   Tue Jul 22 16:35:30 2014 -0700

    Only print out directory archive additions if debug or verbose.

commit 032046f5d4fb696c97fc95dddcaf91b2ef1775d6
Author: Sean Fagan <sef@ixsystems.com>
Date:   Tue Jul 22 15:02:58 2014 -0700

    Use a consistent name for the Packages location.  Should this go into
    a constant?

commit 5dc625eaf150cc7186dd0f3904b6620c47d2149d
Author: Sean Fagan <sef@ixsystems.com>
Date:   Tue Jul 22 13:14:13 2014 -0700

    If no sequence number is given, default to the current time
    in seconds.  Duh.

    Clean up the nanobsd.sh script a bit.

commit d00951acb656662d73c346781c8657503d38f0c6
Author: Sean Fagan <sef@ixsystems.com>
Date:   Mon Jul 21 15:38:01 2014 -0700

    Rewrote the package / installation code.

    Not quite final here, but this installs from an ISO, and
    creates a package with a post-installation script, and
    generally seems to work reasonably well.

commit 440486f6508936222d8275763c82507e8d287f39
Author: Sean Fagan <sef@ixsystems.com>
Date:   Fri Jul 18 17:23:51 2014 -0700

    Some cleanup of the install script (not finished yet).
    When creating the ISO, remove the img.gz file.
    When creating the package(s), remove the old directory.
    Otherwise they kept piling up and I had a 1gb cdrom.

commit fdc214c67124afecbfa35caa05c2c7f81f6d0b19
Author: Sean Fagan <sef@ixsystems.com>
Date:   Thu Jul 17 14:27:57 2014 -0700

    When creating the package file, use the revision as part
    of the version.  Not fully ideal yet, but still better
    than nothing.

commit 78fb1274adf88c868a4f10432fbc93174c47eddc
Author: Sean Fagan <sef@ixsystems.com>
Date:   Tue Jul 15 16:30:07 2014 -0700

    Starting to clean up the install changes I made.

    This clean up is just for install.sh; I've got unrelated changes
    to the python scripts I added, which I'm doing in parallel elsewhere.

commit 5b1f85972d6401a27b90d7a7ab36228f2bcf9849
Author: Sean Fagan <sef@ixsystems.com>
Date:   Tue Jul 15 15:02:55 2014 -0700

    Install and upgrade via iso work.

commit 3d63afc86818b0ebcd122e3b0f0d0016755b6122
Author: Sean Fagan <sef@ixsystems.com>
Date:   Sat Jul 12 16:32:29 2014 -0700

    Snapshot of working code.

    This installs (but does not handle upgrades).

commit 2834fb2c7120aef1bbd5ea4598dd3e2e6b8a21f1
Author: Sean Fagan <sef@ixsystems.com>
Date:   Wed Jul 9 13:49:38 2014 -0700

    Hard-link the manifest to conf/base/etc

commit 075de9e9248723072faeda8298f226c5170b3a72
Author: Sean Fagan <sef@ixsystems.com>
Date:   Wed Jul 9 12:51:51 2014 -0700

    After discussion with Josh and Jordan, go back to having a
    separate /data partition.  This requires changes to how
    the disk is partitioned.

    Also, related to that, it turns out the data files are created
    as part of the build, and get installed with it.  Since that's
    not quite how the install works now, it needs to be copied over.
    Change the build and install to do that.

commit a4b587763a4fc45a3c8f0ebdd300c4d6ae5f4cb4
Author: Sean Fagan <sef@ixsystems.com>
Date:   Tue Jul 8 17:43:26 2014 -0700

    Tell tar to preserve permissions.

commit 94febcab824365890bdc50cd56ee188d95d2d31c
Author: Sean Fagan <sef@ixsystems.com>
Date:   Tue Jul 8 16:04:49 2014 -0700

    More changes.

commit 661f4a91c68734a0d03a206a96a960bb7902b085
Author: Sean Fagan <sef@ixsystems.com>
Date:   Tue Jul 8 15:25:22 2014 -0700

    First checkin of major changes for installation.

    Incomplete, but this includes changes to both the build
    and install process, and various scripts and modules
    to support that.

    This still doesn't boot multi-user.  Or handle upgrades.

commit b0d5c95b32fdd7f273ba8f58cec9fb2c205a3f90
Author: Sean Fagan <sef@ixsystems.com>
Date:   Sat Jul 12 16:36:46 2014 -0700

    Manually fix a merge conflict

commit 27f5070d43b8d34ae4aeac846ae6c6ed1397ef19
Author: Sean Fagan <sef@ixsystems.com>
Date:   Fri Jul 25 12:22:20 2014 -0700

    Don't use the old manifest to store the scripts -- that's all
    I was using from it, and it made the database file too large.

    Fix some errors that resulted in upgrade installs not working.

commit b55b050357a1926cdb4910f0fc2e253b74dcb5b6
Author: Sean Fagan <sef@ixsystems.com>
Date:   Thu Jul 24 23:12:03 2014 -0700

    Not sure if it makes a difference, but do a VACUUM whenever
    deleting large amounts from the database.

commit b92fd8abece13d4a975e4ab35a50566eedebef4e
Author: Sean Fagan <sef@ixsystems.com>
Date:   Thu Jul 24 17:49:55 2014 -0700

    Various changes:

    1.  Use /data/pkgdb for the pkg database directory, because
    	/var is hidden by an mfs mount.  Should somwewhere else
    	be used?
    2.  Change install.sh to handle this.
    3.  When getting a package file, if the currently-installed version
    	is the same as the old version, don't look for a delta
    	package.
    4.  Fix an api change in update_freenas.  But this is unused now,
    	and should go away.

commit 7c4220421b8d38a328b9edaef45657172aa79c7d
Author: Sean Fagan <sef@ixsystems.com>
Date:   Thu Jul 24 15:04:03 2014 -0700

    Next snapshot:  some minor tweaks, fixed usage message,
    got rid of create_manifest and create_package from the freenas
    install.

    Currently working on the ability to do an actual update.

commit d092e38ace6b9d94359bb5bf9190ab22314a1a3e
Author: Sean Fagan <sef@ixsystems.com>
Date:   Wed Jul 23 16:14:55 2014 -0700

    Some minor tweaks -- adding a -C option for update, passing it
    through, and allowing the config file to specify a temporary
    location.

    Also fix a problem with FindPackage where I was misusing the
    second parameter.  So stop using it.

commit beac4a360cd2a2abaf810dd7fe4e9cf0fac67b85
Author: Sean Fagan <sef@ixsystems.com>
Date:   Wed Jul 23 12:26:35 2014 -0700

    Clean up update.py a bit.

commit 6dbdfdafdef8c88b26e3b0518a727fe5b91196f1
Author: Sean Fagan <sef@ixsystems.com>
Date:   Tue Jul 22 17:07:44 2014 -0700

    Allow "update check" to print out the changed packages.

commit 75c51919161dad6b45a0d5357379bb4f1c013342
Author: Sean Fagan <sef@ixsystems.com>
Date:   Tue Jul 22 16:35:30 2014 -0700

    Only print out directory archive additions if debug or verbose.

commit d0b4ef81e82d972ed66405ee9fde025ad4880058
Author: Sean Fagan <sef@ixsystems.com>
Date:   Tue Jul 22 15:02:58 2014 -0700

    Use a consistent name for the Packages location.  Should this go into
    a constant?

commit 875a213fb0735036c7a0af34f89d5a0e9fff311e
Author: Sean Fagan <sef@ixsystems.com>
Date:   Tue Jul 22 13:14:13 2014 -0700

    If no sequence number is given, default to the current time
    in seconds.  Duh.

    Clean up the nanobsd.sh script a bit.

commit 3b0472b6552b23ef84586f4e07b0fb605eac35f6
Author: Sean Fagan <sef@ixsystems.com>
Date:   Mon Jul 21 15:38:01 2014 -0700

    Rewrote the package / installation code.

    Not quite final here, but this installs from an ISO, and
    creates a package with a post-installation script, and
    generally seems to work reasonably well.

commit 87626455b5e1877fd1273bd57640916000c8142e
Author: Sean Fagan <sef@ixsystems.com>
Date:   Fri Jul 18 17:23:51 2014 -0700

    Some cleanup of the install script (not finished yet).
    When creating the ISO, remove the img.gz file.
    When creating the package(s), remove the old directory.
    Otherwise they kept piling up and I had a 1gb cdrom.

commit 29ebae2cd3c6f0fef7a5b97b57e4c26fea15fb0a
Author: Sean Fagan <sef@ixsystems.com>
Date:   Thu Jul 17 14:27:57 2014 -0700

    When creating the package file, use the revision as part
    of the version.  Not fully ideal yet, but still better
    than nothing.

commit f8a332f52888759e0dc61aab796f36c060157b6f
Author: Sean Fagan <sef@ixsystems.com>
Date:   Tue Jul 15 16:30:07 2014 -0700

    Starting to clean up the install changes I made.

    This clean up is just for install.sh; I've got unrelated changes
    to the python scripts I added, which I'm doing in parallel elsewhere.

commit ca6f5e1c0771e1ff7b97e56e8a7436796da35e3f
Author: Sean Fagan <sef@ixsystems.com>
Date:   Tue Jul 15 15:02:55 2014 -0700

    Install and upgrade via iso work.

commit 5b4aca6fcdc1076cda988cf93e6f6e506fd2768e
Author: Sean Fagan <sef@ixsystems.com>
Date:   Sat Jul 12 16:32:29 2014 -0700

    Snapshot of working code.

    This installs (but does not handle upgrades).

commit c42bde46ae2beced0de6b034d7cef35a4314533a
Author: Sean Fagan <sef@ixsystems.com>
Date:   Wed Jul 9 13:49:38 2014 -0700

    Hard-link the manifest to conf/base/etc

commit fd3f4972cd7f5b0ccf58076a9a26118e27917aa4
Author: Sean Fagan <sef@ixsystems.com>
Date:   Wed Jul 9 12:51:51 2014 -0700

    After discussion with Josh and Jordan, go back to having a
    separate /data partition.  This requires changes to how
    the disk is partitioned.

    Also, related to that, it turns out the data files are created
    as part of the build, and get installed with it.  Since that's
    not quite how the install works now, it needs to be copied over.
    Change the build and install to do that.

commit 7f3d8be68f88ce4dda93a2659ea5c17ac2386acf
Author: Sean Fagan <sef@ixsystems.com>
Date:   Tue Jul 8 17:43:26 2014 -0700

    Tell tar to preserve permissions.

commit 00343fa378069c56a052ed4b5e1d625442daeed9
Author: Sean Fagan <sef@ixsystems.com>
Date:   Tue Jul 8 16:04:49 2014 -0700

    More changes.

commit 3b0a85594883047fdb9b7b555791e091b439f58b
Author: Sean Fagan <sef@ixsystems.com>
Date:   Tue Jul 8 15:25:22 2014 -0700

    First checkin of major changes for installation.

    Incomplete, but this includes changes to both the build
    and install process, and various scripts and modules
    to support that.

    This still doesn't boot multi-user.  Or handle upgrades.

commit 25e046df10c7667178db05bd0f6dcb8848f1fc49
Author: Sean Fagan <sef@ixsystems.com>
Date:   Sat Jul 12 16:36:46 2014 -0700

    Manually fix a merge conflict