summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarco Cavallini <m.cavallini@koansoftware.com>2025-07-21 11:39:38 +0200
committerSteve Sakoman <steve@sakoman.com>2025-08-04 06:40:00 -0700
commitf29a38bdcb908a75b8314b500802ffa651f976ed (patch)
treeadecb76e0346dcd1da09d745b7dbd2644323f83d
parentbc3d85398a0ffc26f5c808e0daa44a5af17a7180 (diff)
downloadpoky-f29a38bdcb908a75b8314b500802ffa651f976ed.tar.gz
dev-manual/start.rst: added missing command in Optimize your VHDX file using DiskPart
After compact vsdisk you have to detach it before exiting otherwise the vdisk remains attached. DISKPART> select vdisk file="<path_to_VHDX_file>" DISKPART> attach vdisk readonly DISKPART> compact vdisk DISKPART> detach <------------ new missing command DISKPART> exit (From yocto-docs rev: bf855ecaf4bec4cef9bbfea2e50caa65a8339828) Signed-off-by: Marco Cavallini <m.cavallini@koansoftware.com> Signed-off-by: Antonin Godard <antonin.godard@bootlin.com> (cherry picked from commit 1cc65ddf1a074f61fe5a63d222f3079b7fcb4c1e) Signed-off-by: Antonin Godard <antonin.godard@bootlin.com> Signed-off-by: Steve Sakoman <steve@sakoman.com>
-rw-r--r--documentation/dev-manual/start.rst1
1 files changed, 1 insertions, 0 deletions
diff --git a/documentation/dev-manual/start.rst b/documentation/dev-manual/start.rst
index 3687b0ee5f..2bfdfaeb7f 100644
--- a/documentation/dev-manual/start.rst
+++ b/documentation/dev-manual/start.rst
@@ -543,6 +543,7 @@ your Yocto Project build host:
543 DISKPART> select vdisk file="<path_to_VHDX_file>" 543 DISKPART> select vdisk file="<path_to_VHDX_file>"
544 DISKPART> attach vdisk readonly 544 DISKPART> attach vdisk readonly
545 DISKPART> compact vdisk 545 DISKPART> compact vdisk
546 DISKPART> detach
546 DISKPART> exit 547 DISKPART> exit
547 548
548.. note:: 549.. note::