OPNsense Forum

English Forums => Development and Code Review => Topic started by: tejas.designer07 on February 20, 2019, 03:15:22 am

Title: Adding new files to the core. Package file lists do not match. Please run 'make'
Post 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:
Code: [Select]
--- /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.
Title: Re: Adding new files to the core. Package file lists do not match. Please run 'make'
Post by: franco on February 20, 2019, 11:56:17 am
There is a branch in core.git that doesn’t have a valid plist. Check the master branch as well...


Cheers,
Franco
Title: Re: Adding new files to the core. Package file lists do not match. Please run 'make'
Post by: tejas.designer07 on February 21, 2019, 07:56:19 am
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?
Title: Re: Adding new files to the core. Package file lists do not match. Please run 'make'
Post by: franco on February 21, 2019, 12:39:44 pm
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