OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • English Forums »
  • Development and Code Review (Moderator: fabian) »
  • Adding new files to the core. Package file lists do not match. Please run 'make'
« previous next »
  • Print
Pages: [1]

Author Topic: Adding new files to the core. Package file lists do not match. Please run 'make'  (Read 4015 times)

tejas.designer07

  • Newbie
  • *
  • Posts: 15
  • Karma: 1
    • View Profile
Adding new files to the core. Package file lists do not match. Please run 'make'
« 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.
Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 17703
  • Karma: 1616
    • View Profile
Re: Adding new files to the core. Package file lists do not match. Please run 'make'
« Reply #1 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
Logged

tejas.designer07

  • Newbie
  • *
  • Posts: 15
  • Karma: 1
    • View Profile
Re: Adding new files to the core. Package file lists do not match. Please run 'make'
« Reply #2 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?
Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 17703
  • Karma: 1616
    • View Profile
Re: Adding new files to the core. Package file lists do not match. Please run 'make'
« Reply #3 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
Logged

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • English Forums »
  • Development and Code Review (Moderator: fabian) »
  • Adding new files to the core. Package file lists do not match. Please run 'make'
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2024 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2