Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
Development and Code Review
(Moderator:
fabian
) »
Building 22.1.6
« previous
next »
Print
Pages: [
1
]
Author
Topic: Building 22.1.6 (Read 2714 times)
DanieleZappasodi
Newbie
Posts: 5
Karma: 0
Building 22.1.6
«
on:
May 09, 2022, 01:34:41 pm »
Hello,
I'm trying to build Opnsense 22.1.6, and I'm facing some problems I didn't meet with Opnsense 21.1.x.
1. I run "make update" and "make dvd" (or make vm), the build completes successfully, but there aren't the packages.
I must run "make packages" and then I have all packages compiled.
Is it normal?
Furthermore the packages are *
.pkg
instead of *
.txz
.
Is it normal?
2. The tool chain uses
pkg-1.17.5_1.pkg
, while in the Opnsense 22.1.6 there is
pkg-1.16.3_1.txz
.
If I try to install a package built on my environment on an Opnsense 22.1.6 I get the following message
...
Installed packages to be UPGRADED:
pkg: 1.16.3_1 -> 1.17.5_1
Should I upgrade the pkg in the Opnsense 22.1.6 machine?
Is it possible to use the 1.16.3_1 in the build system?
3. If I create my own private repository from the compiled version, it produces version "opnsense 22.1.6
_10
" instead of "22.1.6".
If I configure the "Mirror" filed to point on an Opnsense system and click on "Check for updates", it requires to perform an upgrade to the "22.1.6", even if the system is already the "22.1.6".
Why there is this diffence?
I followed this guide
https://github.com/opnsense/tools/blob/master/README.md
to prepare the build system, as I did for Opnsense 21.1.x.
Thanks in advance,
Daniele
Logged
franco
Administrator
Hero Member
Posts: 17661
Karma: 1611
Re: Building 22.1.6
«
Reply #1 on:
May 09, 2022, 04:07:00 pm »
Make sure to use the 22.1.6 tags when building "22.1.6" to get a consistent state.... pkg 1.17 by FreeBSD ports was a huge issue for build infrastructure due to it being incompatible with the way pkg 1.16 was used. For tomorrow's 22.1.7 the upgrade of pkg was carried out and it looks like everything is back to working order.
Cheers,
Franco
Logged
DanieleZappasodi
Newbie
Posts: 5
Karma: 0
Re: Building 22.1.6
«
Reply #2 on:
May 10, 2022, 09:49:03 am »
Thank you Franco,
I wait for the 22.1.7.
In the while, what is the build directive to use the tag 22.1.6?
PRODUCT_VERSION=22.1.6 ?
Regards,
Daniele
Logged
franco
Administrator
Hero Member
Posts: 17661
Karma: 1611
Re: Building 22.1.6
«
Reply #3 on:
May 10, 2022, 12:04:46 pm »
Hi Daniele,
It's not documented but I think it was this...
# cd /usr/tools && make rewind VERSION=22.1.6
(or just checkout the "22.1.6" tag for each build repository manually -- tags that don't exist use their prior version tags, e.g. for src.git it's 22.1.5)
Cheers,
Franco
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
Development and Code Review
(Moderator:
fabian
) »
Building 22.1.6