public inbox for isar-users@googlegroups.com
 help / color / mirror / Atom feed
* [PATCH 0/1] Remove copy_boot_files task for SDK
@ 2022-10-24  5:40 Uladzimir Bely
  2022-10-24  5:40 ` [PATCH 1/1] " Uladzimir Bely
  2022-11-03  8:53 ` [PATCH 0/1] " Anton Mikanovich
  0 siblings, 2 replies; 3+ messages in thread
From: Uladzimir Bely @ 2022-10-24  5:40 UTC (permalink / raw)
  To: isar-users

In the downstream we faced up a problem with populating SDK when
DTB_FILES is set for the target.

Error happens in `copy_boot_files` task that looks like something that
shouldn't even be executed in case of SDK. It tries to copy kernel,
initramfs and required dtb files to the deploy directory. But this is
not required for SDK rootfs that is just a developer chroot.

Uladzimir Bely (1):
  Remove copy_boot_files task for SDK

 meta/classes/sdk.bbclass | 1 +
 1 file changed, 1 insertion(+)

-- 
2.20.1


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [PATCH 1/1] Remove copy_boot_files task for SDK
  2022-10-24  5:40 [PATCH 0/1] Remove copy_boot_files task for SDK Uladzimir Bely
@ 2022-10-24  5:40 ` Uladzimir Bely
  2022-11-03  8:53 ` [PATCH 0/1] " Anton Mikanovich
  1 sibling, 0 replies; 3+ messages in thread
From: Uladzimir Bely @ 2022-10-24  5:40 UTC (permalink / raw)
  To: isar-users

This task just copies kernel/initrd/dtb files from rootfs to deploy dir
that is useless for SDK (and already done with non-sdk rootfs).

Moreover, if DTB_FILES is set (like in phyboard-mira target, for
example), copy_boot_files produces error when "populate_sdk" executed.

Signed-off-by: Uladzimir Bely <ubely@ilbers.de>
---
 meta/classes/sdk.bbclass | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta/classes/sdk.bbclass b/meta/classes/sdk.bbclass
index 32ee2de7..ec5eed87 100644
--- a/meta/classes/sdk.bbclass
+++ b/meta/classes/sdk.bbclass
@@ -16,6 +16,7 @@ python sdk_virtclass_handler() {
         e.data.appendVar('OVERRIDES', ':class-sdk')
         # sdkchroot deploy only for sdk image
         bb.build.addtask('deploy_sdkchroot', 'do_build', 'do_rootfs', d)
+        bb.build.deltask('copy_boot_files', d)
     else:
         # add do_populate_sdk only to the non-sdk variant
         # it only exists to preserve the interface...
-- 
2.20.1


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH 0/1] Remove copy_boot_files task for SDK
  2022-10-24  5:40 [PATCH 0/1] Remove copy_boot_files task for SDK Uladzimir Bely
  2022-10-24  5:40 ` [PATCH 1/1] " Uladzimir Bely
@ 2022-11-03  8:53 ` Anton Mikanovich
  1 sibling, 0 replies; 3+ messages in thread
From: Anton Mikanovich @ 2022-11-03  8:53 UTC (permalink / raw)
  To: Uladzimir Bely, isar-users

24.10.2022 08:40, Uladzimir Bely wrote:
> In the downstream we faced up a problem with populating SDK when
> DTB_FILES is set for the target.
>
> Error happens in `copy_boot_files` task that looks like something that
> shouldn't even be executed in case of SDK. It tries to copy kernel,
> initramfs and required dtb files to the deploy directory. But this is
> not required for SDK rootfs that is just a developer chroot.
>
> Uladzimir Bely (1):
>    Remove copy_boot_files task for SDK
>
>   meta/classes/sdk.bbclass | 1 +
>   1 file changed, 1 insertion(+)
>
Applied to next, thanks.


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-11-03  8:53 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-10-24  5:40 [PATCH 0/1] Remove copy_boot_files task for SDK Uladzimir Bely
2022-10-24  5:40 ` [PATCH 1/1] " Uladzimir Bely
2022-11-03  8:53 ` [PATCH 0/1] " Anton Mikanovich

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox