[OE-core] [PATCH v2 2/9] grub-bootconf: switch to uefi.bbclass

2019-09-13 Thread dbaryshkov
From: Dmitry Eremin-Solenikov Use variables from uefi.bbclass instead of hardcoding them in the recipe. Signed-off-by: Dmitry Eremin-Solenikov --- meta/recipes-bsp/grub/grub-bootconf_1.00.bb | 9 - 1 file changed, 4 insertions(+), 5 deletions(-) diff --git

[OE-core] [PATCH v2 4/9] grub-efi.bbclass: switch to uefi.bbclass

2019-09-13 Thread dbaryshkov
From: Dmitry Eremin-Solenikov Use variables from uefi.bbclass instead of hardcoding them in the class. Signed-off-by: Dmitry Eremin-Solenikov --- meta/classes/grub-efi-cfg.bbclass | 1 - meta/classes/grub-efi.bbclass | 20 2 files changed, 4 insertions(+), 17

[OE-core] [PATCH v2 5/9] systemd-boot: switch to uefi.bbclass

2019-09-13 Thread dbaryshkov
From: Dmitry Eremin-Solenikov Use variables from uefi.bbclass instead of hardcoding them in the recipe. Signed-off-by: Dmitry Eremin-Solenikov --- meta/recipes-core/systemd/systemd-boot_242.bb | 15 ++- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git

[OE-core] [PATCH v2 1/9] uefi.bbclass: add bbclass holding configuration for UEFI applications

2019-09-13 Thread dbaryshkov
From: Dmitry Eremin-Solenikov Create new bbclass defining common variables for all UEFI-related packages (bootloaders, test applications, etc). Signed-off-by: Dmitry Eremin-Solenikov --- meta/classes/uefi.bbclass | 26 ++ 1 file changed, 26 insertions(+) create mode

[OE-core] [PATCH v2 7/9] uefi.bbclass: provide efi population functions for live images

2019-09-13 Thread dbaryshkov
From: Dmitry Eremin-Solenikov Define common functions for populating EFI directories in live image. Signed-off-by: Dmitry Eremin-Solenikov --- meta/classes/uefi.bbclass | 28 1 file changed, 28 insertions(+) diff --git a/meta/classes/uefi.bbclass

[OE-core] [PATCH v2 8/9] grub-efi.bbclass: use efi_*_populate_common

2019-09-13 Thread dbaryshkov
From: Dmitry Eremin-Solenikov Use common code form uefi.bbclass to populate efi directories. Signed-off-by: Dmitry Eremin-Solenikov --- meta/classes/grub-efi.bbclass | 22 ++ 1 file changed, 2 insertions(+), 20 deletions(-) diff --git a/meta/classes/grub-efi.bbclass

[OE-core] [PATCH v2 6/9] systemd-boot.bbclass: switch to uefi.bbclass

2019-09-13 Thread dbaryshkov
From: Dmitry Eremin-Solenikov Use variables from uefi.bbclass instead of hardcoding them in the class. Signed-off-by: Dmitry Eremin-Solenikov --- meta/classes/systemd-boot.bbclass | 15 --- 1 file changed, 4 insertions(+), 11 deletions(-) diff --git

[OE-core] [PATCH v2 3/9] grub-efi: switch to uefi.bbclass

2019-09-13 Thread dbaryshkov
From: Dmitry Eremin-Solenikov Use variables from uefi.bbclass instead of hardcoding them in the recipe. Signed-off-by: Dmitry Eremin-Solenikov --- meta/recipes-bsp/grub/grub-efi_2.04.bb | 17 +++-- 1 file changed, 7 insertions(+), 10 deletions(-) diff --git

[OE-core] [PATCH v2 9/9] systemd-boot.bbclass: use efi_*_populate_common

2019-09-13 Thread dbaryshkov
From: Dmitry Eremin-Solenikov Use common code form uefi.bbclass to populate efi directories. Signed-off-by: Dmitry Eremin-Solenikov --- meta/classes/systemd-boot.bbclass | 18 +++--- 1 file changed, 3 insertions(+), 15 deletions(-) diff --git a/meta/classes/systemd-boot.bbclass

