Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 628F9E00C8F; Wed, 23 Aug 2017 05:42:39 -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,DKIM_SIGNED, DKIM_VALID, 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.220.196 listed in list.dnswl.org] * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] * 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily * valid * -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature * 0.5 RCVD_IN_SORBS_SPAM RBL: SORBS: sender is a spam source * [209.85.220.196 listed in dnsbl.sorbs.net] Received: from mail-qk0-f196.google.com (mail-qk0-f196.google.com [209.85.220.196]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 6DCFBE00C2B for ; Wed, 23 Aug 2017 05:42:37 -0700 (PDT) Received: by mail-qk0-f196.google.com with SMTP id p67so13236qkd.1 for ; Wed, 23 Aug 2017 05:42:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ossystems-com-br.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:organization; bh=5cvjVAjvkwvY+l6yYYWeLWkjtnWRHREJljFTyZydfs4=; b=dujsW8MfFSwArobDERit9ThfmMwcdxcULEdTuYIQ2RIT5iuNd4WroKaXsakKZZVzat 78je4uH3NBpu9ZDHtnJcfX0N4hSFw1sHnfUSLb7S7FNeq0MiRjIYY/XItDCgSr3570rX Hi21tRNOm6M6tWFYuq5B3sTypaNx6+het1LqJouYG5HjmoyQeQzaE09ygFTlYiEb4oiY rwfTlWRY1Woxi0inqVEvN7b02cVqToGNYvnycg07dBfcyTJYKpCh2CKZE0okODVjrlgT pmm1LtjbJBzZcEo5Fo4OVqmZbsR9LfEehdO1S+0MpOrHxQgIRpjqEXDBDPOUwtwgMimi SUVA== 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:organization; bh=5cvjVAjvkwvY+l6yYYWeLWkjtnWRHREJljFTyZydfs4=; b=VLcD2Ebjr9fSDrZyoIFHNM+z/8Hnd6neDFbocwSNw3XsYPimV9kLRs9ka1FDPLIsnv 6nc54xB4fAREwFSDJ5DxQBQ86qMNW72UkEdAwKMwuduRUS2gnhea855KsfM33xUsIpo+ 4/Sv/YYaXfDRiWFmAB/9qAkDyx0vk5AJUxX4EtRLkbO2x9qdtPbc8AETWEZd0hrSjqz1 2oo7m5kidLbSw7iI+9FiRaK3XtNUq7MBdsKaG6lENUucITC04iLVgVns3A6e1JjB8c+U fSRaQb46QANkJ3RCqmPMQL2/6yvEWdvX98adz1N99R4q9/16wlL6nIfJN1P0N1o3isag f+Hg== X-Gm-Message-State: AHYfb5jQ1NcsuB0bVQrjUU6Jm8Nj9eLkqueJY8WVjBctyzasZnr3ejkt OoILpGuDq+vIZFKH9S4= X-Received: by 10.55.69.73 with SMTP id s70mr3376396qka.291.1503492156270; Wed, 23 Aug 2017 05:42:36 -0700 (PDT) Received: from centrium.lab.ossystems ([181.220.72.143]) by smtp.gmail.com with ESMTPSA id h5sm871568qth.19.2017.08.23.05.42.34 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 23 Aug 2017 05:42:35 -0700 (PDT) From: Fabio Berton To: meta-freescale@yoctoproject.org Date: Wed, 23 Aug 2017 09:41:55 -0300 Message-Id: <20170823124155.11993-1-fabio.berton@ossystems.com.br> X-Mailer: git-send-email 2.11.0 Organization: O.S. Systems Software LTDA. Subject: [3rdparty][PATCH] Replace deprecated IMAGE_DEPENDS_wic with WKS_FILE_DEPENDS X-BeenThere: meta-freescale@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Usage and development list for the meta-fsl-* layers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Aug 2017 12:42:39 -0000 IMAGE_DEPENDS_wic_append is deprecated and to install wic dependencies we need to set WKS_FILE_DEPENDS variable. We don't need to add u-boot to WKS_FILE_DEPENDS for machines that has u-boot in MACHINE_ESSENTIAL_EXTRA_RDEPENDS variable. The only dependency to create wic images is parted-native and is already provided by image_types_wic class, we can set WKS_FILE_DEPENDS to void and don't build any dependency. Signed-off-by: Fabio Berton --- conf/machine/cubox-i.conf | 3 +-- conf/machine/imx6dl-riotboard.conf | 3 +-- conf/machine/nitrogen6sx.conf | 2 +- conf/machine/nitrogen6x-lite.conf | 2 +- conf/machine/nitrogen6x.conf | 2 +- conf/machine/nitrogen7.conf | 2 +- conf/machine/wandboard.conf | 3 +-- 7 files changed, 7 insertions(+), 10 deletions(-) diff --git a/conf/machine/cubox-i.conf b/conf/machine/cubox-i.conf index af45c38..24e8519 100644 --- a/conf/machine/cubox-i.conf +++ b/conf/machine/cubox-i.conf @@ -42,7 +42,6 @@ MACHINE_ESSENTIAL_EXTRA_RDEPENDS += " \ " WKS_FILES ?= "imx-uboot-spl.wks" - -IMAGE_DEPENDS_wic_append = " virtual/bootloader" +WKS_FILE_DEPENDS ?= "" IMAGE_FSTYPES = "wic.gz" diff --git a/conf/machine/imx6dl-riotboard.conf b/conf/machine/imx6dl-riotboard.conf index 6cc4f8c..7823cd5 100644 --- a/conf/machine/imx6dl-riotboard.conf +++ b/conf/machine/imx6dl-riotboard.conf @@ -23,7 +23,6 @@ MACHINE_ESSENTIAL_EXTRA_RDEPENDS += " \ " WKS_FILES ?= "imx-uboot.wks" - -IMAGE_DEPENDS_wic_append = " virtual/bootloader" +WKS_FILE_DEPENDS ?= "" IMAGE_FSTYPES = "wic.gz" diff --git a/conf/machine/nitrogen6sx.conf b/conf/machine/nitrogen6sx.conf index 45b79f4..ae6fff2 100644 --- a/conf/machine/nitrogen6sx.conf +++ b/conf/machine/nitrogen6sx.conf @@ -29,7 +29,7 @@ IMAGE_BOOT_FILES = " \ ${KERNEL_IMAGETYPE} \ ${KERNEL_IMAGETYPE}-imx6sx-nitrogen6sx.dtb;imx6sx-nitrogen6sx.dtb \ " -IMAGE_DEPENDS_wic_append = " dosfstools-native mtools-native" +WKS_FILE_DEPENDS ?= "" # Boot scripts to install BOOT_SCRIPTS = "6x_bootscript-${MACHINE}:6x_bootscript" diff --git a/conf/machine/nitrogen6x-lite.conf b/conf/machine/nitrogen6x-lite.conf index 11efddf..5a120c3 100644 --- a/conf/machine/nitrogen6x-lite.conf +++ b/conf/machine/nitrogen6x-lite.conf @@ -29,7 +29,7 @@ IMAGE_BOOT_FILES = " \ ${KERNEL_IMAGETYPE} \ ${KERNEL_IMAGETYPE}-imx6dl-nit6xlite.dtb;imx6dl-nit6xlite.dtb \ " -IMAGE_DEPENDS_wic_append = " dosfstools-native mtools-native" +WKS_FILE_DEPENDS ?= "" # Boot scripts to install BOOT_SCRIPTS = "6x_bootscript-${MACHINE}:6x_bootscript" diff --git a/conf/machine/nitrogen6x.conf b/conf/machine/nitrogen6x.conf index c4fe176..aa6f1ba 100644 --- a/conf/machine/nitrogen6x.conf +++ b/conf/machine/nitrogen6x.conf @@ -69,7 +69,7 @@ IMAGE_BOOT_FILES = " \ ${KERNEL_IMAGETYPE}-imx6q-nitrogen6x.dtb;imx6q-nitrogen6x.dtb ${KERNEL_IMAGETYPE}-imx6dl-nitrogen6x.dtb;imx6dl-nitrogen6x.dtb \ ${KERNEL_IMAGETYPE}-imx6q-nitrogen6_som2.dtb;imx6q-nitrogen6_som2.dtb ${KERNEL_IMAGETYPE}-imx6qp-nitrogen6_som2.dtb;imx6qp-nitrogen6_som2.dtb \ " -IMAGE_DEPENDS_wic_append = " dosfstools-native mtools-native" +WKS_FILE_DEPENDS ?= "" UBOOT_MACHINE ?= "nitrogen6q_config" diff --git a/conf/machine/nitrogen7.conf b/conf/machine/nitrogen7.conf index 30cfb73..2382c13 100644 --- a/conf/machine/nitrogen7.conf +++ b/conf/machine/nitrogen7.conf @@ -29,7 +29,7 @@ IMAGE_BOOT_FILES = " \ ${KERNEL_IMAGETYPE} \ ${KERNEL_IMAGETYPE}-imx7d-nitrogen7.dtb;imx7d-nitrogen7.dtb \ " -IMAGE_DEPENDS_wic_append = " dosfstools-native mtools-native" +WKS_FILE_DEPENDS ?= "" # Boot scripts to install BOOT_SCRIPTS = "6x_bootscript-${MACHINE}:6x_bootscript" diff --git a/conf/machine/wandboard.conf b/conf/machine/wandboard.conf index 485b06e..a3b04ea 100644 --- a/conf/machine/wandboard.conf +++ b/conf/machine/wandboard.conf @@ -51,7 +51,6 @@ MACHINE_ESSENTIAL_EXTRA_RDEPENDS += " \ " WKS_FILES ?= "imx-uboot-spl.wks" - -do_image_wic[depends] += "virtual/bootloader:do_deploy" +WKS_FILE_DEPENDS ?= "" SOC_DEFAULT_IMAGE_FSTYPES = "wic.gz" -- 2.11.0