diff mbox

[U-Boot,v7,4/9] sandbox: README: fix partition command invocation

Message ID 1498434205-21115-5-git-send-email-alison@peloton-tech.com
State Accepted
Delegated to: Tom Rini
Headers show

Commit Message

Alison Chaiken June 25, 2017, 11:43 p.m. UTC
From: Alison Chaiken <alison@peloton-tech.com>

The instructions for creating a disk image that are presently in
README.sandbox fail because sfdisk doesn't know about GPT.

Changes since v6: none.

Signed-off-by: Alison Chaiken <alison@peloton-tech.com>
---
 board/sandbox/README.sandbox | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Tom Rini Aug. 7, 2017, 1:54 p.m. UTC | #1
On Sun, Jun 25, 2017 at 04:43:20PM -0700, Alison Chaiken wrote:

> From: Alison Chaiken <alison@peloton-tech.com>
> 
> The instructions for creating a disk image that are presently in
> README.sandbox fail because sfdisk doesn't know about GPT.
> 
> Changes since v6: none.
> 
> Signed-off-by: Alison Chaiken <alison@peloton-tech.com>

Applied to u-boot/master, thanks!
diff mbox

Patch

diff --git a/board/sandbox/README.sandbox b/board/sandbox/README.sandbox
index 02d8ab3..9dc2eb0 100644
--- a/board/sandbox/README.sandbox
+++ b/board/sandbox/README.sandbox
@@ -333,7 +333,7 @@  the contents of the root directory on the second partion of the image
 A disk image can be created using the following commands:
 
 $> truncate -s 1200M ./disk.raw
-$> echo -e "label: gpt\n,64M,U\n,,L" | /usr/sbin/sfdisk  ./disk.raw
+$> echo -e "label: gpt\n,64M,U\n,,L" | /usr/sbin/sgdisk  ./disk.raw
 $> lodev=`sudo losetup -P -f --show ./disk.raw`
 $> sudo mkfs.vfat -n EFI -v ${lodev}p1
 $> sudo mkfs.ext4 -L ROOT -v ${lodev}p2