[OE-core] [PATCH 5/9] systemd-boot: switch to uefi.bbclass

2019-09-11 Thread dbaryshkov
From: Dmitry Eremin-Solenikov Use variables from uefi.bbclass instead of hardcoding them in the recipe. Signed-off-by: Dmitry Eremin-Solenikov --- meta/recipes-core/systemd/systemd-boot_242.bb | 15 ++- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git

[OE-core] [PATCH 6/9] systemd-boot.bbclass: switch to uefi.bbclass

2019-09-11 Thread dbaryshkov
From: Dmitry Eremin-Solenikov Use variables from uefi.bbclass instead of hardcoding them in the class. Signed-off-by: Dmitry Eremin-Solenikov --- meta/classes/systemd-boot.bbclass | 15 --- 1 file changed, 4 insertions(+), 11 deletions(-) diff --git

[OE-core] [PATCH 7/9] uefi.bbclass: provide efi population functions for live images

2019-09-11 Thread dbaryshkov
From: Dmitry Eremin-Solenikov Define common functions for populating EFI directories in live image. Signed-off-by: Dmitry Eremin-Solenikov --- meta/classes/uefi.bbclass | 28 1 file changed, 28 insertions(+) diff --git a/meta/classes/uefi.bbclass

[OE-core] [PATCH 3/9] grub-efi: switch to uefi.bbclass

2019-09-11 Thread dbaryshkov
From: Dmitry Eremin-Solenikov Use variables from uefi.bbclass instead of hardcoding them in the recipe. Signed-off-by: Dmitry Eremin-Solenikov --- meta/recipes-bsp/grub/grub-efi_2.04.bb | 17 +++-- 1 file changed, 7 insertions(+), 10 deletions(-) diff --git

[OE-core] [PATCH 9/9] systemd-boot.bbclass: use efi_*_populate_common

2019-09-11 Thread dbaryshkov
From: Dmitry Eremin-Solenikov Use common code form uefi.bbclass to populate efi directories. Signed-off-by: Dmitry Eremin-Solenikov --- meta/classes/systemd-boot.bbclass | 18 +++--- 1 file changed, 3 insertions(+), 15 deletions(-) diff --git a/meta/classes/systemd-boot.bbclass

[OE-core] [PATCH 8/9] grub-efi.bbclass: use efi_*_populate_common

2019-09-11 Thread dbaryshkov
From: Dmitry Eremin-Solenikov Use common code form uefi.bbclass to populate efi directories. Signed-off-by: Dmitry Eremin-Solenikov --- meta/classes/grub-efi.bbclass | 22 ++ 1 file changed, 2 insertions(+), 20 deletions(-) diff --git a/meta/classes/grub-efi.bbclass

[OE-core] [PATCH 4/9] grub-efi.bbclass: switch to uefi.bbclass

2019-09-11 Thread dbaryshkov
From: Dmitry Eremin-Solenikov Use variables from uefi.bbclass instead of hardcoding them in the class. Signed-off-by: Dmitry Eremin-Solenikov --- meta/classes/grub-efi-cfg.bbclass | 1 - meta/classes/grub-efi.bbclass | 20 2 files changed, 4 insertions(+), 17

[OE-core] [PATCH 2/9] grub-bootconf: switch to uefi.bbclass

2019-09-11 Thread dbaryshkov
From: Dmitry Eremin-Solenikov Use variables from uefi.bbclass instead of hardcoding them in the recipe. Signed-off-by: Dmitry Eremin-Solenikov --- meta/recipes-bsp/grub/grub-bootconf_1.00.bb | 9 - 1 file changed, 4 insertions(+), 5 deletions(-) diff --git

[OE-core] [PATCH 1/9] uefi.bbclass: add bbclass holding configuration for UEFI applications

2019-09-11 Thread dbaryshkov
From: Dmitry Eremin-Solenikov Create new bbclass defining common variables for all UEFI-related packages (bootloaders, test applications, etc). Signed-off-by: Dmitry Eremin-Solenikov --- meta/classes/uefi.bbclass | 26 ++ 1 file changed, 26 insertions(+) create mode

