Bug 11774 - bmaptool instructions for copies that require sudo rights is incorrect in the RSS world
Summary: bmaptool instructions for copies that require sudo rights is incorrect in the...
Status: RESOLVED FIXED
Alias: None
Product: Development Manual
Classification: Documentation
Component: development (show other bugs)
Version: 2.4
Hardware: x86 Multiple
: Undecided normal
Target Milestone: 2.4 M3
Assignee: Kristi
QA Contact:
URL:
Whiteboard: 10 July 2017: RESOLVED
Depends on:
Blocks:
 
Reported: 2017-07-07 21:20 UTC by brian avery
Modified: 2017-07-10 20:52 UTC (History)
4 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: Done (doc changes complete)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description brian avery 2017-07-07 21:20:53 UTC
It currently says to do this:
If you do not have write access to the media, use the following commands:

     $ sudo bash
     $ PATH=tmp/sysroots/x86_64-linux/usr/bin/ bmaptool copy ./tmp/deploy/images/qemux86-64/core-image-minimal-machine

--
Unfortunately, that won't work since we don't have a tmp/sysroots/x86_64-linux/usr/bin/ anymore.

Better instructions:
sudo chmod 666 /dev/sdX; oe-run-native bmap-tools-native bmaptool copy ./tmp/deploy/images/qemux86-64-core-image-minimal-machine.wic /dev/sdX

---
Also note, the oe-run-native line is wrong, as the 2.4 native recipe is bmap-tools-native not bmaptool-native
Comment 1 Scott Rifenbark 2017-07-07 21:25:36 UTC
Re-assigning to Kristi.  Setting target milestone and day estimation.
Comment 2 Kristi 2017-07-07 23:12:59 UTC
Hello Brian, 

I've updated the example per your instructions. You can view the changes at http://www.yoctoproject.org/docs/2.4/dev-manual/dev-manual.html#flashing-images-using-bmaptool

Let me know if this looks good. Thanks! 

Kristi
Comment 3 brian avery 2017-07-08 19:42:46 UTC
looks good to me.
ty
Comment 4 Kristi 2017-07-10 20:52:10 UTC
Thanks! Marking RESOLVED + doc change "Done"