mbox series

[0/2] Set reasonable defaults for WKS_FILE value

Message ID 20241114134829.1466035-1-amikan@ilbers.de
Headers show
Series Set reasonable defaults for WKS_FILE value | expand

Message

Anton Mikanovich Nov. 14, 2024, 1:48 p.m. UTC
Current default for WKS_FILE supposed to be used on targets with EFI
support, so targets with architectures riscv64 and mipsel will fail on
using it. Set some other WKS_FILE defaults supported by that targets.

This change requires COREBASE variable set by meta layer (just like it
is implemented in OE). This variable specifies the parent directory of
meta layer and was used in bitbake and Isar code without being
initialized.

Anton Mikanovich (2):
  meta: Add missing COREBASE variable
  wic: Set default WKS_FILE for non efi targets

 meta-isar/scripts/lib/wic/canned-wks/qemudefault.wks | 5 +++++
 meta/classes/imagetypes_wic.bbclass                  | 3 +++
 meta/conf/layer.conf                                 | 3 +++
 3 files changed, 11 insertions(+)
 create mode 100644 meta-isar/scripts/lib/wic/canned-wks/qemudefault.wks

Comments

Uladzimir Bely Nov. 21, 2024, 6:49 a.m. UTC | #1
On Thu, 2024-11-14 at 15:48 +0200, Anton Mikanovich wrote:
> Current default for WKS_FILE supposed to be used on targets with EFI
> support, so targets with architectures riscv64 and mipsel will fail
> on
> using it. Set some other WKS_FILE defaults supported by that targets.
> 
> This change requires COREBASE variable set by meta layer (just like
> it
> is implemented in OE). This variable specifies the parent directory
> of
> meta layer and was used in bitbake and Isar code without being
> initialized.
> 
> Anton Mikanovich (2):
>   meta: Add missing COREBASE variable
>   wic: Set default WKS_FILE for non efi targets
> 
>  meta-isar/scripts/lib/wic/canned-wks/qemudefault.wks | 5 +++++
>  meta/classes/imagetypes_wic.bbclass                  | 3 +++
>  meta/conf/layer.conf                                 | 3 +++
>  3 files changed, 11 insertions(+)
>  create mode 100644 meta-isar/scripts/lib/wic/canned-
> wks/qemudefault.wks
> 
> -- 
> 2.34.1
> 

Applied to next.