Details
-
Type:
Task
-
Status: Done
-
Priority:
(None)
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: None
-
Labels:
-
Sprint:MEN Sprint 122
-
Story Points:3
-
Backlog:yes
-
Days in progress:0
Description
When creating an Artifact using mender snapshot command fails with the following error if sudo does not exist on the device.
sh: sudo: command not found
This would be typical for Yocto built images, where you necessarily do not have sudo installed and the only user by default is root.
Acceptance criteria:
- Do not attempt to run sudo if snapshot is performed as root.
- Update acceptance test to assess sudo is not invoked on root user.