diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-02-22 17:24:59 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-02-28 12:01:07 +0000 |
commit | 1c060d738a0763b8f029a40c553e0ce3502aef88 (patch) | |
tree | 9a54065075076095724794f601128a1eeaf2b7ba /meta/recipes-devtools/pseudo | |
parent | 030d920e2db45fa924f868638b906422c731101b (diff) | |
download | poky-1c060d738a0763b8f029a40c553e0ce3502aef88.tar.gz |
pseudo: Increase number of retries
Increase number of retries to handle slow exiting servers.
(From OE-Core rev: 2d70c2afce9d121db98296bce275be956bf13137)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/pseudo')
-rw-r--r-- | meta/recipes-devtools/pseudo/files/moreretries.patch | 19 | ||||
-rw-r--r-- | meta/recipes-devtools/pseudo/pseudo_1.7.5.bb | 1 |
2 files changed, 20 insertions, 0 deletions
diff --git a/meta/recipes-devtools/pseudo/files/moreretries.patch b/meta/recipes-devtools/pseudo/files/moreretries.patch new file mode 100644 index 0000000000..c1e5552365 --- /dev/null +++ b/meta/recipes-devtools/pseudo/files/moreretries.patch | |||
@@ -0,0 +1,19 @@ | |||
1 | Increase the number of retries in pseudo due to occasional slow | ||
2 | server shutdowns. | ||
3 | |||
4 | Upstream-Status: Pending | ||
5 | RP 2016/2/28 | ||
6 | |||
7 | Index: pseudo-1.7.5/pseudo_client.c | ||
8 | =================================================================== | ||
9 | --- pseudo-1.7.5.orig/pseudo_client.c | ||
10 | +++ pseudo-1.7.5/pseudo_client.c | ||
11 | @@ -1214,7 +1214,7 @@ pseudo_client_setup(void) { | ||
12 | return 1; | ||
13 | } | ||
14 | |||
15 | -#define PSEUDO_RETRIES 50 | ||
16 | +#define PSEUDO_RETRIES 250 | ||
17 | static pseudo_msg_t * | ||
18 | pseudo_client_request(pseudo_msg_t *msg, size_t len, const char *path) { | ||
19 | pseudo_msg_t *response = 0; | ||
diff --git a/meta/recipes-devtools/pseudo/pseudo_1.7.5.bb b/meta/recipes-devtools/pseudo/pseudo_1.7.5.bb index 88bd1f5556..7af4d65065 100644 --- a/meta/recipes-devtools/pseudo/pseudo_1.7.5.bb +++ b/meta/recipes-devtools/pseudo/pseudo_1.7.5.bb | |||
@@ -5,6 +5,7 @@ SRC_URI = " \ | |||
5 | file://0001-configure-Prune-PIE-flags.patch \ | 5 | file://0001-configure-Prune-PIE-flags.patch \ |
6 | file://fallback-passwd \ | 6 | file://fallback-passwd \ |
7 | file://fallback-group \ | 7 | file://fallback-group \ |
8 | file://moreretries.patch \ | ||
8 | " | 9 | " |
9 | 10 | ||
10 | SRC_URI[md5sum] = "c10209938f03128d0c193f041ff3596d" | 11 | SRC_URI[md5sum] = "c10209938f03128d0c193f041ff3596d" |