Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
Development and Code Review
(Moderator:
fabian
) »
How to add new files to the core
« previous
next »
Print
Pages: [
1
]
Author
Topic: How to add new files to the core (Read 4119 times)
sreekupm
Newbie
Posts: 9
Karma: 0
How to add new files to the core
«
on:
September 19, 2021, 02:53:40 pm »
Hi,
I am trying to add new file to /usr/core/src/opnsense/www
1. I have added a new file inside usr/core/src/opnsense/www/file1.txt
2. I have updated the plist in /usr/core
3. I have added and committed the changes to .git
4. I have run 'make update' from /usr/tools
4. I have run the command 'make core' from /usr/tools
5. I have run the command 'make dvd' from /usr/tools
getting error
/usr/local/opnsense/www/themes/opnsense/assets/fonts/SourceSansPro-Bold/SourceSansPro-Bold.otf
>>> Package file lists do not match. Please run 'make plist-fix'.
*** Error code 1
Stop.
make[1]: stopped in /usr/core
*** Error code 1
Please help to solve the issue
Logged
mimugmail
Hero Member
Posts: 6766
Karma: 494
Re: How to add new files to the core
«
Reply #1 on:
September 19, 2021, 04:01:54 pm »
Did you also run the suggested command?
Logged
WWW:
www.routerperformance.net
Support plans:
https://www.max-it.de/en/it-services/opnsense/
Commercial Plugins (German):
https://opnsense.max-it.de/
sreekupm
Newbie
Posts: 9
Karma: 0
Re: How to add new files to the core
«
Reply #2 on:
September 19, 2021, 04:04:16 pm »
after running 'make plist-fix' same error
Logged
mimugmail
Hero Member
Posts: 6766
Karma: 494
Re: How to add new files to the core
«
Reply #3 on:
September 19, 2021, 07:11:35 pm »
Did you execute this command in /usr/core?
Logged
WWW:
www.routerperformance.net
Support plans:
https://www.max-it.de/en/it-services/opnsense/
Commercial Plugins (German):
https://opnsense.max-it.de/
sreekupm
Newbie
Posts: 9
Karma: 0
Re: How to add new files to the core
«
Reply #4 on:
September 19, 2021, 07:48:28 pm »
Yes,
Result is .
root@freebsd:/usr/core # make plist-fix
make: "/usr/core/Mk/defaults.mk" line 47: warning: "Detected 'Base' flavour is not currently supported"
make: "/usr/core/Mk/defaults.mk" line 74: warning: "/usr/local/sbin/pkg query %v syslog-ng" returned non-zero status
make: "/usr/core/Makefile" line 39: warning: Cannot build without CORE_PHP set
make: "/usr/core/Makefile" line 39: warning: Cannot build without CORE_PYTHON set
make[1]: "/usr/core/Mk/defaults.mk" line 47: warning: "Detected 'Base' flavour is not currently supported"
make[1]: "/usr/core/Mk/defaults.mk" line 74: warning: "/usr/local/sbin/pkg query %v syslog-ng" returned non-zero status
make[1]: "/usr/core/Makefile" line 39: warning: Cannot build without CORE_PHP set
make[1]: "/usr/core/Makefile" line 39: warning: Cannot build without CORE_PYTHON set
make[2]: "/usr/core/Mk/defaults.mk" line 47: warning: "Detected 'Base' flavour is not currently supported"
make[2]: "/usr/core/Mk/defaults.mk" line 74: warning: "/usr/local/sbin/pkg query %v syslog-ng" returned non-zero status
make[2]: "/usr/core/Mk/defaults.mk" line 47: warning: "Detected 'Base' flavour is not currently supported"
make[2]: "/usr/core/Mk/defaults.mk" line 74: warning: "/usr/local/sbin/pkg query %v syslog-ng" returned non-zero status
root@freebsd:/usr/core #
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
Development and Code Review
(Moderator:
fabian
) »
How to add new files to the core