Override dir-or-file-in-opt

I support commercial binary package for debian, ubuntu etc. and received complaints about โ€œpoor packaging qualityโ€ from the Ubuntu installer. The main reason for this is because the package installs files in the / opt and / etc / opt directories, which apparently throw lintian into a flexible form. Since I understand the purpose of these directories, they are designed to meet the needs of Add-on applications, although I still don't see any definition of what add means. I tried to create a lintian override file for my package in the / usr / share / lintian / overrides directory, and when I do this, I get the following report from Lintian:

N: Some overrides were ignored, since the tags were marked "non-overridable".
N: The following tags were "non-overridable" and had at least one override
N:   - dir-or-file-in-opt

Is there any way around this sheer stubbornness?

+5
source share
1 answer

If you use debhelper to build your package, lintian overrides for binary packages should be in the debian folder with the file name [package].lintian-overrides. This ensures that overrides get into the appropriate directory when installing the package. (For source packages, overrides are in the file debian/source/lintian-overrides.)

, /opt, , dir-or-file-in-opt Lintian. , , , , lintian ubuntu/aptdaemon ( dir-or-file-in-opt) , lintian / . , , , , , , !

:
Debian, 5.14
Lintian, 2.4
Cendio ThinLinc # 5232

+1

All Articles