OPNsense Forum
English Forums => Development and Code Review => Topic started by: tejas.designer07 on February 20, 2019, 03:15:22 am
-
Hi,
I am trying to add new files to /usr/core/ repo.
E.g.
1) I added a new image file inside usr/core/src/opnsense/www/themes/opnsense/build/images/caret2.png
2) I updated the plist in /usr/core
3) I added and commited the changes to .git
3) I ran the command 'make core' from /usr/tools
Error:
--- /usr/core/work/plist.old ...
+++ /usr/core/work/plist.new ...
.
.
.
>>> Package file lists do not match. Please run 'make plist-fix'.
*** Error code 1
Stop.
make[1]: stopped in /usr/core
*** Error code 1
Stop.
make[1]: stopped in /usr/tools
What are the changes I need to do for me to add my own files? Thanks in advance.
-
There is a branch in core.git that doesn’t have a valid plist. Check the master branch as well...
Cheers,
Franco
-
Hi, thanks for your quick response.
I tried adding same plist files for all the branches, but it still gives me the same error. How do I add a new file in the core/src and create a valid plist?
-
You’ll have to publish your code or find the issue yourself, the consistency check for the plist is very likely correct and I can’t assume otherwise without a bug report (steps to reproduce on our code).
Cheers,
Franco