core-image-weston: add sudo to image explicitly

Message ID 1471897513-13103-1-git-send-email-ross.burton@intel.com
State New
Headers show

Commit Message

Ross Burton Aug. 22, 2016, 8:25 p.m.
This is a very rough image for testing purposes, and the OE automated tests
expect that non-minimal images have sudo in (for the RPM tests), so install sudo
explicitly.

Signed-off-by: Ross Burton <ross.burton@intel.com>

---
 meta/recipes-graphics/images/core-image-weston.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

-- 
2.8.1

-- 
_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Comments

Ross Burton Aug. 23, 2016, 4:09 p.m. | #1
On 22 August 2016 at 21:25, Ross Burton <ross.burton@intel.com> wrote:

> This is a very rough image for testing purposes, and the OE automated tests

> expect that non-minimal images have sudo in (for the RPM tests), so

> install sudo

> explicitly.

>


Retracting this, there's a better fix.

Ross
-- 
_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Patch

diff --git a/meta/recipes-graphics/images/core-image-weston.bb b/meta/recipes-graphics/images/core-image-weston.bb
index e36655f..ad48767 100644
--- a/meta/recipes-graphics/images/core-image-weston.bb
+++ b/meta/recipes-graphics/images/core-image-weston.bb
@@ -8,5 +8,5 @@  inherit core-image distro_features_check
 
 REQUIRED_DISTRO_FEATURES = "wayland"
 
-CORE_IMAGE_BASE_INSTALL += "weston weston-init weston-examples gtk+3-demo clutter-1.0-examples"
+CORE_IMAGE_BASE_INSTALL += "weston weston-init weston-examples gtk+3-demo clutter-1.0-examples sudo"
 CORE_IMAGE_BASE_INSTALL += "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'weston-xwayland matchbox-terminal', '', d)}"