Skip to content

Cloudxtreme/freenas-build

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Building / Updating FreeNAS 10

To update an existing FreeNAS 10 instance that you are using for development purposes:

  • make update
  • make ports
  • make reinstall-package package=freenas host=root@1.2.3.4

Where 1.2.3.4 is the IP address of your development platform. SSH will be used to push and install the new packages onto that host.

To build FreeNAS 10 from scratch (experts only):

Requirements:

  • Your build environment must be FreeBSD 10.2-RELEASE or FreeBSD 10-STABLE (building on FreeBSD 9 or 11 is not supported at this time).

  • An amd64 capable processor. 8GB of memory, or an equal/greater amount of swap space, is also required.

  • You will need the following ports/packages when compiling anything FreeNAS-related:

    • ports-mgmt/poudriere-devel
    • devel/git
    • sysutils/cdrtools
    • archivers/pxz
    • lang/python (2.7 or later, with THREADS support)
    • sysutils/grub2-pcbsd
    • sysutils/xorriso
    • www/npm012
    • www/node012
    • devel/gmake

    (and all the dependencies that these ports/pkgs install, of course)

    You can also use make bootstrap-pkgs to let it install required dependencies automatically. It will only install whats listed in the Makefile you will need to install www/npm012 and www/node012 and textproc/py-sphinx_numfig from the ports systems as there are no packages available.

Building the System Quickstart Flow:

Note: All these commands must be run as root.

% make checkout
% make release
  • Update the source tree to pull in new source code changes
% make update

This will also fetch TrueOS and ports for the build from github.

The End Result:

If your build completes successfully, you'll have release bits in the _BE directory.

About

FreeNAS 10 Build System

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 95.7%
  • Makefile 2.2%
  • Shell 2.1%