Re: [OE-core] [PATCH 1/2] packaging: allow globs in CONFFILES

2014-12-05 Thread ChenQi
On 12/04/2014 04:48 AM, Burton, Ross wrote: On 1 December 2014 at 06:01, Chen Qi > wrote: Allow globs in CONFFILES and default CONFFILES to '${sysconfdir}'. If I apply this patch and build core-image-sato with package_ipk: | *** Error: CONTROL/conffiles men

Re: [OE-core] [PATCH 1/2] packaging: allow globs in CONFFILES

2014-12-03 Thread Burton, Ross
On 1 December 2014 at 06:01, Chen Qi wrote: > Allow globs in CONFFILES and default CONFFILES to '${sysconfdir}'. > If I apply this patch and build core-image-sato with package_ipk: | *** Error: CONTROL/conffiles mentions conffile /etc/depmod.d which does not exist | *** Error: CONTROL/conffiles

Re: [OE-core] [PATCH 1/2] packaging: allow globs in CONFFILES

2014-12-03 Thread Burton, Ross
On 1 December 2014 at 06:01, Chen Qi wrote: > +def get_conffiles(pkg, d): > Presumably this function is mostly a copy-and-paste of the FILES_* globbing code also in package.bbclass. Can the common code be extracted into a shared function so that the two copies don't diverge? Ross -- _

[OE-core] [PATCH 1/2] packaging: allow globs in CONFFILES

2014-11-30 Thread Chen Qi
Allow globs in CONFFILES and default CONFFILES to '${sysconfdir}'. Previously, the CONFFILES variable is a list of config files to be packaged. However, as these files may come directly from the source instead of our WORKDIR, it's a very common mistake that we forget to set this variable in our re