Skip to content

Identify existing configuration files

Rob Woolley openembedded-core 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest3 patches 4 repliesIn review
  2. v12 patches 2 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3nfs-utils: Install nfsmount.confmeta/recipes-connectivity/nfs-utils/nfs-utils_1.3.1.bb+3 -00 replies
2/3nfs-utils: Identify CONFFILESmeta/recipes-connectivity/nfs-utils/nfs-utils_1.3.1.bb+7 -02 replies
3/3logrotate: Identify CONFFILESmeta/recipes-extended/logrotate/logrotate_3.8.8.bb+3 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/3] Identify existing configuration files

Some package formats explicitly track which files are configuration files so that they are not overwritten on updates.

This series explicitly identifies files that were already being packaged, but not known as configuration files.

I built the RPM packages and compared the output of rpm -qp --filesbypkg with rpm -qp --configfiles against the equivalent packages in CentOS 7.

 meta/recipes-connectivity/nfs-utils/nfs-utils_1.3.1.bb |    3 +++
 1 file changed, 3 insertions(+)
 meta/recipes-connectivity/nfs-utils/nfs-utils_1.3.1.bb |    7 +++++++
 1 file changed, 7 insertions(+)
 meta/recipes-extended/logrotate/logrotate_3.8.8.bb     |    3 +++
 1 file changed, 3 insertions(+)

UPDATE: I updated the patches to use the proper GNU Coding Standard directory variables. I also added a patch to add nfsmount.conf to nfs-utils-client as it seemed to be missing by accident rather than by omission.