[OE-core] [PATCH v3 1/9] uefi.conf: add config file holding configuration for UEFI applications

2019-09-17 Thread dbaryshkov
From: Dmitry Eremin-Solenikov Create new config file defining common variables for all UEFI-related packages (bootloaders, test applications, etc). Signed-off-by: Dmitry Eremin-Solenikov --- meta/conf/uefi.conf | 16 1 file changed, 16 insertions(+) create mode 100644

[OE-core] [PATCH v3 8/9] grub-efi.bbclass: use efi_*_populate_common

2019-09-17 Thread dbaryshkov
From: Dmitry Eremin-Solenikov Use common code form uefi.bbclass to populate efi directories. Signed-off-by: Dmitry Eremin-Solenikov --- meta/classes/grub-efi.bbclass | 24 +++- 1 file changed, 3 insertions(+), 21 deletions(-) diff --git a/meta/classes/grub-efi.bbclass

[OE-core] [PATCH v3 9/9] systemd-boot.bbclass: use efi_*_populate_common

2019-09-17 Thread dbaryshkov
From: Dmitry Eremin-Solenikov Use common code form uefi.bbclass to populate efi directories. Signed-off-by: Dmitry Eremin-Solenikov --- meta/classes/systemd-boot.bbclass | 20 1 file changed, 4 insertions(+), 16 deletions(-) diff --git a/meta/classes/systemd-boot.bbclass

[OE-core] [PATCH v3 6/9] systemd-boot.bbclass: switch to uefi.conf

2019-09-17 Thread dbaryshkov
From: Dmitry Eremin-Solenikov Use variables from uefi.conf instead of hardcoding them in the class. Signed-off-by: Dmitry Eremin-Solenikov --- meta/classes/systemd-boot.bbclass | 15 --- 1 file changed, 4 insertions(+), 11 deletions(-) diff --git

[OE-core] [PATCH v3 5/9] systemd-boot: switch to uefi.conf

2019-09-17 Thread dbaryshkov
From: Dmitry Eremin-Solenikov Use variables from uefi.conf instead of hardcoding them in the recipe. Signed-off-by: Dmitry Eremin-Solenikov --- meta/recipes-core/systemd/systemd-boot_243.bb | 15 ++- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git

[OE-core] [PATCH v3 7/9] uefi.bbclass: provide efi population functions for live images

2019-09-17 Thread dbaryshkov
From: Dmitry Eremin-Solenikov Define common functions for populating EFI directories in live image. Signed-off-by: Dmitry Eremin-Solenikov --- meta/classes/uefi.bbclass | 29 + 1 file changed, 29 insertions(+) create mode 100644 meta/classes/uefi.bbclass diff

[OE-core] [PATCH v3 3/9] grub-efi: switch to uefi.conf

2019-09-17 Thread dbaryshkov
From: Dmitry Eremin-Solenikov Use variables from uefi.conf instead of hardcoding them in the recipe. Signed-off-by: Dmitry Eremin-Solenikov --- meta/recipes-bsp/grub/grub-efi_2.04.bb | 17 +++-- 1 file changed, 7 insertions(+), 10 deletions(-) diff --git

[OE-core] [PATCH v3 2/9] grub-bootconf: switch to uefi.conf

2019-09-17 Thread dbaryshkov
From: Dmitry Eremin-Solenikov Use variables from uefi.conf instead of hardcoding them in the recipe. Signed-off-by: Dmitry Eremin-Solenikov --- meta/recipes-bsp/grub/grub-bootconf_1.00.bb | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git

[OE-core] [PATCH v3 4/9] grub-efi.bbclass: switch to uefi.conf

2019-09-17 Thread dbaryshkov
From: Dmitry Eremin-Solenikov Use variables from uefi.conf instead of hardcoding them in the class. Signed-off-by: Dmitry Eremin-Solenikov --- meta/classes/grub-efi-cfg.bbclass | 1 - meta/classes/grub-efi.bbclass | 20 2 files changed, 4 insertions(+), 17

