OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • English Forums »
  • Documentation and Translation (Moderator: fabian) »
  • How-to: Manually build and update the GUI
« previous next »
  • Print
Pages: [1]

Author Topic: How-to: Manually build and update the GUI  (Read 24671 times)

interfaSys

  • Full Member
  • ***
  • Posts: 165
  • Karma: 13
    • View Profile
    • interfaSys ltd
How-to: Manually build and update the GUI
« 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


Code: [Select]
# 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

Code: [Select]
# 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

Code: [Select]
# portmaster -a
Install the updated OPNsense GUI.

Code: [Select]
# cd /usr/core
# git checkout 16.1.8
# make package
# pkg add -f opnsense-16.1.8.txz

Update base and kernel

Code: [Select]
# opensense-update -bkr 16.1.8
Reboot


« Last Edit: March 11, 2016, 12:25:55 pm by interfaSys »
Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 13936
  • Karma: 1208
    • View Profile
Re: How-to: Manually build and update the GUI
« Reply #1 on: February 02, 2016, 07:58:15 pm »
Neat, thanks for posting. :)
Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 13936
  • Karma: 1208
    • View Profile
Re: How-to: Manually build and update the GUI
« Reply #2 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"
Logged

interfaSys

  • Full Member
  • ***
  • Posts: 165
  • Karma: 13
    • View Profile
    • interfaSys ltd
Re: How-to: Manually build and update the GUI
« Reply #3 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 :)
Logged

interfaSys

  • Full Member
  • ***
  • Posts: 165
  • Karma: 13
    • View Profile
    • interfaSys ltd
Re: How-to: Manually build and update the GUI
« Reply #4 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.
Logged

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • English Forums »
  • Documentation and Translation (Moderator: fabian) »
  • How-to: Manually build and update the GUI
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2023 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2