Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id E353AE00C69; Wed, 26 Jul 2017 12:32:46 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=-1.4 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_NONE, RCVD_IN_SORBS_SPAM autolearn=no version=3.3.1 X-Spam-HAM-Report: * -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no * trust * [209.85.161.173 listed in list.dnswl.org] * 0.5 RCVD_IN_SORBS_SPAM RBL: SORBS: sender is a spam source * [209.85.161.173 listed in dnsbl.sorbs.net] * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] Received: from mail-yw0-f173.google.com (mail-yw0-f173.google.com [209.85.161.173]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 6216CE00C5D for ; Wed, 26 Jul 2017 12:32:45 -0700 (PDT) Received: by mail-yw0-f173.google.com with SMTP id x125so93971638ywa.0 for ; Wed, 26 Jul 2017 12:32:45 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=v8YxsxxuApvSsCRz064w5uMfKlwkOluugECORB1uG9w=; b=CtN1FQ6Dt/RoomMHG1OlilJ1YadzPA/lKlFH8H7E1qlihuUjf05ZOI13RG23y0hzft jtC6mglZgdVh2+NOmPA/ytDeW3Svv3J73HtZMgSucxdZwo21X62fbpvdNQG5zpqGcsCr NxKngRRwOWEfdUaiaE5rRx7wJtTuvLra5ahVnJGgNdZDdg4zCHnAjLxbDtIMDXWeYdeL jXUee2KzrQrACtDhbcQTDyhKq3ASb0SmePNC7ZGGWpAMs99loX3ihNcdgk2czfOvl3FX lQKucMjrm8vaD2ubMF2rk/WAFjpITrlUguxQsy1YcfFzKvHhH7PCwULX3O7VQD9gSNxx Ebig== X-Gm-Message-State: AIVw111vWx2AEsufxY3qdqTK9wM0kBYzEPFd45BYVRBOulrWtXrDSKaC zQ+E4qXlhr9QhzHP X-Received: by 10.13.230.22 with SMTP id p22mr1749308ywe.297.1501097565076; Wed, 26 Jul 2017 12:32:45 -0700 (PDT) Received: from localhost.localdomain (cpe-174-106-0-58.ec.res.rr.com. [174.106.0.58]) by smtp.gmail.com with ESMTPSA id b195sm6287662ywb.21.2017.07.26.12.32.44 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 26 Jul 2017 12:32:44 -0700 (PDT) From: Tom Rini To: yocto@yoctoproject.org Date: Wed, 26 Jul 2017 15:34:01 -0400 Message-Id: <1501097641-15737-1-git-send-email-trini@konsulko.com> X-Mailer: git-send-email 1.9.1 Cc: Scott Rifenbark Subject: [PATCH] dev-manual, ref-manual: Update for vmdk/vdi/qcow2/u-boot image changes X-BeenThere: yocto@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Discussion of all things Yocto Project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Jul 2017 19:32:47 -0000 Recently a number of changes have happened on the implementation side of some image formats, and a few have been renamed. The u-boot image signing code is now always available and no longer in a stand-alone file. The vmdk/vdi/qcow2 images have been removed and are now just a conversion type that is applied to wic images. Signed-off-by: Tom Rini --- Please note that while the u-boot image changes are live the vmdk/vdi/qcow2 portions are not yet merged. But given that they are user visible changes I promised to provide documentation updates along with the implementation changes, so these shouldn't be applied until they have been merged. Thanks! --- documentation/dev-manual/dev-manual-qemu.xml | 6 +++--- documentation/ref-manual/ref-classes.xml | 32 +++++----------------------- documentation/ref-manual/ref-tasks.xml | 10 --------- documentation/ref-manual/ref-variables.xml | 9 +++----- documentation/ref-manual/usingpoky.xml | 8 +++---- 5 files changed, 15 insertions(+), 50 deletions(-) diff --git a/documentation/dev-manual/dev-manual-qemu.xml b/documentation/dev-manual/dev-manual-qemu.xml index ed4040ca60d8..2b3383c40482 100644 --- a/documentation/dev-manual/dev-manual-qemu.xml +++ b/documentation/dev-manual/dev-manual-qemu.xml @@ -168,13 +168,13 @@ This example specifies to boot a virtual machine image - (.vmdk file). - From the .vmdk, + (.wic.vmdk file). + From the .wic.vmdk, runqemu determines the QEMU architecture (MACHINE) to be "qemux86" and the root filesystem type to be "vmdk". - $ runqemu /home/scott-lenovo/vm/core-image-minimal-qemux86.vmdk + $ runqemu /home/scott-lenovo/vm/core-image-minimal-qemux86.wic.vmdk diff --git a/documentation/ref-manual/ref-classes.xml b/documentation/ref-manual/ref-classes.xml index 1801faf501ee..b177902b776a 100644 --- a/documentation/ref-manual/ref-classes.xml +++ b/documentation/ref-manual/ref-classes.xml @@ -1286,14 +1286,13 @@ image_types must also appear in IMAGE_CLASSES. - - -
- <filename>image_types_uboot.bbclass</filename> - The image_types_uboot class - defines additional image types specifically for the U-Boot bootloader. + This class also handles conversion and compression of images as well. + Note that to build a VMware VMDK image you need to add "wic.vmdk" to + IMAGE_FSTYPES. + This would also be similar for Virtual Box Virtual Disk Image ("vdi") + and QEMU Copy On Write Version 2 ("qcow2") images.
@@ -1370,27 +1369,6 @@ -
- <filename>image-vm.bbclass</filename> - - - The image-vm class supports building VM - images. - -
- -
- <filename>image-vmdk.bbclass</filename> - - - The image-vmdk class supports building VMware - VMDK images. - Normally, you do not use this class directly. - Instead, you add "vmdk" to - IMAGE_FSTYPES. - -
-
<filename>insane.bbclass</filename> diff --git a/documentation/ref-manual/ref-tasks.xml b/documentation/ref-manual/ref-tasks.xml index 99e9f52b8651..1fe175e10453 100644 --- a/documentation/ref-manual/ref-tasks.xml +++ b/documentation/ref-manual/ref-tasks.xml @@ -838,16 +838,6 @@ section in the Yocto Project Development Manual.
- -
- <filename>do_vmdkimg</filename> - - - Creates a .vmdk image for use with - VMware - and compatible virtual machine hosts. - -
@@ -1276,9 +1276,9 @@ VM: The virtual machine image, which must be a - .vmdk file. + .wic.vmdk file. Use this option when you want to boot a - .vmdk image. + .wic.vmdk image. The image filename you provide must contain one of the following strings: "qemux86-64", "qemux86", "qemuarm", "qemumips64", "qemumips", "qemuppc", or "qemush4". -- 1.9.1