diff options
author | Alison Chaiken <alison@peloton-tech.com> | 2017-06-04 15:11:20 -0700 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2017-07-11 10:08:19 -0600 |
commit | 6b20c347a08f754dd02796ed394f81cf83ae30cd (patch) | |
tree | 5fee944983f3de4f8ec8769653005ae9f2e780d5 /board | |
parent | 99b66605f05e6de13f43ef1033809b648406f98e (diff) |
sandbox: README: fix partition command invocation
The instructions for creating a disk image that are presently in
README.sandbox fail because sfdisk doesn't know about GPT.
Signed-off-by: Alison Chaiken <alison@peloton-tech.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Tested-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'board')
-rw-r--r-- | board/sandbox/README.sandbox | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/board/sandbox/README.sandbox b/board/sandbox/README.sandbox index 02d8ab3d09d..9dc2eb09d1d 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 |