diff options
| -rw-r--r-- | conf/distro/sota.conf.inc | 2 | ||||
| -rw-r--r-- | lib/oeqa/selftest/cases/updater.py | 4 |
2 files changed, 5 insertions, 1 deletions
diff --git a/conf/distro/sota.conf.inc b/conf/distro/sota.conf.inc index ea1ca95..8de9597 100644 --- a/conf/distro/sota.conf.inc +++ b/conf/distro/sota.conf.inc | |||
| @@ -4,7 +4,7 @@ | |||
| 4 | # | 4 | # |
| 5 | # require conf/distro/sota.conf.inc | 5 | # require conf/distro/sota.conf.inc |
| 6 | 6 | ||
| 7 | DISTRO_FEATURES_append = " sota" | 7 | DISTRO_FEATURES_append = " sota usrmerge" |
| 8 | DISTRO_FEATURES_NATIVE_append = " sota" | 8 | DISTRO_FEATURES_NATIVE_append = " sota" |
| 9 | INHERIT += " sota" | 9 | INHERIT += " sota" |
| 10 | # Prelinking increases the size of downloads and causes build errors | 10 | # Prelinking increases the size of downloads and causes build errors |
diff --git a/lib/oeqa/selftest/cases/updater.py b/lib/oeqa/selftest/cases/updater.py index 7e55d07..92bf6fc 100644 --- a/lib/oeqa/selftest/cases/updater.py +++ b/lib/oeqa/selftest/cases/updater.py | |||
| @@ -36,6 +36,10 @@ class GeneralTests(OESelftestTestCase): | |||
| 36 | result = get_bb_var('DISTRO_FEATURES').find('sota') | 36 | result = get_bb_var('DISTRO_FEATURES').find('sota') |
| 37 | self.assertNotEqual(result, -1, 'Feature "sota" not set at DISTRO_FEATURES') | 37 | self.assertNotEqual(result, -1, 'Feature "sota" not set at DISTRO_FEATURES') |
| 38 | 38 | ||
| 39 | def test_feature_usrmerge(self): | ||
| 40 | result = get_bb_var('DISTRO_FEATURES').find('usrmerge') | ||
| 41 | self.assertNotEqual(result, -1, 'Feature "sota" not set at DISTRO_FEATURES') | ||
| 42 | |||
| 39 | def test_feature_systemd(self): | 43 | def test_feature_systemd(self): |
| 40 | result = get_bb_var('DISTRO_FEATURES').find('systemd') | 44 | result = get_bb_var('DISTRO_FEATURES').find('systemd') |
| 41 | self.assertNotEqual(result, -1, 'Feature "systemd" not set at DISTRO_FEATURES') | 45 | self.assertNotEqual(result, -1, 'Feature "systemd" not set at DISTRO_FEATURES') |
