-
Notifications
You must be signed in to change notification settings - Fork 5
chore: update to yocto 5.0.15 #628
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
mlilien
wants to merge
3
commits into
omnect:main
Choose a base branch
from
mlilien:yocto_5.0.15
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+201
−38
Open
Changes from all commits
Commits
Show all changes
3 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -44,4 +44,4 @@ OMNECT_BOOTLOADER_RECIPE_PATH = "${LAYERDIR_core}/recipes-bsp/u-boot/u-boot_2024 | |
| # computed checksum is different to this; set to <oldchecksum> when | ||
| # OMNECT_BOOTLOADER_CHECKSUM_COMPATIBLE:pn-bootloader-versioned is set | ||
| OMNECT_BOOTLOADER_CHECKSUM_EXPECTED:pn-bootloader-versioned = "f9beee6e5ca031cf7cc37403ddd116c9737c172cdd554e5faced296e2d5375e5" | ||
| OMNECT_BOOTLOADER_CHECKSUM_COMPATIBLE:pn-bootloader-versioned = "b1444975de260efe5a444789b7595c6339c46bdb7b688acde9ab36d2ee6ef07b f9beee6e5ca031cf7cc37403ddd116c9737c172cdd554e5faced296e2d5375e5" | ||
| OMNECT_BOOTLOADER_CHECKSUM_COMPATIBLE:pn-bootloader-versioned = "ca6bc82ce9161b102bca775e216a09ef048685658bdf49938b386aba3586b5b7 f9beee6e5ca031cf7cc37403ddd116c9737c172cdd554e5faced296e2d5375e5" | ||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. upstream changes are releated to cm5. if we would support cm5 officially, this would not be compatible. |
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,86 @@ | ||
| diff --git a/meta-efi-secure-boot/recipes-bsp/grub/grub-efi/0003-mok2verify-support-to-verify-non-PE-file-with-PKCS-7.patch b/meta-efi-secure-boot/recipes-bsp/grub/grub-efi/0003-mok2verify-support-to-verify-non-PE-file-with-PKCS-7.patch | ||
| index 18d937b..328509e 100644 | ||
| --- a/meta-efi-secure-boot/recipes-bsp/grub/grub-efi/0003-mok2verify-support-to-verify-non-PE-file-with-PKCS-7.patch | ||
| +++ b/meta-efi-secure-boot/recipes-bsp/grub/grub-efi/0003-mok2verify-support-to-verify-non-PE-file-with-PKCS-7.patch | ||
| @@ -1,4 +1,4 @@ | ||
| -From db890f512844a23b9e8621d466b39ada9b9e740d Mon Sep 17 00:00:00 2001 | ||
| +From 560291b9cdf1398da4e8ab8bd8602910158853aa Mon Sep 17 00:00:00 2001 | ||
| From: Lans Zhang <jia.zhang@windriver.com> | ||
| Date: Wed, 12 Jul 2017 16:02:13 +0800 | ||
| Subject: [PATCH] mok2verify: support to verify non-PE file with PKCS#7 | ||
| @@ -51,11 +51,11 @@ Signed-off-by: Yi Zhao <yi.zhao@windriver.com> | ||
| grub-core/lib/efi/mok2verify.c | 182 +++++++++++++++++++++++++++++++++ | ||
| grub-core/loader/i386/linux.c | 60 +++++++++++ | ||
| grub-core/loader/linux.c | 27 ++++- | ||
| - grub-core/normal/main.c | 53 +++++++++- | ||
| + grub-core/normal/main.c | 56 +++++++++- | ||
| grub-core/normal/menu.c | 31 ++++-- | ||
| grub-core/normal/menu_text.c | 33 ++++-- | ||
| include/grub/efi/mok2verify.h | 48 +++++++++ | ||
| - 10 files changed, 463 insertions(+), 30 deletions(-) | ||
| + 10 files changed, 466 insertions(+), 30 deletions(-) | ||
| create mode 100644 grub-core/lib/efi/mok2verify.c | ||
| create mode 100644 include/grub/efi/mok2verify.h | ||
|
|
||
| @@ -507,7 +507,7 @@ index 56bc1be..09ce5c1 100644 | ||
| + return err; | ||
| } | ||
| diff --git a/grub-core/normal/main.c b/grub-core/normal/main.c | ||
| -index 5ce76ab..f754609 100644 | ||
| +index 4690243..33cc96e 100644 | ||
| --- a/grub-core/normal/main.c | ||
| +++ b/grub-core/normal/main.c | ||
| @@ -34,6 +34,9 @@ | ||
| @@ -611,20 +611,28 @@ index 5ce76ab..f754609 100644 | ||
| return 0; | ||
| } | ||
|
|
||
| -@@ -547,8 +589,11 @@ GRUB_MOD_INIT(normal) | ||
| +@@ -547,7 +589,10 @@ GRUB_MOD_INIT(normal) | ||
| /* Register a command "normal" for the rescue mode. */ | ||
| - grub_register_command ("normal", grub_cmd_normal, | ||
| - 0, N_("Enter normal mode.")); | ||
| -- grub_register_command ("normal_exit", grub_cmd_normal_exit, | ||
| -- 0, N_("Exit from normal mode.")); | ||
| + cmd_normal = grub_register_command ("normal", grub_cmd_normal, | ||
| + 0, N_("Enter normal mode.")); | ||
| +- cmd_normal_exit = grub_register_command ("normal_exit", grub_cmd_normal_exit, | ||
| +#ifdef GRUB_MACHINE_EFI | ||
| + if (grub_is_secured () == 0) | ||
| +#endif | ||
| -+ grub_register_command ("normal_exit", grub_cmd_normal_exit, | ||
| -+ 0, N_("Exit from normal mode.")); | ||
| ++ cmd_normal_exit = grub_register_command ("normal_exit", grub_cmd_normal_exit, | ||
| + 0, N_("Exit from normal mode.")); | ||
|
|
||
| /* Reload terminal colors when these variables are written to. */ | ||
| - grub_register_variable_hook ("color_normal", NULL, grub_env_write_color_normal); | ||
| +@@ -591,5 +636,8 @@ GRUB_MOD_FINI(normal) | ||
| + grub_fs_autoload_hook = 0; | ||
| + grub_unregister_command (cmd_clear); | ||
| + grub_unregister_command (cmd_normal); | ||
| +- grub_unregister_command (cmd_normal_exit); | ||
| ++#ifdef GRUB_MACHINE_EFI | ||
| ++ if (grub_is_secured () == 0) | ||
| ++#endif | ||
| ++ grub_unregister_command (cmd_normal_exit); | ||
| + } | ||
| diff --git a/grub-core/normal/menu.c b/grub-core/normal/menu.c | ||
| index 6a90e09..17eadf3 100644 | ||
| --- a/grub-core/normal/menu.c | ||
| @@ -796,5 +804,5 @@ index 0000000..98ef2d4 | ||
| + | ||
| +#endif /* ! GRUB_EFI_MOK2_VERIFY_HEADER */ | ||
| -- | ||
| -2.25.1 | ||
| +2.34.1 | ||
|
|
||
| diff --git a/meta-efi-secure-boot/conf/layer.conf b/meta-efi-secure-boot/conf/layer.conf | ||
| index 0efef32..1ebddf7 100644 | ||
| --- a/meta-efi-secure-boot/conf/layer.conf | ||
| +++ b/meta-efi-secure-boot/conf/layer.conf | ||
| @@ -20,3 +20,4 @@ LAYERDEPENDS_efi-secure-boot = "\ | ||
| " | ||
|
|
||
| LAYERSERIES_COMPAT_efi-secure-boot = "scarthgap" | ||
| +LAYERDIR_efi-secure-boot = "${LAYERDIR}" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,77 @@ | ||
| diff --git a/meta-efi-secure-boot/recipes-bsp/grub/grub-efi/0003-mok2verify-support-to-verify-non-PE-file-with-PKCS-7.patch b/meta-efi-secure-boot/recipes-bsp/grub/grub-efi/0003-mok2verify-support-to-verify-non-PE-file-with-PKCS-7.patch | ||
| index 18d937b..328509e 100644 | ||
| --- a/meta-efi-secure-boot/recipes-bsp/grub/grub-efi/0003-mok2verify-support-to-verify-non-PE-file-with-PKCS-7.patch | ||
| +++ b/meta-efi-secure-boot/recipes-bsp/grub/grub-efi/0003-mok2verify-support-to-verify-non-PE-file-with-PKCS-7.patch | ||
| @@ -1,4 +1,4 @@ | ||
| -From db890f512844a23b9e8621d466b39ada9b9e740d Mon Sep 17 00:00:00 2001 | ||
| +From 560291b9cdf1398da4e8ab8bd8602910158853aa Mon Sep 17 00:00:00 2001 | ||
| From: Lans Zhang <jia.zhang@windriver.com> | ||
| Date: Wed, 12 Jul 2017 16:02:13 +0800 | ||
| Subject: [PATCH] mok2verify: support to verify non-PE file with PKCS#7 | ||
| @@ -51,11 +51,11 @@ Signed-off-by: Yi Zhao <yi.zhao@windriver.com> | ||
| grub-core/lib/efi/mok2verify.c | 182 +++++++++++++++++++++++++++++++++ | ||
| grub-core/loader/i386/linux.c | 60 +++++++++++ | ||
| grub-core/loader/linux.c | 27 ++++- | ||
| - grub-core/normal/main.c | 53 +++++++++- | ||
| + grub-core/normal/main.c | 56 +++++++++- | ||
| grub-core/normal/menu.c | 31 ++++-- | ||
| grub-core/normal/menu_text.c | 33 ++++-- | ||
| include/grub/efi/mok2verify.h | 48 +++++++++ | ||
| - 10 files changed, 463 insertions(+), 30 deletions(-) | ||
| + 10 files changed, 466 insertions(+), 30 deletions(-) | ||
| create mode 100644 grub-core/lib/efi/mok2verify.c | ||
| create mode 100644 include/grub/efi/mok2verify.h | ||
|
|
||
| @@ -507,7 +507,7 @@ index 56bc1be..09ce5c1 100644 | ||
| + return err; | ||
| } | ||
| diff --git a/grub-core/normal/main.c b/grub-core/normal/main.c | ||
| -index 5ce76ab..f754609 100644 | ||
| +index 4690243..33cc96e 100644 | ||
| --- a/grub-core/normal/main.c | ||
| +++ b/grub-core/normal/main.c | ||
| @@ -34,6 +34,9 @@ | ||
| @@ -611,20 +611,28 @@ index 5ce76ab..f754609 100644 | ||
| return 0; | ||
| } | ||
|
|
||
| -@@ -547,8 +589,11 @@ GRUB_MOD_INIT(normal) | ||
| +@@ -547,7 +589,10 @@ GRUB_MOD_INIT(normal) | ||
| /* Register a command "normal" for the rescue mode. */ | ||
| - grub_register_command ("normal", grub_cmd_normal, | ||
| - 0, N_("Enter normal mode.")); | ||
| -- grub_register_command ("normal_exit", grub_cmd_normal_exit, | ||
| -- 0, N_("Exit from normal mode.")); | ||
| + cmd_normal = grub_register_command ("normal", grub_cmd_normal, | ||
| + 0, N_("Enter normal mode.")); | ||
| +- cmd_normal_exit = grub_register_command ("normal_exit", grub_cmd_normal_exit, | ||
| +#ifdef GRUB_MACHINE_EFI | ||
| + if (grub_is_secured () == 0) | ||
| +#endif | ||
| -+ grub_register_command ("normal_exit", grub_cmd_normal_exit, | ||
| -+ 0, N_("Exit from normal mode.")); | ||
| ++ cmd_normal_exit = grub_register_command ("normal_exit", grub_cmd_normal_exit, | ||
| + 0, N_("Exit from normal mode.")); | ||
|
|
||
| /* Reload terminal colors when these variables are written to. */ | ||
| - grub_register_variable_hook ("color_normal", NULL, grub_env_write_color_normal); | ||
| +@@ -591,5 +636,8 @@ GRUB_MOD_FINI(normal) | ||
| + grub_fs_autoload_hook = 0; | ||
| + grub_unregister_command (cmd_clear); | ||
| + grub_unregister_command (cmd_normal); | ||
| +- grub_unregister_command (cmd_normal_exit); | ||
| ++#ifdef GRUB_MACHINE_EFI | ||
| ++ if (grub_is_secured () == 0) | ||
| ++#endif | ||
| ++ grub_unregister_command (cmd_normal_exit); | ||
| + } | ||
| diff --git a/grub-core/normal/menu.c b/grub-core/normal/menu.c | ||
| index 6a90e09..17eadf3 100644 | ||
| --- a/grub-core/normal/menu.c | ||
| @@ -796,5 +804,5 @@ index 0000000..98ef2d4 | ||
| + | ||
| +#endif /* ! GRUB_EFI_MOK2_VERIFY_HEADER */ | ||
| -- | ||
| -2.25.1 | ||
| +2.34.1 | ||
|
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
not compatible because of explicit grub cve patches