Bug 11774

Summary: bmaptool instructions for copies that require sudo rights is incorrect in the RSS world
Product: [Documentation] Development Manual Reporter: brian avery <brian.avery>
Component: developmentAssignee: Kristi <kristi>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Undecided CC: eduard.bartosh, henry.bruce, kristi, srifenbark
Version: 2.4   
Target Milestone: 2.4 M3   
Hardware: x86   
OS: Multiple   
Whiteboard: 10 July 2017: RESOLVED
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: Done (doc changes complete)

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"