Skip to contentSkip to conversation

machine/various: update wic dependency notation

PATCH In review Eric Nelson 3 participants 5 messages Aug 20, 2017 – Aug 21, 2017 Arm i.MX and Layerscape

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 machine/various: update wic dependency notation

As noted in [1], the notation for wic dependencies has changed. Update machines other than wandboard with the new notation.

[1]: https://lists.yoctoproject.org/pipermail/meta-freescale/2017-June/020668.html

---
 conf/machine/cubox-i.conf          | 2 +-
 conf/machine/imx6dl-riotboard.conf | 2 +-
 conf/machine/nitrogen6sx.conf      | 2 +-
 conf/machine/nitrogen6x-lite.conf  | 2 +-
 conf/machine/nitrogen6x.conf       | 2 +-
 conf/machine/nitrogen7.conf        | 2 +-
 6 files changed, 6 insertions(+), 6 deletions(-)
conf/machine/cubox-i.conf +1 -1
index af45c38..158f681 100644
@@ -43,6 +43,6 @@ MACHINE_ESSENTIAL_EXTRA_RDEPENDS += " \
 
 WKS_FILES ?= "imx-uboot-spl.wks"
 
-IMAGE_DEPENDS_wic_append = " virtual/bootloader"
+do_image_wic[depends] += "virtual/bootloader:do_deploy mtools-native:do_populate_sysroot dosfstools-native:do_populate_sysroot"
 
 IMAGE_FSTYPES = "wic.gz"
conf/machine/imx6dl-riotboard.conf +1 -1
index 6cc4f8c..6423067 100644
@@ -24,6 +24,6 @@ MACHINE_ESSENTIAL_EXTRA_RDEPENDS += " \
 
 WKS_FILES ?= "imx-uboot.wks"
 
-IMAGE_DEPENDS_wic_append = " virtual/bootloader"
+do_image_wic[depends] += "virtual/bootloader:do_deploy"
 
 IMAGE_FSTYPES = "wic.gz"
conf/machine/nitrogen6sx.conf +1 -1
index 45b79f4..fa2ef6d 100644
@@ -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"
+do_image_wic[depends] += "virtual/bootloader:do_deploy mtools-native:do_populate_sysroot dosfstools-native:do_populate_sysroot"
 
 # Boot scripts to install
 BOOT_SCRIPTS = "6x_bootscript-${MACHINE}:6x_bootscript"
conf/machine/nitrogen6x-lite.conf +1 -1
index 11efddf..0961ddd 100644
@@ -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"
+do_image_wic[depends] += "virtual/bootloader:do_deploy mtools-native:do_populate_sysroot dosfstools-native:do_populate_sysroot"
 
 # Boot scripts to install
 BOOT_SCRIPTS = "6x_bootscript-${MACHINE}:6x_bootscript"
conf/machine/nitrogen6x.conf +1 -1
index c4fe176..e1beffc 100644
@@ -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"
+do_image_wic[depends] += "virtual/bootloader:do_deploy mtools-native:do_populate_sysroot dosfstools-native:do_populate_sysroot"
 
 UBOOT_MACHINE ?= "nitrogen6q_config"
 
conf/machine/nitrogen7.conf +1 -1
index 30cfb73..83f96cf 100644
@@ -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"
+do_image_wic[depends] += "virtual/bootloader:do_deploy mtools-native:do_populate_sysroot dosfstools-native:do_populate_sysroot"
 
 # Boot scripts to install
 BOOT_SCRIPTS = "6x_bootscript-${MACHINE}:6x_bootscript"
Signature · 1 line
2.7.4
#2 lore raw

Hi Eric!

We don't need to set do_image_wic[depends] anymore, currently master branch has a WKS_FILE_DEPENDS variable to set wic dependencies. Check these links:

https://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=393e55c1ff72558fddd2103fd8cc6d128df20b74

https://www.yoctoproject.org/docs/current/ref-manual/ref-manual.html#var-WKS_FILE_DEPENDS

I'm working to change machine files to use WKS_FILE_DEPENDS.

Fabio Berton

Quoted 20 lines · Gary Bisson

Hi Eric,

Quoted 4 lines · Eric Nelson

As noted in [1], the notation for wic dependencies has changed. Update machines other than wandboard with the new notation.

[1]: https://lists.yoctoproject.org/pipermail/meta-freescale/

2017-June/020668.html

Quoted 3 lines

Double SOB?

Otherwise:

Regards,
Gary

#3 lore raw

Thanks Fabio,

Quoted 10 lines · Fabio Berton

Hi Eric!

We don't need to set do_image_wic[depends] anymore, currently master branch has a WKS_FILE_DEPENDS variable to set wic dependencies. Check these links:

https://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=393e55c1ff72558fddd2103fd8cc6d128df20b74

https://www.yoctoproject.org/docs/current/ref-manual/ref-manual.html#var-WKS_FILE_DEPENDS

I'm working to change machine files to use WKS_FILE_DEPENDS.

Okay. Note that building is broken until then.

Quoted 27 lines

Fabio Berton

On Mon, Aug 21, 2017 at 5:48 AM, Gary Bisson <[email protected] <mailto:[email protected]>> wrote:

Hi Eric,

On Sun, Aug 20, 2017 at 2:50 AM, Eric Nelson <[email protected] <mailto:[email protected]>> wrote:
> As noted in [1], the notation for wic dependencies has changed.
> Update machines other than wandboard with the new notation.
>
> [1]: https://lists.yoctoproject.org/pipermail/meta-freescale/2017-June/020668.html
<https://lists.yoctoproject.org/pipermail/meta-freescale/2017-June/020668.html>
> Signed-off-by: Eric Nelson <[email protected] <mailto:[email protected]>> >
> Signed-off-by: Eric Nelson <[email protected] <mailto:[email protected]>>

Double SOB?

Otherwise:

<mailto:[email protected]>>

Regards,
Gary

#4 lore raw
In reply to Gary Bisson

Hi Gary,

Quoted 6 lines · Gary Bisson

Hi Eric,

Quoted 3 lines · Eric Nelson

As noted in [1], the notation for wic dependencies has changed. Update machines other than wandboard with the new notation.

Quoted 7 lines
Quoted 4 lines

[1]: https://lists.yoctoproject.org/pipermail/meta-freescale/2017-June/020668.html

Double SOB?

I've been called worse, but I'll fix it with a V3.