Patchwork [2/2] base-files: Fix CONFFILES

login
register
mail settings
Submitter Qi.Chen@windriver.com
Date Dec. 13, 2013, 3:09 a.m.
Message ID <70f3a82522c987860cd74d02c456bef90e81e878.1386903269.git.Qi.Chen@windriver.com>
Download mbox | patch
Permalink /patch/63305/
State New
Headers show

Comments

Qi.Chen@windriver.com - Dec. 13, 2013, 3:09 a.m.
From: Chen Qi <Qi.Chen@windriver.com>

All files under ${sysconfdir} are configuration files for base-files
package. As this is the default behavior for CONFFILES handling, we
should not override it in this recipe.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
---
 meta/recipes-core/base-files/base-files_3.0.14.bb |    3 ---
 1 file changed, 3 deletions(-)

Patch

diff --git a/meta/recipes-core/base-files/base-files_3.0.14.bb b/meta/recipes-core/base-files/base-files_3.0.14.bb
index be3921a..a978da0 100644
--- a/meta/recipes-core/base-files/base-files_3.0.14.bb
+++ b/meta/recipes-core/base-files/base-files_3.0.14.bb
@@ -142,6 +142,3 @@  FILES_${PN} = "/"
 FILES_${PN}-doc = "${docdir} ${datadir}/common-licenses"
 
 PACKAGE_ARCH = "${MACHINE_ARCH}"
-
-CONFFILES_${PN} = "${sysconfdir}/fstab ${@['', '${sysconfdir}/hostname'][(d.getVar('hostname', True) != '')]} ${sysconfdir}/shells"
-