diff options
| author | Khem Raj <raj.khem@gmail.com> | 2020-09-29 13:14:30 -0700 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-09-30 15:01:51 +0100 |
| commit | e1f186da61c3379e66576c3175997feba9a74d42 (patch) | |
| tree | 5914656a87ee8cc6394ce7438e71f45a4efb228f | |
| parent | 4b956d1b64f07be79edfa8d1e3ee26a7810144a2 (diff) | |
| download | poky-e1f186da61c3379e66576c3175997feba9a74d42.tar.gz | |
systemd: Drop 0023-Fix-field-efi_loader_entry_one_shot_stat-has-incompl.patch
This patch is no longer needed as upstream has added including part of
this include list, perhaps thats all is what was needed to make it
portable
Refresh 0001-Handle-missing-gshadow.patch
(From OE-Core rev: 0f5d9d8cc5d05a7a485e4cb89b37d06ea0d05d23)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 files changed, 7 insertions, 45 deletions
diff --git a/meta/recipes-core/systemd/systemd/0001-Handle-missing-gshadow.patch b/meta/recipes-core/systemd/systemd/0001-Handle-missing-gshadow.patch index 723cd2e52e..c5960a0d60 100644 --- a/meta/recipes-core/systemd/systemd/0001-Handle-missing-gshadow.patch +++ b/meta/recipes-core/systemd/systemd/0001-Handle-missing-gshadow.patch | |||
| @@ -14,10 +14,8 @@ Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com> | |||
| 14 | src/shared/userdb.c | 6 ++++++ | 14 | src/shared/userdb.c | 6 ++++++ |
| 15 | 3 files changed, 30 insertions(+) | 15 | 3 files changed, 30 insertions(+) |
| 16 | 16 | ||
| 17 | Index: systemd-stable/src/shared/group-record-nss.c | 17 | --- a/src/shared/group-record-nss.c |
| 18 | =================================================================== | 18 | +++ b/src/shared/group-record-nss.c |
| 19 | --- systemd-stable.orig/src/shared/group-record-nss.c | ||
| 20 | +++ systemd-stable/src/shared/group-record-nss.c | ||
| 21 | @@ -19,8 +19,10 @@ int nss_group_to_group_record( | 19 | @@ -19,8 +19,10 @@ int nss_group_to_group_record( |
| 22 | if (isempty(grp->gr_name)) | 20 | if (isempty(grp->gr_name)) |
| 23 | return -EINVAL; | 21 | return -EINVAL; |
| @@ -35,7 +33,7 @@ Index: systemd-stable/src/shared/group-record-nss.c | |||
| 35 | 33 | ||
| 36 | +#if ENABLE_GSHADOW | 34 | +#if ENABLE_GSHADOW |
| 37 | if (sgrp) { | 35 | if (sgrp) { |
| 38 | if (hashed_password_valid(sgrp->sg_passwd)) { | 36 | if (looks_like_hashed_password(sgrp->sg_passwd)) { |
| 39 | g->hashed_password = strv_new(sgrp->sg_passwd); | 37 | g->hashed_password = strv_new(sgrp->sg_passwd); |
| 40 | @@ -51,6 +54,7 @@ int nss_group_to_group_record( | 38 | @@ -51,6 +54,7 @@ int nss_group_to_group_record( |
| 41 | if (!g->administrators) | 39 | if (!g->administrators) |
| @@ -119,10 +117,8 @@ Index: systemd-stable/src/shared/group-record-nss.c | |||
| 119 | if (r < 0) | 117 | if (r < 0) |
| 120 | return r; | 118 | return r; |
| 121 | 119 | ||
| 122 | Index: systemd-stable/src/shared/group-record-nss.h | 120 | --- a/src/shared/group-record-nss.h |
| 123 | =================================================================== | 121 | +++ b/src/shared/group-record-nss.h |
| 124 | --- systemd-stable.orig/src/shared/group-record-nss.h | ||
| 125 | +++ systemd-stable/src/shared/group-record-nss.h | ||
| 126 | @@ -2,7 +2,11 @@ | 122 | @@ -2,7 +2,11 @@ |
| 127 | #pragma once | 123 | #pragma once |
| 128 | 124 | ||
| @@ -135,10 +131,8 @@ Index: systemd-stable/src/shared/group-record-nss.h | |||
| 135 | 131 | ||
| 136 | #include "group-record.h" | 132 | #include "group-record.h" |
| 137 | 133 | ||
| 138 | Index: systemd-stable/src/shared/userdb.c | 134 | --- a/src/shared/userdb.c |
| 139 | =================================================================== | 135 | +++ b/src/shared/userdb.c |
| 140 | --- systemd-stable.orig/src/shared/userdb.c | ||
| 141 | +++ systemd-stable/src/shared/userdb.c | ||
| 142 | @@ -930,13 +930,16 @@ int groupdb_iterator_get(UserDBIterator | 136 | @@ -930,13 +930,16 @@ int groupdb_iterator_get(UserDBIterator |
| 143 | if (gr) { | 137 | if (gr) { |
| 144 | _cleanup_free_ char *buffer = NULL; | 138 | _cleanup_free_ char *buffer = NULL; |
diff --git a/meta/recipes-core/systemd/systemd/0023-Fix-field-efi_loader_entry_one_shot_stat-has-incompl.patch b/meta/recipes-core/systemd/systemd/0023-Fix-field-efi_loader_entry_one_shot_stat-has-incompl.patch deleted file mode 100644 index 78660691d3..0000000000 --- a/meta/recipes-core/systemd/systemd/0023-Fix-field-efi_loader_entry_one_shot_stat-has-incompl.patch +++ /dev/null | |||
| @@ -1,31 +0,0 @@ | |||
| 1 | From f939d3e07e1175caac5cf4cbf54bd8a58c2f198a Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Alex Kiernan <alex.kiernan@gmail.com> | ||
| 3 | Date: Fri, 7 Aug 2020 15:30:52 +0000 | ||
| 4 | Subject: [PATCH] Fix field 'efi_loader_entry_one_shot_stat' has incomplete | ||
| 5 | type | ||
| 6 | |||
| 7 | | In file included from ../../../../../../workspace/sources/systemd/src/login/logind-gperf.gperf:7: | ||
| 8 | | ../../../../../../workspace/sources/systemd/src/login/logind.h:131:21: error: field 'efi_loader_entry_one_shot_stat' has incomplete type | ||
| 9 | | 131 | struct stat efi_loader_entry_one_shot_stat; | ||
| 10 | | | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ||
| 11 | |||
| 12 | Upstream-Status: Inappropriate [musl specific] | ||
| 13 | Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com> | ||
| 14 | --- | ||
| 15 | src/login/logind.h | 3 +++ | ||
| 16 | 1 file changed, 3 insertions(+) | ||
| 17 | |||
| 18 | diff --git a/src/login/logind.h b/src/login/logind.h | ||
| 19 | index e64ecce8e2..2d4007d84b 100644 | ||
| 20 | --- a/src/login/logind.h | ||
| 21 | +++ b/src/login/logind.h | ||
| 22 | @@ -2,6 +2,9 @@ | ||
| 23 | #pragma once | ||
| 24 | |||
| 25 | #include <stdbool.h> | ||
| 26 | +#include <sys/types.h> | ||
| 27 | +#include <sys/stat.h> | ||
| 28 | +#include <unistd.h> | ||
| 29 | |||
| 30 | #include "sd-bus.h" | ||
| 31 | #include "sd-device.h" | ||
diff --git a/meta/recipes-core/systemd/systemd_246.6.bb b/meta/recipes-core/systemd/systemd_246.6.bb index b50ea0e4ad..c1424a1474 100644 --- a/meta/recipes-core/systemd/systemd_246.6.bb +++ b/meta/recipes-core/systemd/systemd_246.6.bb | |||
| @@ -44,7 +44,6 @@ SRC_URI_MUSL = "\ | |||
| 44 | file://0021-avoid-redefinition-of-prctl_mm_map-structure.patch \ | 44 | file://0021-avoid-redefinition-of-prctl_mm_map-structure.patch \ |
| 45 | file://0021-Handle-missing-LOCK_EX.patch \ | 45 | file://0021-Handle-missing-LOCK_EX.patch \ |
| 46 | file://0022-Fix-incompatible-pointer-type-struct-sockaddr_un.patch \ | 46 | file://0022-Fix-incompatible-pointer-type-struct-sockaddr_un.patch \ |
| 47 | file://0023-Fix-field-efi_loader_entry_one_shot_stat-has-incompl.patch \ | ||
| 48 | file://0024-test-json.c-define-M_PIl.patch \ | 47 | file://0024-test-json.c-define-M_PIl.patch \ |
| 49 | file://0001-do-not-disable-buffer-in-writing-files.patch \ | 48 | file://0001-do-not-disable-buffer-in-writing-files.patch \ |
| 50 | file://0002-src-login-brightness.c-include-sys-wait.h.patch \ | 49 | file://0002-src-login-brightness.c-include-sys-wait.h.patch \ |
