Topics

[meta-anaconda][PATCH] anaconda_oe.py: add ldconfig to DISTRO_FEATURES


Chen Qi
 

'ldconfig' is a required distro feature for anaconda, so add it
before running any builds, otherwise, we get build failure due to
lack of 'ldconfig'.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
---
lib/oeqa/selftest/cases/anaconda_oe.py | 1 +
1 file changed, 1 insertion(+)

diff --git a/lib/oeqa/selftest/cases/anaconda_oe.py b/lib/oeqa/selftest/cases/anaconda_oe.py
index 9cc6de4..e568709 100644
--- a/lib/oeqa/selftest/cases/anaconda_oe.py
+++ b/lib/oeqa/selftest/cases/anaconda_oe.py
@@ -19,6 +19,7 @@ class TestAnacondaOE(OESelftestTestCase):
features += 'VIRTUAL-RUNTIME_init_manager = "systemd"\n'
features += 'DISTRO_FEATURES_append = " systemd"\n'
features += 'DISTRO_FEATURES_append = " pam"\n'
+ features += 'DISTRO_FEATURES_append = " ldconfig"\n'
features += 'DISTRO_FEATURES_BACKFILL_CONSIDERED_append = " sysvinit"\n'
self.write_config(features)
self.logger.info('local.conf:\n%s' % features)
--
2.7.4