pieroproietti / penguins-eggs

On the road of Remastersys, Refracta, Systemback and father Knoppix!
https://penguins-eggs.net
374 stars 41 forks source link

eggs produce --clone always resets exlude.list #342

Closed shah-newaz closed 4 months ago

shah-newaz commented 4 months ago

My /etc/penguins-eggs.d/exclude.list gets reset as soon as I run eggs produce --clone. Version: 9.6.36

shah-newaz commented 4 months ago

Update: this problem occurs even when the file is kept at a custom directory! I placed it to /home/user/.confg/eggs/exclude.list and it still reset that file :D

pieroproietti commented 4 months ago

I Will check, thanks.

markoceri commented 4 months ago

I try to guess @shah-newaz

The exclude.list file is assembled every time you run the produce command. It is a merge of the files that are inside the directory /etc/penguins-eggs.d/exclude.list.d

If you want to put your custom path to ignore and if you want to make the changes permanent you should use the file exclude.list.custom

I hope this can be helpful to you

shah-newaz commented 4 months ago

Thanks @markoceri ! Going to try that!

markoceri commented 4 months ago

Remember to use the command in this way to include custom excludes in the final file, otherwise the custom exclude file will not be included.

sudo eggs produce --filters=custom

shah-newaz commented 4 months ago

Thank you so much @markoceri ! That was it! Maybe I missed the doc. Apologies.

Works perfectly. Non-issue.