diff options
author | Changqing Li <changqing.li@windriver.com> | 2019-12-30 18:04:30 +0800 |
---|---|---|
committer | Jia Zhang <zhang.jia@linux.alibaba.com> | 2019-12-30 18:57:07 +0800 |
commit | 8a518a2054bdd349d7661ee4872590fc8750313f (patch) | |
tree | f50961b2c9b4d970fcc4243bce797d105b27ec63 | |
parent | c0e7d60718fd0e81776396413970293729487fc3 (diff) | |
download | meta-secure-core-8a518a2054bdd349d7661ee4872590fc8750313f.tar.gz |
mokutil: fix typo
Signed-off-by: Changqing Li <changqing.li@windriver.com>
-rw-r--r-- | meta-efi-secure-boot/recipes-extended/mokutil/files/0001-mokutil.c-fix-typo-enrollement-enrollment.patch | 30 | ||||
-rw-r--r-- | meta-efi-secure-boot/recipes-extended/mokutil/mokutil_git.bb | 1 |
2 files changed, 31 insertions, 0 deletions
diff --git a/meta-efi-secure-boot/recipes-extended/mokutil/files/0001-mokutil.c-fix-typo-enrollement-enrollment.patch b/meta-efi-secure-boot/recipes-extended/mokutil/files/0001-mokutil.c-fix-typo-enrollement-enrollment.patch new file mode 100644 index 0000000..39fd01a --- /dev/null +++ b/meta-efi-secure-boot/recipes-extended/mokutil/files/0001-mokutil.c-fix-typo-enrollement-enrollment.patch | |||
@@ -0,0 +1,30 @@ | |||
1 | From e9d8b0cfa9e2364a6112be7bdeaf3647b968ace3 Mon Sep 17 00:00:00 2001 | ||
2 | From: Changqing Li <changqing.li@windriver.com> | ||
3 | Date: Mon, 30 Dec 2019 17:40:12 +0800 | ||
4 | Subject: [PATCH] mokutil.c: fix typo enrollement -> enrollment | ||
5 | |||
6 | Signed-off-by: Changqing Li <changqing.li@windriver.com> | ||
7 | |||
8 | Upstream-Status: Backport [https://github.com/lcp/mokutil/commit/e37eeef4866f5f3bbeaef3fe1d1360ebac76bdc5] | ||
9 | |||
10 | Signed-off-by: Changqing Li <changqing.li@windriver.com> | ||
11 | --- | ||
12 | src/mokutil.c | 2 +- | ||
13 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
14 | |||
15 | diff --git a/src/mokutil.c b/src/mokutil.c | ||
16 | index 0be9e84..9a7b853 100644 | ||
17 | --- a/src/mokutil.c | ||
18 | +++ b/src/mokutil.c | ||
19 | @@ -1159,7 +1159,7 @@ print_skip_message (const char *filename, void *mok, uint32_t mok_size, | ||
20 | printf ("SKIP: %s is already enrolled\n", filename); | ||
21 | else if (is_duplicate (&efi_guid_x509_cert, mok, mok_size, | ||
22 | &efi_guid_shim, "MokNew")) | ||
23 | - printf ("SKIP: %s is already in the enrollement request\n", filename); | ||
24 | + printf ("SKIP: %s is already in the enrollment request\n", filename); | ||
25 | break; | ||
26 | case DELETE_MOK: | ||
27 | if (!is_duplicate (&efi_guid_x509_cert, mok, mok_size, | ||
28 | -- | ||
29 | 2.7.4 | ||
30 | |||
diff --git a/meta-efi-secure-boot/recipes-extended/mokutil/mokutil_git.bb b/meta-efi-secure-boot/recipes-extended/mokutil/mokutil_git.bb index 6a04cfa..b91790c 100644 --- a/meta-efi-secure-boot/recipes-extended/mokutil/mokutil_git.bb +++ b/meta-efi-secure-boot/recipes-extended/mokutil/mokutil_git.bb | |||
@@ -9,6 +9,7 @@ PV = "0.3.0+git${SRCPV}" | |||
9 | 9 | ||
10 | SRC_URI = "\ | 10 | SRC_URI = "\ |
11 | git://github.com/lcp/mokutil.git \ | 11 | git://github.com/lcp/mokutil.git \ |
12 | file://0001-mokutil.c-fix-typo-enrollement-enrollment.patch \ | ||
12 | " | 13 | " |
13 | SRCREV = "e19adc575c1f9d8f08b7fbc594a0887ace63f83f" | 14 | SRCREV = "e19adc575c1f9d8f08b7fbc594a0887ace63f83f" |
14 | 15 | ||