<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Wed, May 10, 2017 at 3:59 PM, Chris Trobridge <span dir="ltr"><<a href="mailto:christrobridge@hotmail.com" target="_blank">christrobridge@hotmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">When applying rpm updates generated by yocto, configuration files/directories are overwritten with files from the rpm.<br>
<br>
My spec file for generating equivalent native packages with rpmbuild specifies these files with %config(noreplace) so that this overwriting does no occur.<br>
<br>
Is it possible to get this information into the rpm files generated by yocto?<br></blockquote><div><br></div><div>The usual way is to add the configuration files to the CONFFILES variable in your recipe. This does what you want in a package management system agnostic way. See [1] for details.</div><div><br></div><div><a href="http://www.yoctoproject.org/docs/latest/mega-manual/mega-manual.html#var-CONFFILES">http://www.yoctoproject.org/docs/latest/mega-manual/mega-manual.html#var-CONFFILES</a></div></div></div></div>