Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
Development and Code Review
(Moderator:
fabian
) »
Can't figure how to update my system to my own built sets
« previous
next »
Print
Pages: [
1
]
Author
Topic: Can't figure how to update my system to my own built sets (Read 2686 times)
Cubox
Newbie
Posts: 3
Karma: 0
Can't figure how to update my system to my own built sets
«
on:
December 09, 2018, 05:39:06 pm »
Hi!
I am trying to install my freshly built sets to my system, while using the build system you guys provide.
I have built the required sets (using make sets in the tools repo), and left with the files in /usr/local/opnsense/build/path
I cannot figure how to simply apply those updates to my system, using opnsense-update.
I was able to make it install my base/kernel by using the -l option, and throwing various options until it did apply my base/kernel, but I cannot figure how to make it use my packages.
Either using -p will make pkg fetch packages online, -U extracts the packages, but -P does nothing.
All of this is while using the -l option.
Assuming I have my sets in /usr/local/opnsense/build/18.7/sets, how can I apply them and force an update using my own binaries? (base+kernel+packages(including ports and plugins))
Thanks
«
Last Edit: December 09, 2018, 06:16:31 pm by Cubox
»
Logged
franco
Administrator
Hero Member
Posts: 17661
Karma: 1611
Re: Can't figure how to update my system to my own built sets
«
Reply #1 on:
December 10, 2018, 09:00:02 pm »
Hi,
Let me get back to own packages a bit later... here are the kernel and base updates:
# opnsense-update -i -k -b -r RELEASENAME -l /path/to/sets/directory
-i => insecure, no signature checking, fails otherwise
-k => update kernel
-b => update base
-r RELEASENAME => the version number of the release you built, e.g. if you had kernel-18.7.4_1-amd64.txz it's 18.7.4_1 as the rest is reassembled and figured out from opnsense-update
-l /path/to/sets/directory => that's a lower L for local directory
and if that worked fine...
# reboot
Packages are a bit more complicated. There is a major update sequence, but it has a drawback... more on this later if the base/kernel is working for you.
Cheers,
Franco
Logged
Cubox
Newbie
Posts: 3
Karma: 0
Re: Can't figure how to update my system to my own built sets
«
Reply #2 on:
December 22, 2018, 12:54:10 am »
Thanks franco for the answer, but base and kernel I figured the command myself (with difficulty)
It's the packages that's the problem, I would love your help on that
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
Development and Code Review
(Moderator:
fabian
) »
Can't figure how to update my system to my own built sets