diff options
author | Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com> | 2019-06-29 18:39:58 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-06-30 22:40:52 +0100 |
commit | ee50f417f3ff83123afa50bb4675ad706a7bb76c (patch) | |
tree | d4e52d964cb0e44be0b34e6b2e31ed881cf29728 /meta/recipes-devtools/dpkg | |
parent | 2db1c45c71b61d170152759e82da5287b8584efc (diff) | |
download | poky-ee50f417f3ff83123afa50bb4675ad706a7bb76c.tar.gz |
dpkg: update to 1.19.7
(From OE-Core rev: 4b312777a2e154a6d86311981299bc16f23f053c)
Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/dpkg')
-rw-r--r-- | meta/recipes-devtools/dpkg/dpkg/0003-Our-pre-postinsts-expect-D-to-be-set-when-running-in.patch | 20 | ||||
-rw-r--r-- | meta/recipes-devtools/dpkg/dpkg_1.19.7.bb (renamed from meta/recipes-devtools/dpkg/dpkg_1.19.4.bb) | 4 |
2 files changed, 12 insertions, 12 deletions
diff --git a/meta/recipes-devtools/dpkg/dpkg/0003-Our-pre-postinsts-expect-D-to-be-set-when-running-in.patch b/meta/recipes-devtools/dpkg/dpkg/0003-Our-pre-postinsts-expect-D-to-be-set-when-running-in.patch index b88be87490..9ca7262eb9 100644 --- a/meta/recipes-devtools/dpkg/dpkg/0003-Our-pre-postinsts-expect-D-to-be-set-when-running-in.patch +++ b/meta/recipes-devtools/dpkg/dpkg/0003-Our-pre-postinsts-expect-D-to-be-set-when-running-in.patch | |||
@@ -1,7 +1,7 @@ | |||
1 | From 24229971492515b64c81e8c6392e5dfbdc22b44c Mon Sep 17 00:00:00 2001 | 1 | From dd11ed66640f79143e42d778b58fdd5a61fb5836 Mon Sep 17 00:00:00 2001 |
2 | From: Alexander Kanavin <alex.kanavin@gmail.com> | 2 | From: Alexander Kanavin <alex.kanavin@gmail.com> |
3 | Date: Wed, 26 Aug 2015 16:25:45 +0300 | 3 | Date: Wed, 26 Aug 2015 16:25:45 +0300 |
4 | Subject: [PATCH 3/5] Our pre/postinsts expect $D to be set when running in a | 4 | Subject: [PATCH] Our pre/postinsts expect $D to be set when running in a |
5 | sysroot and don't expect a chroot. This matches up our system expectations | 5 | sysroot and don't expect a chroot. This matches up our system expectations |
6 | with what dpkg does. | 6 | with what dpkg does. |
7 | 7 | ||
@@ -12,11 +12,11 @@ ALIMON 2016/05/26 | |||
12 | ALIMON 2017/02/21 | 12 | ALIMON 2017/02/21 |
13 | KKang 2019/02/20 | 13 | KKang 2019/02/20 |
14 | --- | 14 | --- |
15 | src/script.c | 44 +++----------------------------------------- | 15 | src/script.c | 53 +++------------------------------------------------- |
16 | 1 file changed, 3 insertions(+), 41 deletions(-) | 16 | 1 file changed, 3 insertions(+), 50 deletions(-) |
17 | 17 | ||
18 | diff --git a/src/script.c b/src/script.c | 18 | diff --git a/src/script.c b/src/script.c |
19 | index 0865b95..73ed35d 100644 | 19 | index abe65b6f7..621ff9b27 100644 |
20 | --- a/src/script.c | 20 | --- a/src/script.c |
21 | +++ b/src/script.c | 21 | +++ b/src/script.c |
22 | @@ -96,58 +96,11 @@ setexecute(const char *path, struct stat *stab) | 22 | @@ -96,58 +96,11 @@ setexecute(const char *path, struct stat *stab) |
@@ -27,12 +27,12 @@ index 0865b95..73ed35d 100644 | |||
27 | - const char *changedir; | 27 | - const char *changedir; |
28 | - size_t instdirlen = strlen(instdir); | 28 | - size_t instdirlen = strlen(instdir); |
29 | - | 29 | - |
30 | - if (instdirlen > 0 && fc_script_chrootless) | 30 | - if (instdirlen > 0 && in_force(FORCE_SCRIPT_CHROOTLESS)) |
31 | - changedir = instdir; | 31 | - changedir = instdir; |
32 | - else | 32 | - else |
33 | - changedir = "/"; | 33 | - changedir = "/"; |
34 | - | 34 | - |
35 | - if (instdirlen > 0 && !fc_script_chrootless) { | 35 | - if (instdirlen > 0 && !in_force(FORCE_SCRIPT_CHROOTLESS)) { |
36 | - int rc; | 36 | - int rc; |
37 | - | 37 | - |
38 | - if (strncmp(admindir, instdir, instdirlen) != 0) | 38 | - if (strncmp(admindir, instdir, instdirlen) != 0) |
@@ -43,7 +43,7 @@ index 0865b95..73ed35d 100644 | |||
43 | - ohshite(_("unable to setenv for subprocesses")); | 43 | - ohshite(_("unable to setenv for subprocesses")); |
44 | - | 44 | - |
45 | - rc = chroot(instdir); | 45 | - rc = chroot(instdir); |
46 | - if (rc && fc_nonroot && errno == EPERM) | 46 | - if (rc && in_force(FORCE_NON_ROOT) && errno == EPERM) |
47 | - ohshit(_("not enough privileges to change root " | 47 | - ohshit(_("not enough privileges to change root " |
48 | - "directory with --force-not-root, consider " | 48 | - "directory with --force-not-root, consider " |
49 | - "using --force-script-chrootless?")); | 49 | - "using --force-script-chrootless?")); |
@@ -69,7 +69,7 @@ index 0865b95..73ed35d 100644 | |||
69 | - args.buf); | 69 | - args.buf); |
70 | - varbuf_destroy(&args); | 70 | - varbuf_destroy(&args); |
71 | - } | 71 | - } |
72 | - if (instdirlen == 0 || fc_script_chrootless) | 72 | - if (instdirlen == 0 || in_force(FORCE_SCRIPT_CHROOTLESS)) |
73 | - return cmd->filename; | 73 | - return cmd->filename; |
74 | - | 74 | - |
75 | - if (strlen(cmd->filename) < instdirlen) | 75 | - if (strlen(cmd->filename) < instdirlen) |
@@ -82,5 +82,5 @@ index 0865b95..73ed35d 100644 | |||
82 | 82 | ||
83 | /** | 83 | /** |
84 | -- | 84 | -- |
85 | 2.1.4 | 85 | 2.17.1 |
86 | 86 | ||
diff --git a/meta/recipes-devtools/dpkg/dpkg_1.19.4.bb b/meta/recipes-devtools/dpkg/dpkg_1.19.7.bb index b83868fec0..e9dec337b3 100644 --- a/meta/recipes-devtools/dpkg/dpkg_1.19.4.bb +++ b/meta/recipes-devtools/dpkg/dpkg_1.19.7.bb | |||
@@ -18,5 +18,5 @@ SRC_URI_append_class-native = " \ | |||
18 | file://tweak-options-require-tar-1.27.patch \ | 18 | file://tweak-options-require-tar-1.27.patch \ |
19 | " | 19 | " |
20 | 20 | ||
21 | SRC_URI[md5sum] = "1e4420409426d8c58bbe13a8e07c0c0b" | 21 | SRC_URI[md5sum] = "60f57c5494e6dfa177504d47bfa0e383" |
22 | SRC_URI[sha256sum] = "c15234e98655689586bff2d517a6fdc6135d139c54d52ae9cfa6a90007fee0ae" | 22 | SRC_URI[sha256sum] = "4c27fededf620c0aa522fff1a48577ba08144445341257502e7730f2b1a296e8" |