Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
20.7 Legacy Series
»
build from alternative src?
« previous
next »
Print
Pages: [
1
]
Author
Topic: build from alternative src? (Read 2316 times)
moonmoonbird
Newbie
Posts: 26
Karma: 0
build from alternative src?
«
on:
October 22, 2020, 05:13:55 am »
hi, i want to build dvd image from source and replace /usr/src with freebsd12.1, is that possible?
if possible, just replace /usr/src with freebsd src or something else? and what is the command to rebuild from replaced source ? thanks in advance!
Logged
mimugmail
Hero Member
Posts: 6766
Karma: 494
Re: build from alternative src?
«
Reply #1 on:
October 22, 2020, 07:29:48 am »
What is your intention? I think you can replace the content of src but maybe you have to remove hardendedbsd options in /usr/tools configs. Just a guess ...
Logged
WWW:
www.routerperformance.net
Support plans:
https://www.max-it.de/en/it-services/opnsense/
Commercial Plugins (German):
https://opnsense.max-it.de/
moonmoonbird
Newbie
Posts: 26
Karma: 0
Re: build from alternative src?
«
Reply #2 on:
October 22, 2020, 11:12:05 am »
Thanks for your reply, i have tried replace src with freebsd 12.1 and successfully compiled to iso file and installed.
the command i used is "make prefetch-packages,base,kernel dvd VERSION=20.7", so how to prove that the system is replaced successfully?
as you metioned, removing hardendbsd is also what exactly i need. At very beginning, I installed some packages and self developed programs, but all have been flushed after reboot, and some directories are read only, so some packages cant be installed, and in the freebsd12.1, i can execute "pkg install linux_base-c7", and successful installed, but in the opnsense or custom builded system, i cant install it. so maybe it is related to hardendbsd.
can you point out which option is to remove hardendbsd and how, thanks you very much.
Logged
mimugmail
Hero Member
Posts: 6766
Karma: 494
Re: build from alternative src?
«
Reply #3 on:
October 22, 2020, 12:12:24 pm »
No I can't, since I'm just guessing. You have to grep /usr/tools for HBSD and look at the scripts.
Logged
WWW:
www.routerperformance.net
Support plans:
https://www.max-it.de/en/it-services/opnsense/
Commercial Plugins (German):
https://opnsense.max-it.de/
moonmoonbird
Newbie
Posts: 26
Karma: 0
Re: build from alternative src?
«
Reply #4 on:
October 22, 2020, 12:39:12 pm »
Alright,still thank you for your suggestions, that is an direction, i will try you method.
Logged
moonmoonbird
Newbie
Posts: 26
Karma: 0
Re: build from alternative src?
«
Reply #5 on:
October 22, 2020, 12:57:45 pm »
i just build another, with fully replaced /usr/src with freebsd, generate an iso file, but this iso can not boot up,
it said : cant load 'kernel' in brief.
so what is the problem?
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
Archive
»
20.7 Legacy Series
»
build from alternative src?