[OE-core] [PATCH v3 3/7] grub-efi: switch to image-uefi.conf

2019-09-18 Thread dbaryshkov
From: Dmitry Eremin-Solenikov Use variables from image-uefi.conf instead of hardcoding them in the recipe. Signed-off-by: Dmitry Eremin-Solenikov --- meta/recipes-bsp/grub/grub-efi_2.04.bb | 17 +++-- 1 file changed, 7 insertions(+), 10 deletions(-) diff --git

[OE-core] [PATCH v3 6/7] systemd-boot.bbclass: switch to image-uefi.conf

2019-09-18 Thread dbaryshkov
From: Dmitry Eremin-Solenikov Use variables from image-uefi.conf instead of hardcoding them in the class. Signed-off-by: Dmitry Eremin-Solenikov --- meta/classes/systemd-boot.bbclass | 15 --- 1 file changed, 4 insertions(+), 11 deletions(-) diff --git

[OE-core] [PATCH v3 4/7] grub-efi.bbclass: switch to image-uefi.conf

2019-09-18 Thread dbaryshkov
From: Dmitry Eremin-Solenikov Use variables from image-uefi.conf instead of hardcoding them in the class. Signed-off-by: Dmitry Eremin-Solenikov --- meta/classes/grub-efi-cfg.bbclass | 1 - meta/classes/grub-efi.bbclass | 20 2 files changed, 4 insertions(+), 17

[OE-core] [PATCH v3 2/7] grub-bootconf: switch to image-uefi.conf

2019-09-18 Thread dbaryshkov
From: Dmitry Eremin-Solenikov Use variables from image-uefi.conf instead of hardcoding them in the recipe. Signed-off-by: Dmitry Eremin-Solenikov --- meta/recipes-bsp/grub/grub-bootconf_1.00.bb | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git

[OE-core] [PATCH v3 5/7] systemd-boot: switch to image-uefi.conf

2019-09-18 Thread dbaryshkov
From: Dmitry Eremin-Solenikov Use variables from image-uefi.conf instead of hardcoding them in the recipe. Signed-off-by: Dmitry Eremin-Solenikov --- meta/recipes-core/systemd/systemd-boot_243.bb | 15 ++- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git

[OE-core] [PATCH v3 7/7] live-vm-common.bbclass: provide efi population functions for live images

2019-09-18 Thread dbaryshkov
From: Dmitry Eremin-Solenikov Define common functions for populating EFI directories in live image by reusing common code from grub-efi and systemd-boot bbclasses. Signed-off-by: Dmitry Eremin-Solenikov --- meta/classes/grub-efi.bbclass | 28 +---

[OE-core] [PATCH v3 1/7] image-uefi.conf: add config file holding configuration for UEFI images

2019-09-18 Thread dbaryshkov
From: Dmitry Eremin-Solenikov Create new config file defining common variables for all UEFI-related packages (bootloaders, test applications, etc). Signed-off-by: Dmitry Eremin-Solenikov --- meta/conf/image-uefi.conf | 16 1 file changed, 16 insertions(+) create mode 100644

[OE-core] [PATCH] module.bbclass: do not strip packages if modules signing is enabled

2019-08-08 Thread dbaryshkov
From: Dmitry Eremin-Solenikov Stripping kernel modules will also remove signature, thus we have to inhibit package striping in case modules signatures are enabled. Signed-off-by: Dmitry Eremin-Solenikov --- meta/classes/module.bbclass | 3 +++ 1 file changed, 3 insertions(+) diff --git

[OE-core] [PATCH v2 5/5] shim: add first-stage UEFI bootloader implementing MOK protocol

2019-09-29 Thread dbaryshkov
From: Dmitry Eremin-Solenikov Signed-off-by: Dmitry Eremin-Solenikov --- ...ompareMem-on-MokListNode.Type-instea.patch | 69 ++ meta/recipes-bsp/shim/shim_git.bb | 72 +++ 2 files changed, 141 insertions(+) create mode 100644

