Преглед изворни кода

board/mender: sync with board/pc

and fix dd of=sdc because it is very dangerous to have exiting drive in example

Signed-off-by: Cherniaev Andrei <dungeonlords789@naver.com>
Signed-off-by: Arnout Vandecappelle <arnout@mind.be>
Cherniaev Andrei пре 9 месеци
родитељ
комит
261d33eff8
2 измењених фајлова са 10 додато и 8 уклоњено
  1. 4 4
      board/mender/x86_64/readme.txt
  2. 6 4
      board/pc/readme.txt

+ 4 - 4
board/mender/x86_64/readme.txt

@@ -11,14 +11,14 @@ Mender UEFI PC sample config
 
   $ make
 
-2. Write the Pendrive
+2. Write the image
 
-  The build process will create a Pendrive image called disk.img in
+  The build process will create a all-in-one image called disk.img in
   output/images.
 
   Write the image to a pendrive:
 
-  $ dd if=output/images/disk.img of=/dev/${pendrive}; sync
+  $ dd if=output/images/disk.img of=/dev/sdX; sync
 
   Once the process is complete, insert it into the target PC and boot.
 
@@ -66,4 +66,4 @@ particular needs, as this option changes the mender artifact name.
 Using mender
 ========================
 Please read the mender documentation at:
-https://docs.mender.io/2.2/getting-started
+https://docs.mender.io

+ 6 - 4
board/pc/readme.txt

@@ -17,14 +17,14 @@ Bare PC sample config
 
   $ make
 
-2. Write the pendrive
+2. Write the image
 
-  The build process will create a pendrive image called sdcard.img in
+  The build process will create a all-in-one image called disk.img in
   output/images.
 
   Write the image to a pendrive:
 
-  $ dd if=output/images/disk.img of=/dev/sdc; sync
+  $ dd if=output/images/disk.img of=/dev/sdX; sync
 
   Once it's done insert it into the target PC and boot.
 
@@ -43,7 +43,9 @@ Emulation in qemu (BIOS)
 
   Since the driver will show up in the virtual machine as /dev/vda,
   change board/pc/grub-bios.cfg to use root=/dev/vda1 instead of
-  root=/dev/sda1. Then rebuild grub2 and the image.
+  root=/dev/sda1. Then rebuild grub2 and the image:
+
+    make grub2-rebuild && make
 
 2. Run the emulation with: