OPNsense Forum

Archive => 20.1 Legacy Series => Topic started by: OzTechGeek on July 17, 2020, 11:57:07 pm

Title: How To Create Updated ISO
Post by: OzTechGeek on July 17, 2020, 11:57:07 pm
Hi All,

New to OPNsense/FreeBSD and busy testing/building to replace my EdgeRouter,

I was wondering how do I get/build the latest version in ISO format? Is there a way to use svf, zsync, jigdo, xdelta or something similar to build an updated ISO? I'm not looking to add any additional packages to the default install or remove any, just want to always have the most recent ISO ready to install without having to do additional update installs after initial setup.

Please let me know if anyone can help. Thanks
Title: Re: How To Create Updated ISO
Post by: mimugmail on July 18, 2020, 06:43:28 am
https://github.com/opnsense/tools

make dvd
Title: Re: How To Create Updated ISO
Post by: OzTechGeek on July 19, 2020, 04:05:19 am
https://github.com/opnsense/tools

make dvd

@mimugmail thanks for the info, was hoping for a simplier way than rebuilding from sources, becuase does'nt it take "hours" for the build process?

Also attempting to setup a build system for the first time, and not even on step 1 and already ran into an issue and not sure what to do:

Code: [Select]
root@freebsd:~ # pkg
The package management tool is not yet installed on your system.
Do you want to fetch and install it now? [y/N]: y
Bootstrapping pkg from pkg+http://pkg.FreeBSD.org/FreeBSD:11:amd64/quarterly, please wait...
Verifying signature with trusted certificate pkg.freebsd.org.2013102301... done
Installing pkg-1.14.6...
Newer FreeBSD version for package pkg:
To ignore this error set IGNORE_OSVERSION=yes
- package: 1103000
- running kernel: 1102000
Ignore the mismatch and continue? [Y/n]: n

Code: [Select]
root@freebsd:~ # freebsd-version
11.2-RELEASE-p15
Title: Re: How To Create Updated ISO
Post by: mimugmail on July 19, 2020, 06:34:52 am
Just stick at 11.2. In two weeks we have 20.7 with 12.1 and since last week you can also build 20.7 ISOs based on 12.1 as build OS.

If you need this internally, why dont you take an image, install, update to latest and take a snapshop via clonezilla or similar to roll this out on other devices?