diff options
Diffstat (limited to 'meta/recipes-devtools/rpm/files/0016-rpmscript.c-change-logging-level-around-scriptlets-t.patch')
-rw-r--r-- | meta/recipes-devtools/rpm/files/0016-rpmscript.c-change-logging-level-around-scriptlets-t.patch | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/meta/recipes-devtools/rpm/files/0016-rpmscript.c-change-logging-level-around-scriptlets-t.patch b/meta/recipes-devtools/rpm/files/0016-rpmscript.c-change-logging-level-around-scriptlets-t.patch index 732202c46f..278fa38bad 100644 --- a/meta/recipes-devtools/rpm/files/0016-rpmscript.c-change-logging-level-around-scriptlets-t.patch +++ b/meta/recipes-devtools/rpm/files/0016-rpmscript.c-change-logging-level-around-scriptlets-t.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From f01d9c24bb86bc47ad2453483518dbb25953cac7 Mon Sep 17 00:00:00 2001 | 1 | From 452b696ea3e1975ea30cf7a92678aa4b316e6300 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: Thu, 10 Jan 2019 18:14:18 +0100 | 3 | Date: Thu, 10 Jan 2019 18:14:18 +0100 |
4 | Subject: [PATCH] rpmscript.c: change logging level around scriptlets to INFO | 4 | Subject: [PATCH] rpmscript.c: change logging level around scriptlets to INFO |
@@ -14,10 +14,10 @@ Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> | |||
14 | 1 file changed, 4 insertions(+), 4 deletions(-) | 14 | 1 file changed, 4 insertions(+), 4 deletions(-) |
15 | 15 | ||
16 | diff --git a/lib/rpmscript.c b/lib/rpmscript.c | 16 | diff --git a/lib/rpmscript.c b/lib/rpmscript.c |
17 | index 7b7e26606..1dcd23be5 100644 | 17 | index 4dc6466a8..6d3c19d01 100644 |
18 | --- a/lib/rpmscript.c | 18 | --- a/lib/rpmscript.c |
19 | +++ b/lib/rpmscript.c | 19 | +++ b/lib/rpmscript.c |
20 | @@ -291,7 +291,7 @@ static char * writeScript(const char *cmd, const char *script) | 20 | @@ -290,7 +290,7 @@ static char * writeScript(const char *cmd, const char *script) |
21 | if (Ferror(fd)) | 21 | if (Ferror(fd)) |
22 | goto exit; | 22 | goto exit; |
23 | 23 | ||
@@ -26,7 +26,7 @@ index 7b7e26606..1dcd23be5 100644 | |||
26 | static const char set_x[] = "set -x\n"; | 26 | static const char set_x[] = "set -x\n"; |
27 | /* Assume failures will be caught by the write below */ | 27 | /* Assume failures will be caught by the write below */ |
28 | Fwrite(set_x, sizeof(set_x[0]), sizeof(set_x)-1, fd); | 28 | Fwrite(set_x, sizeof(set_x[0]), sizeof(set_x)-1, fd); |
29 | @@ -323,7 +323,7 @@ static rpmRC runExtScript(rpmPlugins plugins, ARGV_const_t prefixes, | 29 | @@ -322,7 +322,7 @@ static rpmRC runExtScript(rpmPlugins plugins, ARGV_const_t prefixes, |
30 | char *mline = NULL; | 30 | char *mline = NULL; |
31 | rpmRC rc = RPMRC_FAIL; | 31 | rpmRC rc = RPMRC_FAIL; |
32 | 32 | ||
@@ -35,7 +35,7 @@ index 7b7e26606..1dcd23be5 100644 | |||
35 | 35 | ||
36 | if (script) { | 36 | if (script) { |
37 | fn = writeScript(*argvp[0], script); | 37 | fn = writeScript(*argvp[0], script); |
38 | @@ -375,7 +375,7 @@ static rpmRC runExtScript(rpmPlugins plugins, ARGV_const_t prefixes, | 38 | @@ -374,7 +374,7 @@ static rpmRC runExtScript(rpmPlugins plugins, ARGV_const_t prefixes, |
39 | sname, strerror(errno)); | 39 | sname, strerror(errno)); |
40 | goto exit; | 40 | goto exit; |
41 | } else if (pid == 0) {/* Child */ | 41 | } else if (pid == 0) {/* Child */ |
@@ -44,7 +44,7 @@ index 7b7e26606..1dcd23be5 100644 | |||
44 | sname, *argvp[0], (unsigned)getpid()); | 44 | sname, *argvp[0], (unsigned)getpid()); |
45 | 45 | ||
46 | fclose(in); | 46 | fclose(in); |
47 | @@ -418,7 +418,7 @@ static rpmRC runExtScript(rpmPlugins plugins, ARGV_const_t prefixes, | 47 | @@ -417,7 +417,7 @@ static rpmRC runExtScript(rpmPlugins plugins, ARGV_const_t prefixes, |
48 | reaped = waitpid(pid, &status, 0); | 48 | reaped = waitpid(pid, &status, 0); |
49 | } while (reaped == -1 && errno == EINTR); | 49 | } while (reaped == -1 && errno == EINTR); |
50 | 50 | ||