diff options
author | Anton Gerasimov <anton@advancedtelematic.com> | 2017-04-27 11:56:14 +0200 |
---|---|---|
committer | Anton Gerasimov <anton@advancedtelematic.com> | 2017-05-10 13:46:18 +0200 |
commit | 83e834567264d2e38ea6e184a809159e5a13f5a8 (patch) | |
tree | 977acf085fd77113d438b6bfb4df0e5216145126 /conf | |
parent | bae52014b6e3a49e7adf49373238dab9f5f3b4a2 (diff) | |
download | meta-updater-83e834567264d2e38ea6e184a809159e5a13f5a8.tar.gz |
Make layer inclusion a neutral operation
Classes are and bbappends are reworked so that mere inclusion of
this layer to bbappends.conf doesn't change anything. In addition
class behavior can now be controlled by both inheriting sota.bblcass
and enabling "sota" DISTRO_FEATURE.
Diffstat (limited to 'conf')
-rw-r--r-- | conf/distro/poky-sota-systemd.conf | 6 | ||||
-rw-r--r-- | conf/distro/poky-sota.conf | 3 | ||||
-rw-r--r-- | conf/include/bblayers/sota_porter.inc | 2 |
3 files changed, 9 insertions, 2 deletions
diff --git a/conf/distro/poky-sota-systemd.conf b/conf/distro/poky-sota-systemd.conf index e6f43f7..78ca1e5 100644 --- a/conf/distro/poky-sota-systemd.conf +++ b/conf/distro/poky-sota-systemd.conf | |||
@@ -1,5 +1,7 @@ | |||
1 | require conf/distro/poky.conf | 1 | require conf/distro/poky.conf |
2 | 2 | ||
3 | DISTRO_FEATURES_append = " sota" | ||
4 | |||
3 | DISTRO = "poky-sota" | 5 | DISTRO = "poky-sota" |
4 | DISTRO_NAME = "OTA-enabled Linux" | 6 | DISTRO_NAME = "OTA-enabled Linux" |
5 | DISTRO_VERSION = "1.0" | 7 | DISTRO_VERSION = "1.0" |
@@ -8,5 +10,7 @@ DISTRO_CODENAME = "sota" | |||
8 | DISTRO_FEATURES_append = " systemd" | 10 | DISTRO_FEATURES_append = " systemd" |
9 | VIRTUAL-RUNTIME_init_manager = "systemd" | 11 | VIRTUAL-RUNTIME_init_manager = "systemd" |
10 | 12 | ||
11 | INHERIT += " sota" | 13 | INHERIT_prepend = " sota" |
12 | IMAGE_INSTALL_append = " connman connman-client rvi-sota-client" | 14 | IMAGE_INSTALL_append = " connman connman-client rvi-sota-client" |
15 | |||
16 | USER_CLASSES_remove = "image-prelink" | ||
diff --git a/conf/distro/poky-sota.conf b/conf/distro/poky-sota.conf index 6972a94..c56695e 100644 --- a/conf/distro/poky-sota.conf +++ b/conf/distro/poky-sota.conf | |||
@@ -1,5 +1,7 @@ | |||
1 | require conf/distro/poky.conf | 1 | require conf/distro/poky.conf |
2 | 2 | ||
3 | DISTRO_FEATURES_append = " sota" | ||
4 | |||
3 | DISTRO = "poky-sota" | 5 | DISTRO = "poky-sota" |
4 | DISTRO_NAME = "OTA-enabled Linux" | 6 | DISTRO_NAME = "OTA-enabled Linux" |
5 | DISTRO_VERSION = "1.0" | 7 | DISTRO_VERSION = "1.0" |
@@ -7,3 +9,4 @@ DISTRO_CODENAME = "sota" | |||
7 | 9 | ||
8 | INHERIT += " sota" | 10 | INHERIT += " sota" |
9 | IMAGE_INSTALL_append = " connman connman-client" | 11 | IMAGE_INSTALL_append = " connman connman-client" |
12 | USER_CLASSES_remove = "image-prelink" | ||
diff --git a/conf/include/bblayers/sota_porter.inc b/conf/include/bblayers/sota_porter.inc index a0888d5..6964ef0 100644 --- a/conf/include/bblayers/sota_porter.inc +++ b/conf/include/bblayers/sota_porter.inc | |||
@@ -1,2 +1,2 @@ | |||
1 | 1 | ||
2 | BBLAYERS += " ${METADIR}/meta-updater-porter ${METADIR}/meta-renesas " | 2 | BBLAYERS += " ${METADIR}/meta-renesas ${METADIR}/meta-renesas/meta-rcar-gen2 ${METADIR}/meta-openembedded/meta-multimedia ${METADIR}/meta-updater-porter" |