OPNsense Forum

English Forums => Documentation and Translation => Topic started by: interfaSys on February 02, 2016, 05:44:10 PM

Title: How-to: Manually build and update the GUI
Post by: interfaSys on February 02, 2016, 05:44:10 PM
This is for people maintaining their ports themselves and who wish to be able to manually update the GUI without overwriting anything else.


WARNING: That will only work from 16.1.7 as you need an updated makefile in /usr/core



Get the source code


# pkg install git gettext-tools
# cd /usr
# rm -rf src ports
# git clone https://github.com/opnsense/ports
# git clone https://github.com/opnsense/core


Updating

Update all ports

# cd /usr/ports
# git checkout 16.1.8


Use the latest tagged release instead of 16.1.8.
Then update all your ports the way you usually do it. Per example with portmaster it would be

# portmaster -a

Install the updated OPNsense GUI.

# cd /usr/core
# git checkout 16.1.8
# make package
# pkg add -f opnsense-16.1.8.txz


Update base and kernel

# opensense-update -bkr 16.1.8

Reboot


Title: Re: How-to: Manually build and update the GUI
Post by: franco on February 02, 2016, 07:58:15 PM
Neat, thanks for posting. :)
Title: Re: How-to: Manually build and update the GUI
Post by: franco on February 03, 2016, 09:38:24 AM
Small correction: installation should be "pkg add -f 16.1.1/All/opnsense-16.1.1.txz"
Title: Re: How-to: Manually build and update the GUI
Post by: interfaSys on February 04, 2016, 12:35:58 PM
Quote from: franco on February 03, 2016, 09:38:24 AM
Small correction: installation should be "pkg add -f 16.1.1/All/opnsense-16.1.1.txz"
Thanks, fixed :)
Title: Re: How-to: Manually build and update the GUI
Post by: interfaSys on March 11, 2016, 12:27:04 PM
Updated the OP since it's now much simpler for people who don't need to create images.