[OE-core] [PATCH v2 4/5] image-uefi.conf: define generic EFI_COMPATIBLE_HOST

2019-09-29 Thread dbaryshkov
From: Dmitry Eremin-Solenikov Signed-off-by: Dmitry Eremin-Solenikov --- meta/conf/image-uefi.conf | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta/conf/image-uefi.conf b/meta/conf/image-uefi.conf index 669c16d42af4..19729c401dfa 100644 --- a/meta/conf/image-uefi.conf +++

[OE-core] [PATCH v2 2/5] systemd-boot: replace anonymous function with static configuration

2019-09-29 Thread dbaryshkov
From: Dmitry Eremin-Solenikov Replace anonymous function setting GRUB_* variables with static configuration, since systemd-boot.bbclass will use fixed names for systemd bootloader. Signed-off-by: Dmitry Eremin-Solenikov --- meta/recipes-core/systemd/systemd-boot_243.bb | 19

[OE-core] [PATCH v2 1/5] grub-efi: replace anonymous function with static configuration

2019-09-29 Thread dbaryshkov
From: Dmitry Eremin-Solenikov Replace anonymous function setting GRUB_* variables with static configuration, since grub-efi.bbclass will use fixed names for grub bootloader. Signed-off-by: Dmitry Eremin-Solenikov --- meta/recipes-bsp/grub/grub-efi_2.04.bb | 40 -- 1

[OE-core] [PATCH v2 3/5] image-uefi.conf: define EFI_ARCH variable

2019-09-29 Thread dbaryshkov
From: Dmitry Eremin-Solenikov Define EFI_ARCH to suffix used by UEFI on the platform to name files. Signed-off-by: Dmitry Eremin-Solenikov --- meta/conf/image-uefi.conf | 12 +++- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/meta/conf/image-uefi.conf

[OE-core] [PATCH 2/5] systemd-boot: replace anonymous function with static configuration

2019-09-29 Thread dbaryshkov
From: Dmitry Eremin-Solenikov Replace anonymous function setting GRUB_* variables with static configuration, since systemd-boot.bbclass will use fixed names for systemd bootloader. Signed-off-by: Dmitry Eremin-Solenikov --- meta/recipes-core/systemd/systemd-boot_243.bb | 19

[OE-core] [PATCH 5/5] shim: add first-stage UEFI bootloader implementing MOK protocol

2019-09-29 Thread dbaryshkov
From: Dmitry Eremin-Solenikov Signed-off-by: Dmitry Eremin-Solenikov --- ...ompareMem-on-MokListNode.Type-instea.patch | 68 ++ meta/recipes-bsp/shim/shim_git.bb | 72 +++ 2 files changed, 140 insertions(+) create mode 100644

[OE-core] [PATCH 3/5] image-uefi.conf: define EFI_ARCH variable

2019-09-29 Thread dbaryshkov
From: Dmitry Eremin-Solenikov Define EFI_ARCH to suffix used by UEFI on the platform to name files. Signed-off-by: Dmitry Eremin-Solenikov --- meta/conf/image-uefi.conf | 12 +++- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/meta/conf/image-uefi.conf

[OE-core] [PATCH 4/5] image-uefi.conf: define generic EFI_COMPATIBLE_HOST

2019-09-29 Thread dbaryshkov
From: Dmitry Eremin-Solenikov Signed-off-by: Dmitry Eremin-Solenikov --- meta/conf/image-uefi.conf | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta/conf/image-uefi.conf b/meta/conf/image-uefi.conf index 669c16d42af4..19729c401dfa 100644 --- a/meta/conf/image-uefi.conf +++

[OE-core] [PATCH 1/5] grub-efi: replace anonymous function with static configuration

2019-09-29 Thread dbaryshkov
From: Dmitry Eremin-Solenikov Replace anonymous function setting GRUB_* variables with static configuration, since grub-efi.bbclass will use fixed names for grub bootloader. Signed-off-by: Dmitry Eremin-Solenikov --- meta/recipes-bsp/grub/grub-efi_2.04.bb | 40 -- 1

