Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
Development and Code Review
(Moderator:
fabian
) »
Making iterative changes to core.git
« previous
next »
Print
Pages: [
1
]
Author
Topic: Making iterative changes to core.git (Read 3754 times)
lattera
Full Member
Posts: 207
Karma: 82
Making iterative changes to core.git
«
on:
May 18, 2020, 06:47:49 pm »
It has been a while since I last did any development in core.git. I've made my initial DVD ISO image of a custom build of OPNsense 20.7. After building that initial DVD ISO, I made changes to core.git.
I tried running `make clean-dvd clean-core dvd` to try to pick up the changes I made to core.git (related to Suricata), but the newly-built DVD ISO didn't pick up the changes. Am I missing a step or doing something wrong?
Any non-XKCD pointers would be very much appreciated. Thanks!
Logged
lattera
Full Member
Posts: 207
Karma: 82
Re: Making iterative changes to core.git
«
Reply #1 on:
May 19, 2020, 03:10:01 am »
I even did a `make clean` to start afresh and my changes to core.git aren't being pulled in. What am I doing wrong?
Logged
franco
Administrator
Hero Member
Posts: 17661
Karma: 1611
Re: Making iterative changes to core.git
«
Reply #2 on:
May 19, 2020, 11:15:48 am »
Hi Shawn,
Have you committed your changes? Have you set COREBRANCH= accordingly? Are you using a production or development package?
It might help inspecting the packages set to see which version got built.
Cheers,
Franco
Logged
lattera
Full Member
Posts: 207
Karma: 82
Re: Making iterative changes to core.git
«
Reply #3 on:
May 19, 2020, 02:31:03 pm »
I haven't committed the changes. I'm on the master branch in tools.git and set SETTINGS to 20.7. Do the changes need to be committed before the build framework picks them up?
Output of `git status` in core.git:
On branch master
Your branch is up to date with 'origin/master'.
Changes not staged for commit:
(use "git add <file>..." to update what will be committed)
(use "git restore <file>..." to discard changes in working directory)
modified: src/opnsense/mvc/app/controllers/OPNsense/IDS/forms/generalSettings.xml
modified: src/opnsense/mvc/app/models/OPNsense/IDS/IDS.xml
no changes added to commit (use "git add" and/or "git commit -a")
Logged
lattera
Full Member
Posts: 207
Karma: 82
Re: Making iterative changes to core.git
«
Reply #4 on:
May 19, 2020, 04:09:38 pm »
Problem solved through discussion over IRC. Thanks, fitch, for the help!
Logged
franco
Administrator
Hero Member
Posts: 17661
Karma: 1611
Re: Making iterative changes to core.git
«
Reply #5 on:
May 19, 2020, 04:10:19 pm »
PS: changes need to be committed in order to bake them into an image.
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
Development and Code Review
(Moderator:
fabian
) »
Making iterative changes to core.git