OPNsense Forum
Archive => 17.1 Legacy Series => Topic started by: ajee on February 28, 2017, 04:18:45 pm
-
Hi,
I just follow the instruction as the opnsense git said:
# pkg install git
# cd /usr
# rm -rf src ports
# git clone https://github.com/opnsense/plugins
# git clone https://github.com/opnsense/ports
# git clone https://github.com/opnsense/tools
# git clone https://github.com/opnsense/core
# git clone https://github.com/opnsense/src
# cd tools
# make cdrom
All these done on a newly installed FreeBSD 11.0. At the beginning I got some error like:
>>> Running build step: base
>>> /usr/src does not match expected branch: stable/17.1
>>> To continue anyway set SRCBRANCH=master
*** Error code 1
After I do on each directory by "git checkout stable/17.1" it can go on but finally failed at:
Installing gettext-tools-0.19.8.1...
`-- Installing gettext-runtime-0.19.8.1_1...
`-- Extracting gettext-runtime-0.19.8.1_1: 100%
Extracting gettext-tools-0.19.8.1: 100%
>>> Locking packages in /usr/obj/usr/tools/config/17.1/OpenSSL:amd64: -a
>>> Setting up /usr/core copy in /usr/obj/usr/tools/config/17.1/OpenSSL:amd64
fatal: ambiguous argument '17.1.2': unknown revision or path not in the working tree.
Use '--' to separate paths from revisions, like this:
'git <command> [<revision>...] -- [<file>...]'
*** Error code 128
I wonder why only me to ask this building problem, is there anything doing wrong? The full log as attached, please help to troubleshoot what happens.
Thanks
-
Hi ajee,
Sorry, forgot to push the core.git tag for 17.1.2.
# cd /usr/tools
# make update-core
Cheers,
Franco
-
Great, it works, finally I got the image :D
-
Yay. 8)
-
hi, i followed the instruction as written in the tools readme, and also did "make update-core" but still complains:
>>> Running build step: base
>>> /usr/src does not match expected branch: stable/17.1
>>> To continue anyway set SRCBRANCH=master
*** Error code 1
how can i fix that ?
uname -a
11.0-RELEASE-p1 FreeBSD 11.0-RELEASE-p1 #0 r306420: Thu Sep 29 01:43:23 UTC 2016
thanks
-
ok.. reading in the forum here i found this:
cd /usr/src && git checkout stable/17.1
cd ../tools
make dvd
now its doing something ... ;)
-
Hi Bobbis,
in that case...
# make update-src
;)
Cheers,
Franco