meta: drop do_bootdirectdisk do_vmimg references
PATCH v2 1/1 meta: drop do_bootdirectdisk do_vmimg references
From: Ming Liu <[email protected]>
do_bootdirectdisk and do_vmimg had been dropped by commit 929ba563:
[ image: Convert vmdk/vdi/qcow2 to strict CONVERSION_CMD types ]
Also drop the references to them and image-vm.
--- meta/classes/grub-efi.bbclass | 1 - meta/classes/license.bbclass | 9 ++------- meta/classes/rm_work.bbclass | 2 +- meta/classes/systemd-boot.bbclass | 3 +-- meta/conf/documentation.conf | 1 - 5 files changed, 4 insertions(+), 12 deletions(-)
meta/classes/grub-efi.bbclass +0 -1
@@ -17,7 +17,6 @@ # ${GRUB_ROOT} - grub's root device. do_bootimg[depends] += "${MLPREFIX}grub-efi:do_deploy" -do_bootdirectdisk[depends] += "${MLPREFIX}grub-efi:do_deploy" GRUB_SERIAL ?= "console=ttyS0,115200" GRUB_CFG_VM = "${S}/grub_vm.cfg"
meta/classes/license.bbclass +2 -7
@@ -255,14 +255,9 @@ def get_boot_dependencies(d): """ depends = [] - boot_depends_string = "" taskdepdata = d.getVar("BB_TASKDEPDATA", False) - # Only bootimg and bootdirectdisk include the depends flag - boot_tasks = ["do_bootimg", "do_bootdirectdisk",] - - for task in boot_tasks: - boot_depends_string = "%s %s" % (boot_depends_string, - d.getVarFlag(task, "depends") or "") + # Only bootimg includes the depends flag + boot_depends_string = d.getVarFlag("do_bootimg", "depends") or "" boot_depends = [dep.split(":")[0] for dep in boot_depends_string.split() if not dep.split(":")[0].endswith("-native")]
meta/classes/rm_work.bbclass +1 -1
@@ -71,7 +71,7 @@ do_rm_work () { i=dummy break ;; - *do_rootfs*|*do_image*|*do_bootimg*|*do_bootdirectdisk*|*do_vmimg*|*do_write_qemuboot_conf*) + *do_rootfs*|*do_image*|*do_bootimg*|*do_write_qemuboot_conf*) i=dummy break ;;
meta/classes/systemd-boot.bbclass +1 -2
@@ -7,10 +7,9 @@ # maintenance. # # Set EFI_PROVIDER = "systemd-boot" to use systemd-boot on your live images instead of grub-efi -# (images built by image-live.bbclass or image-vm.bbclass) +# (images built by image-live.bbclass) do_bootimg[depends] += "${MLPREFIX}systemd-boot:do_deploy" -do_bootdirectdisk[depends] += "${MLPREFIX}systemd-boot:do_deploy" EFIDIR = "/EFI/BOOT"
meta/conf/documentation.conf +0 -1
@@ -56,7 +56,6 @@ do_testsdk[doc] = "Installs an SDK and performs runtime tests on the tools insta do_uboot_mkimage[doc] = "Creates a uImage file from the kernel for the U-Boot bootloader" do_unpack[doc] = "Unpacks the source code into a working directory" do_validate_branches[doc] = "Ensures that the source/meta branches are on the locations specified by their SRCREV values for a linux-yocto style kernel" -do_vmimg[doc] = "Creates an image for use with VMware or VirtualBox compatible virtual machine hosts (based on IMAGE_FSTYPES either .vmdk or .vdi)" # DESCRIPTIONS FOR VARIABLES #
Signature · 1 line
2.7.4
Changes in V2:
1 Also drop the reference to image-vm.bbclass.
//Ming Liu
2017-07-31 10:56 GMT+02:00 <[email protected]>:
Quoted 103 lines
From: Ming Liu <[email protected]>
do_bootdirectdiskanddo_vmimghad been dropped by commit929ba563:
[ image: Convert vmdk/vdi/qcow2 to strictCONVERSION_CMDtypes ]Also drop the references to them and image-vm.
Signed-off-by Ming Liu <[email protected]>--- meta/classes/grub-efi.bbclass | 1 - meta/classes/license.bbclass | 9 ++------- meta/classes/rm_work.bbclass | 2 +- meta/classes/systemd-boot.bbclass | 3 +-- meta/conf/documentation.conf | 1 - 5 files changed, 4 insertions(+), 12 deletions(-)meta/classes/grub-efi.bbclass +0
-1@@ -17,7 +17,6 @@ # ${GRUB_ROOT} - grub's root device. do_bootimg[depends] += "${MLPREFIX}grub-efi:do_deploy" -do_bootdirectdisk[depends] += "${MLPREFIX}grub-efi:do_deploy" GRUB_SERIAL ?= "console=ttyS0,115200" GRUB_CFG_VM = "${S}/grub_vm.cfg"meta/classes/license.bbclass +2
-7@@ -255,14 +255,9 @@ def get_boot_dependencies(d): """ depends = [] - boot_depends_string = "" taskdepdata = d.getVar("BB_TASKDEPDATA", False) - # Only bootimg and bootdirectdisk include the depends flag - boot_tasks = ["do_bootimg", "do_bootdirectdisk",] - - for task in boot_tasks: - boot_depends_string = "%s %s" % (boot_depends_string, - d.getVarFlag(task, "depends") or "") + # Only bootimg includes the depends flag + boot_depends_string = d.getVarFlag("do_bootimg", "depends") or "" boot_depends = [dep.split(":")[0] for dep in boot_depends_string.split() if not dep.split(":")[0].endswith("-native")]meta/classes/rm_work.bbclass +1
-1@@ -71,7 +71,7 @@ do_rm_work () { i=dummy break ;; - *do_rootfs*|*do_image*|*do_bootimg*|*do_bootdirectdisk*|* do_vmimg*|*do_write_qemuboot_conf*) + *do_rootfs*|*do_image*|*do_bootimg*|*do_write_qemuboot_conf*) i=dummy break;;meta/classes/systemd-boot.bbclass +0
-0@@ -7,10 +7,9 @@ # maintenance. # # Set EFI_PROVIDER = "systemd-boot" to use systemd-boot on your liveimages instead of grub-efi
meta/classes/systemd-boot.bbclass +1
-2-# (images built by image-live.bbclass or image-vm.bbclass) +# (images built by image-live.bbclass) do_bootimg[depends] += "${MLPREFIX}systemd-boot:do_deploy" -do_bootdirectdisk[depends] += "${MLPREFIX}systemd-boot:do_deploy" EFIDIR = "/EFI/BOOT"meta/conf/documentation.conf +0
-0@@ -56,7 +56,6 @@ do_testsdk[doc] = "Installs an SDK and performs runtimetests on the tools insta
do_uboot_mkimage[doc] = "Creates a uImage file from the kernel for the
U-Boot bootloader"
do_unpack[doc] = "Unpacks the source code into a working directory" do_validate_branches[doc] = "Ensures that the source/meta branches are on
the locations specified by their SRCREV values for a linux-yocto style kernel"
-do_vmimg[doc] = "Creates an image for use with VMware or VirtualBox compatible virtual machine hosts (based onIMAGE_FSTYPESeither .vmdk or .vdi)"# DESCRIPTIONS FOR VARIABLES #
--
2.7.4
Quoted 8 lines · On Mon, Jul 31, 2017 at 10:56:28AM +0200, [email protected] wrote:
From: Ming Liu <[email protected]>
do_bootdirectdiskanddo_vmimghad been dropped by commit929ba563:
[ image: Convert vmdk/vdi/qcow2 to strictCONVERSION_CMDtypes ]Also drop the references to them and image-vm.
Signed-off-by Ming Liu <[email protected]>
And there's no references to image_type_uboot.bbclass left, either, yes? If so:
Thanks!
Signature · 1 line
Tom
Quoted 1 line
And there's no references to image_type_uboot.bbclass left, either, yes?
Yes, just double checked, there is no references to image_type_uboot.
//Ming Liu
2017-07-31 14:50 GMT+02:00 Tom Rini <[email protected]>:
Quoted 21 lines · On Mon, Jul 31, 2017 at 10:56:28AM +0200, [email protected] wrote:
Quoted 9 lines
From: Ming Liu <[email protected]>
do_bootdirectdiskanddo_vmimghad been dropped by commit929ba563:
[ image: Convert vmdk/vdi/qcow2 to strictCONVERSION_CMDtypes ]Also drop the references to them and image-vm.
Signed-off-by Ming Liu <[email protected]>And there's no references to image_type_uboot.bbclass left, either, yes? If so:
Reviewed-by Tom Rini <[email protected]>Thanks!
--
Tom