diff options
author | Peter Kjellerstedt <peter.kjellerstedt@axis.com> | 2022-05-14 23:14:49 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-05-16 23:19:18 +0100 |
commit | 126e039eef6a9d3211206b6e44254260c3899cca (patch) | |
tree | 5952bc641757e7a10a98db95218d843653ebdb4c /meta | |
parent | d5f64c38f12c2f09c378efc6ff1be621acf4249f (diff) | |
download | poky-126e039eef6a9d3211206b6e44254260c3899cca.tar.gz |
base-passwd: Regenerate the patches
(From OE-Core rev: 6515d96c12b080b9e7f344799e26dba3b98e17e2)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
13 files changed, 134 insertions, 106 deletions
diff --git a/meta/recipes-core/base-passwd/base-passwd/0001-Add-a-shutdown-group.patch b/meta/recipes-core/base-passwd/base-passwd/0001-Add-a-shutdown-group.patch new file mode 100644 index 0000000000..e50efc9623 --- /dev/null +++ b/meta/recipes-core/base-passwd/base-passwd/0001-Add-a-shutdown-group.patch | |||
@@ -0,0 +1,26 @@ | |||
1 | From 8f3ace87df3aaad85946c22cae240532ea3e73b8 Mon Sep 17 00:00:00 2001 | ||
2 | From: Saul Wold <sgw@linux.intel.com> | ||
3 | Date: Fri, 29 Apr 2022 13:32:27 +0000 | ||
4 | Subject: [PATCH] Add a shutdown group | ||
5 | |||
6 | We need to have a shutdown group to allow the shutdown icon to work | ||
7 | correctly. Any users that want to use shutdown like the xuser should | ||
8 | be added to this group. | ||
9 | |||
10 | Upstream-Status: Inappropriate [Embedded] | ||
11 | Signed-off-by: Saul Wold <sgw@linux.intel.com> | ||
12 | --- | ||
13 | group.master | 1 + | ||
14 | 1 file changed, 1 insertion(+) | ||
15 | |||
16 | diff --git a/group.master b/group.master | ||
17 | index ad1dd2d..1b5e2fb 100644 | ||
18 | --- a/group.master | ||
19 | +++ b/group.master | ||
20 | @@ -35,5 +35,6 @@ sasl:*:45: | ||
21 | plugdev:*:46: | ||
22 | staff:*:50: | ||
23 | games:*:60: | ||
24 | +shutdown:*:70: | ||
25 | users:*:100: | ||
26 | nogroup:*:65534: | ||
diff --git a/meta/recipes-core/base-passwd/base-passwd/0002-Use-bin-sh-instead-of-bin-bash-for-the-root-user.patch b/meta/recipes-core/base-passwd/base-passwd/0002-Use-bin-sh-instead-of-bin-bash-for-the-root-user.patch new file mode 100644 index 0000000000..ea0256684b --- /dev/null +++ b/meta/recipes-core/base-passwd/base-passwd/0002-Use-bin-sh-instead-of-bin-bash-for-the-root-user.patch | |||
@@ -0,0 +1,23 @@ | |||
1 | From 4411fc0df77566d52bee11ec0bad4be30a96e99e Mon Sep 17 00:00:00 2001 | ||
2 | From: Scott Garman <scott.a.garman@intel.com> | ||
3 | Date: Fri, 29 Apr 2022 13:32:27 +0000 | ||
4 | Subject: [PATCH] Use /bin/sh instead of /bin/bash for the root user | ||
5 | |||
6 | /bin/bash may not be included in some images such as minimal. | ||
7 | |||
8 | Upstream-Status: Inappropriate [configuration] | ||
9 | Signed-off-by: Scott Garman <scott.a.garman@intel.com> | ||
10 | --- | ||
11 | passwd.master | 2 +- | ||
12 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
13 | |||
14 | diff --git a/passwd.master b/passwd.master | ||
15 | index a01a6aa..b54ff51 100644 | ||
16 | --- a/passwd.master | ||
17 | +++ b/passwd.master | ||
18 | @@ -1,4 +1,4 @@ | ||
19 | -root:*:0:0:root:/root:/bin/bash | ||
20 | +root:*:0:0:root:/root:/bin/sh | ||
21 | daemon:*:1:1:daemon:/usr/sbin:/bin/sh | ||
22 | bin:*:2:2:bin:/bin:/bin/sh | ||
23 | sys:*:3:3:sys:/dev:/bin/sh | ||
diff --git a/meta/recipes-core/base-passwd/base-passwd/0003-Remove-for-root-since-we-do-not-have-an-etc-shadow.patch b/meta/recipes-core/base-passwd/base-passwd/0003-Remove-for-root-since-we-do-not-have-an-etc-shadow.patch new file mode 100644 index 0000000000..88cc5be66c --- /dev/null +++ b/meta/recipes-core/base-passwd/base-passwd/0003-Remove-for-root-since-we-do-not-have-an-etc-shadow.patch | |||
@@ -0,0 +1,21 @@ | |||
1 | From 13a1a284a134d18a454625a5b4485c0d99079ae9 Mon Sep 17 00:00:00 2001 | ||
2 | From: Scott Garman <scott.a.garman@intel.com> | ||
3 | Date: Fri, 29 Apr 2022 13:32:28 +0000 | ||
4 | Subject: [PATCH] Remove "*" for root since we do not have an /etc/shadow | ||
5 | |||
6 | Upstream-Status: Inappropriate [configuration] | ||
7 | Signed-off-by: Scott Garman <scott.a.garman@intel.com> | ||
8 | --- | ||
9 | passwd.master | 2 +- | ||
10 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
11 | |||
12 | diff --git a/passwd.master b/passwd.master | ||
13 | index b54ff51..e1c32ff 100644 | ||
14 | --- a/passwd.master | ||
15 | +++ b/passwd.master | ||
16 | @@ -1,4 +1,4 @@ | ||
17 | -root:*:0:0:root:/root:/bin/sh | ||
18 | +root::0:0:root:/root:/bin/sh | ||
19 | daemon:*:1:1:daemon:/usr/sbin:/bin/sh | ||
20 | bin:*:2:2:bin:/bin:/bin/sh | ||
21 | sys:*:3:3:sys:/dev:/bin/sh | ||
diff --git a/meta/recipes-core/base-passwd/base-passwd/0004-Add-an-input-group-for-the-dev-input-devices.patch b/meta/recipes-core/base-passwd/base-passwd/0004-Add-an-input-group-for-the-dev-input-devices.patch new file mode 100644 index 0000000000..394a0f01d3 --- /dev/null +++ b/meta/recipes-core/base-passwd/base-passwd/0004-Add-an-input-group-for-the-dev-input-devices.patch | |||
@@ -0,0 +1,23 @@ | |||
1 | From c5f012750f8102ff54af73ccc2d2b7bfa1f26db4 Mon Sep 17 00:00:00 2001 | ||
2 | From: Darren Hart <dvhart@linux.intel.com> | ||
3 | Date: Fri, 29 Apr 2022 13:32:28 +0000 | ||
4 | Subject: [PATCH] Add an input group for the /dev/input/* devices | ||
5 | |||
6 | Upstream-Status: Inappropriate [configuration] | ||
7 | Signed-off-by: Darren Hart <dvhart@linux.intel.com> | ||
8 | --- | ||
9 | group.master | 1 + | ||
10 | 1 file changed, 1 insertion(+) | ||
11 | |||
12 | diff --git a/group.master b/group.master | ||
13 | index 1b5e2fb..cea9d60 100644 | ||
14 | --- a/group.master | ||
15 | +++ b/group.master | ||
16 | @@ -12,6 +12,7 @@ uucp:*:10: | ||
17 | man:*:12: | ||
18 | proxy:*:13: | ||
19 | kmem:*:15: | ||
20 | +input:*:19: | ||
21 | dialout:*:20: | ||
22 | fax:*:21: | ||
23 | voice:*:22: | ||
diff --git a/meta/recipes-core/base-passwd/base-passwd/kvm.patch b/meta/recipes-core/base-passwd/base-passwd/0005-Add-kvm-group.patch index 113d5151e7..72e6ee333c 100644 --- a/meta/recipes-core/base-passwd/base-passwd/kvm.patch +++ b/meta/recipes-core/base-passwd/base-passwd/0005-Add-kvm-group.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From 6355278b9f744291864c373a32a8da8f84aaaf37 Mon Sep 17 00:00:00 2001 | 1 | From 6cf19461fb31d7a7a3010629aae9aab49c26a01b Mon Sep 17 00:00:00 2001 |
2 | From: Jacob Kroon <jacob.kroon@gmail.com> | 2 | From: Jacob Kroon <jacob.kroon@gmail.com> |
3 | Date: Wed, 30 Jan 2019 04:53:48 +0000 | 3 | Date: Wed, 30 Jan 2019 04:53:48 +0000 |
4 | Subject: [PATCH] Add kvm group | 4 | Subject: [PATCH] Add kvm group |
diff --git a/meta/recipes-core/base-passwd/base-passwd/disable-shell.patch b/meta/recipes-core/base-passwd/base-passwd/0006-Disable-shell-for-default-users.patch index dddc93ca35..2bcb829d9c 100644 --- a/meta/recipes-core/base-passwd/base-passwd/disable-shell.patch +++ b/meta/recipes-core/base-passwd/base-passwd/0006-Disable-shell-for-default-users.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From 91e0db96741359173ddf2be083aafcc1a3c32472 Mon Sep 17 00:00:00 2001 | 1 | From f35eb24213475d3024ad45297fd855c6abfbbac0 Mon Sep 17 00:00:00 2001 |
2 | From: Jiaqing Zhao <jiaqing.zhao@linux.intel.com> | 2 | From: Jiaqing Zhao <jiaqing.zhao@linux.intel.com> |
3 | Date: Mon, 18 Apr 2022 11:22:43 +0800 | 3 | Date: Mon, 18 Apr 2022 11:22:43 +0800 |
4 | Subject: [PATCH] Disable shell for default users | 4 | Subject: [PATCH] Disable shell for default users |
@@ -52,6 +52,3 @@ index e1c32ff..0cd5ffd 100644 | |||
52 | +irc:*:39:39:ircd:/var/run/ircd:/sbin/nologin | 52 | +irc:*:39:39:ircd:/var/run/ircd:/sbin/nologin |
53 | +gnats:*:41:41:Gnats Bug-Reporting System (admin):/var/lib/gnats:/sbin/nologin | 53 | +gnats:*:41:41:Gnats Bug-Reporting System (admin):/var/lib/gnats:/sbin/nologin |
54 | +nobody:*:65534:65534:nobody:/nonexistent:/sbin/nologin | 54 | +nobody:*:65534:65534:nobody:/nonexistent:/sbin/nologin |
55 | -- | ||
56 | 2.32.0 | ||
57 | |||
diff --git a/meta/recipes-core/base-passwd/base-passwd/0007-Disable-generation-of-the-documentation.patch b/meta/recipes-core/base-passwd/base-passwd/0007-Disable-generation-of-the-documentation.patch new file mode 100644 index 0000000000..4a19f91c35 --- /dev/null +++ b/meta/recipes-core/base-passwd/base-passwd/0007-Disable-generation-of-the-documentation.patch | |||
@@ -0,0 +1,32 @@ | |||
1 | From 7ccf8227cb10d78f1958a7a7feed75a390a6b133 Mon Sep 17 00:00:00 2001 | ||
2 | From: Saul Wold <sgw@linux.intel.com> | ||
3 | Date: Fri, 29 Apr 2022 13:32:28 +0000 | ||
4 | Subject: [PATCH] Disable generation of the documentation | ||
5 | |||
6 | It uses tools currently not supported by OE-Core. It uses sgmltools | ||
7 | and po4a. | ||
8 | |||
9 | Upstream-Status: Inappropriate [OE-Core specific] | ||
10 | Signed-off-by: Saul Wold <sgw@linux.intel.com> | ||
11 | --- | ||
12 | Makefile.in | 3 --- | ||
13 | 1 file changed, 3 deletions(-) | ||
14 | |||
15 | diff --git a/Makefile.in b/Makefile.in | ||
16 | index 9ba097c..d3ea47c 100644 | ||
17 | --- a/Makefile.in | ||
18 | +++ b/Makefile.in | ||
19 | @@ -25,13 +25,10 @@ gen_configure = config.cache config.status config.log \ | ||
20 | confdefhs.h config.h Makefile | ||
21 | |||
22 | all: update-passwd | ||
23 | - $(MAKE) -C doc all | ||
24 | - $(MAKE) -C man all | ||
25 | |||
26 | install: all | ||
27 | mkdir -p $(DESTDIR)$(sbindir) | ||
28 | $(INSTALL) update-passwd $(DESTDIR)$(sbindir)/ | ||
29 | - $(MAKE) -C man install | ||
30 | |||
31 | update-passwd.o: version.h | ||
32 | |||
diff --git a/meta/recipes-core/base-passwd/base-passwd/add_shutdown.patch b/meta/recipes-core/base-passwd/base-passwd/add_shutdown.patch deleted file mode 100644 index 5f357d8895..0000000000 --- a/meta/recipes-core/base-passwd/base-passwd/add_shutdown.patch +++ /dev/null | |||
@@ -1,19 +0,0 @@ | |||
1 | |||
2 | We need to have a shutdown group to allow the shutdown icon | ||
3 | to work correctly. Any users that want to use shutdown like | ||
4 | the xuser should be added to this group. | ||
5 | |||
6 | Upstream-Status: Inappropriate [Embedded] | ||
7 | |||
8 | Signed-off-by: Saul Wold <sgw@linux.intel.com> | ||
9 | Index: base-passwd-3.5.26/group.master | ||
10 | =================================================================== | ||
11 | --- base-passwd-3.5.26.orig/group.master | ||
12 | +++ base-passwd-3.5.26/group.master | ||
13 | @@ -36,5 +36,6 @@ sasl:*:45: | ||
14 | plugdev:*:46: | ||
15 | staff:*:50: | ||
16 | games:*:60: | ||
17 | +shutdown:*:70: | ||
18 | users:*:100: | ||
19 | nogroup:*:65534: | ||
diff --git a/meta/recipes-core/base-passwd/base-passwd/disable-docs.patch b/meta/recipes-core/base-passwd/base-passwd/disable-docs.patch deleted file mode 100644 index 14c08b7484..0000000000 --- a/meta/recipes-core/base-passwd/base-passwd/disable-docs.patch +++ /dev/null | |||
@@ -1,24 +0,0 @@ | |||
1 | Disable documentation for now as it uses tools currently not supported | ||
2 | by OE-Core. It uses sgmltools and po4a. | ||
3 | |||
4 | Upstream-Status: Inappropriate [OE-Core specific] | ||
5 | Signed-off-by: Saul Wold <sgw@linux.intel.com> | ||
6 | |||
7 | Index: base-passwd-3.5.28/Makefile.in | ||
8 | =================================================================== | ||
9 | --- base-passwd-3.5.28.orig/Makefile.in | ||
10 | +++ base-passwd-3.5.28/Makefile.in | ||
11 | @@ -25,13 +25,10 @@ gen_configure = config.cache config.stat | ||
12 | confdefhs.h config.h Makefile | ||
13 | |||
14 | all: update-passwd | ||
15 | - $(MAKE) -C doc all | ||
16 | - $(MAKE) -C man all | ||
17 | |||
18 | install: all | ||
19 | mkdir -p $(DESTDIR)$(sbindir) | ||
20 | $(INSTALL) update-passwd $(DESTDIR)$(sbindir)/ | ||
21 | - $(MAKE) -C man install | ||
22 | |||
23 | update-passwd.o: version.h | ||
24 | |||
diff --git a/meta/recipes-core/base-passwd/base-passwd/input.patch b/meta/recipes-core/base-passwd/base-passwd/input.patch deleted file mode 100644 index 3abbcad5d5..0000000000 --- a/meta/recipes-core/base-passwd/base-passwd/input.patch +++ /dev/null | |||
@@ -1,22 +0,0 @@ | |||
1 | Add an input group for the /dev/input/* devices. | ||
2 | |||
3 | Upstream-Status: Inappropriate [configuration] | ||
4 | |||
5 | Signed-off-by: Darren Hart <dvhart@linux.intel.com> | ||
6 | |||
7 | --- | ||
8 | group.master | 1 + | ||
9 | 1 file changed, 1 insertion(+) | ||
10 | |||
11 | Index: base-passwd-3.5.26/group.master | ||
12 | =================================================================== | ||
13 | --- base-passwd-3.5.26.orig/group.master | ||
14 | +++ base-passwd-3.5.26/group.master | ||
15 | @@ -12,6 +12,7 @@ uucp:*:10: | ||
16 | man:*:12: | ||
17 | proxy:*:13: | ||
18 | kmem:*:15: | ||
19 | +input:*:19: | ||
20 | dialout:*:20: | ||
21 | fax:*:21: | ||
22 | voice:*:22: | ||
diff --git a/meta/recipes-core/base-passwd/base-passwd/nobash.patch b/meta/recipes-core/base-passwd/base-passwd/nobash.patch deleted file mode 100644 index b5a692295b..0000000000 --- a/meta/recipes-core/base-passwd/base-passwd/nobash.patch +++ /dev/null | |||
@@ -1,15 +0,0 @@ | |||
1 | use /bin/sh instead of /bin/bash, since the latter may not be included in | ||
2 | some images such as minimal | ||
3 | |||
4 | Upstream-Status: Inappropriate [configuration] | ||
5 | |||
6 | Signed-off-by: Scott Garman <scott.a.garman@intel.com> | ||
7 | |||
8 | --- base-passwd/passwd.master~nobash | ||
9 | +++ base-passwd/passwd.master | ||
10 | @@ -1,4 +1,4 @@ | ||
11 | -root:*:0:0:root:/root:/bin/bash | ||
12 | +root:*:0:0:root:/root:/bin/sh | ||
13 | daemon:*:1:1:daemon:/usr/sbin:/bin/sh | ||
14 | bin:*:2:2:bin:/bin:/bin/sh | ||
15 | sys:*:3:3:sys:/dev:/bin/sh | ||
diff --git a/meta/recipes-core/base-passwd/base-passwd/noshadow.patch b/meta/recipes-core/base-passwd/base-passwd/noshadow.patch deleted file mode 100644 index e27bf7d9be..0000000000 --- a/meta/recipes-core/base-passwd/base-passwd/noshadow.patch +++ /dev/null | |||
@@ -1,14 +0,0 @@ | |||
1 | remove "*" for root since we don't have a /etc/shadow so far. | ||
2 | |||
3 | Upstream-Status: Inappropriate [configuration] | ||
4 | |||
5 | Signed-off-by: Scott Garman <scott.a.garman@intel.com> | ||
6 | |||
7 | --- base-passwd/passwd.master~nobash | ||
8 | +++ base-passwd/passwd.master | ||
9 | @@ -1,4 +1,4 @@ | ||
10 | -root:*:0:0:root:/root:/bin/sh | ||
11 | +root::0:0:root:/root:/bin/sh | ||
12 | daemon:*:1:1:daemon:/usr/sbin:/bin/sh | ||
13 | bin:*:2:2:bin:/bin:/bin/sh | ||
14 | sys:*:3:3:sys:/dev:/bin/sh | ||
diff --git a/meta/recipes-core/base-passwd/base-passwd_3.5.29.bb b/meta/recipes-core/base-passwd/base-passwd_3.5.29.bb index ef7792ae49..e561599136 100644 --- a/meta/recipes-core/base-passwd/base-passwd_3.5.29.bb +++ b/meta/recipes-core/base-passwd/base-passwd_3.5.29.bb | |||
@@ -8,13 +8,13 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=eb723b61539feef013de476e68b5c50a" | |||
8 | RECIPE_NO_UPDATE_REASON = "Version 3.5.38 requires cdebconf for update-passwd utility" | 8 | RECIPE_NO_UPDATE_REASON = "Version 3.5.38 requires cdebconf for update-passwd utility" |
9 | 9 | ||
10 | SRC_URI = "https://launchpad.net/debian/+archive/primary/+files/${BPN}_${PV}.tar.gz \ | 10 | SRC_URI = "https://launchpad.net/debian/+archive/primary/+files/${BPN}_${PV}.tar.gz \ |
11 | file://add_shutdown.patch \ | 11 | file://0001-Add-a-shutdown-group.patch \ |
12 | file://nobash.patch \ | 12 | file://0002-Use-bin-sh-instead-of-bin-bash-for-the-root-user.patch \ |
13 | file://noshadow.patch \ | 13 | file://0003-Remove-for-root-since-we-do-not-have-an-etc-shadow.patch \ |
14 | file://input.patch \ | 14 | file://0004-Add-an-input-group-for-the-dev-input-devices.patch \ |
15 | file://disable-docs.patch \ | 15 | file://0005-Add-kvm-group.patch \ |
16 | file://kvm.patch \ | 16 | file://0006-Disable-shell-for-default-users.patch \ |
17 | file://disable-shell.patch \ | 17 | file://0007-Disable-generation-of-the-documentation.patch \ |
18 | " | 18 | " |
19 | 19 | ||
20 | SRC_URI[md5sum] = "6beccac48083fe8ae5048acd062e5421" | 20 | SRC_URI[md5sum] = "6beccac48083fe8ae5048acd062e5421" |