[OE-core] [PATCH v3 4/5] systemd-boot: replace anonymous function with static configuration

2019-10-14 Thread dbaryshkov
From: Dmitry Eremin-Solenikov Replace anonymous function setting GRUB_* variables with static configuration, since systemd-boot.bbclass will use fixed names for systemd bootloader. Signed-off-by: Dmitry Eremin-Solenikov --- meta/recipes-core/systemd/systemd-boot_243.bb | 23

[OE-core] [PATCH v3 3/5] grub-efi: replace anonymous function with static configuration

2019-10-14 Thread dbaryshkov
From: Dmitry Eremin-Solenikov Replace anonymous function setting GRUB_* variables with static configuration, since grub-efi.bbclass will use fixed names for grub bootloader. Signed-off-by: Dmitry Eremin-Solenikov --- meta/recipes-bsp/grub/grub-efi_2.04.bb | 40 ++ 1

[OE-core] [PATCH v3 1/5] conf/image-uefi: fix building images for multilib case

2019-10-14 Thread dbaryshkov
From: Dmitry Eremin-Solenikov Building live images for lib32-core-minimal-image will fail because image target override won't match grub's override. Fix this by introducing anonymous python function. A proper fix should be to introduce multilib overrides, but it will be more intrusive.

[OE-core] [PATCH v3 2/5] multilib.conf: add systemd-boot to non-multilib recipes list

2019-10-14 Thread dbaryshkov
From: Dmitry Eremin-Solenikov Add systemd-boot to NON_MULTILIB_RECIPES so that it won't be built for multilib targets. Signed-off-by: Dmitry Eremin-Solenikov --- meta/conf/multilib.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/conf/multilib.conf

[OE-core] [PATCH v3 5/5] image-uefi.conf: define generic EFI_COMPATIBLE_HOST

2019-10-14 Thread dbaryshkov
From: Dmitry Eremin-Solenikov Signed-off-by: Dmitry Eremin-Solenikov --- meta/conf/image-uefi.conf | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta/conf/image-uefi.conf b/meta/conf/image-uefi.conf index 57fd18f02742..6173785d8327 100644 --- a/meta/conf/image-uefi.conf +++

[OE-core] [PATCH 1/2] conf/image-uefi: fix building images for multilib case

2019-11-01 Thread dbaryshkov
From: Dmitry Eremin-Solenikov Building live images for lib32-core-minimal-image will fail because image target override won't match grub's override. Fix this by introducing anonymous python function. A proper fix should be to introduce multilib overrides, but it will be more intrusive.

[OE-core] [PATCH 2/2] multilib.conf: add systemd-boot to non-multilib recipes list

2019-11-01 Thread dbaryshkov
From: Dmitry Eremin-Solenikov Add systemd-boot to NON_MULTILIB_RECIPES so that it won't be built for multilib targets. Signed-off-by: Dmitry Eremin-Solenikov --- meta/conf/multilib.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/conf/multilib.conf

[OE-core] [PATCH 0/2] fix multilib issues with UEFI bootloaders

2019-11-01 Thread dbaryshkov
Last UEFI patchset that went in broke building not-native multilib images (like lib32-core-image-minimal). Fix this issue by listing systemd-boot as non-multilib recipe and by fixing UEFI app naming in multilib cases. -- With best wishes Dmitry -- ___

[OE-core] [PATCH] conf/image-uefi: fix building images for multilib case

2019-10-12 Thread dbaryshkov
From: Dmitry Eremin-Solenikov Building live images for lib32-core-minimal-image will fail because image target override won't match grub's override. Fix this by introducing anonymous python function. A proper fix should be to introduce multilib overrides, but it will be more intrusive.

[OE-core] [PATCH] multilib.conf: add systemd-boot to non-multilib recipes list

2019-10-14 Thread dbaryshkov
From: Dmitry Eremin-Solenikov Add systemd-boot to NON_MULTILIB_RECIPES so that it won't be built for multilib targets. Signed-off-by: Dmitry Eremin-Solenikov --- meta/conf/multilib.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/conf/multilib.conf