diff options
author | Slater, Joseph <joe.slater@windriver.com> | 2020-05-01 16:32:51 -0700 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2020-05-03 14:29:17 -0700 |
commit | 0ced8fb161d6021e37b0e8cacb5bd06604f7b478 (patch) | |
tree | 764d8a1c34f5f8c9e7892490cdabc6eef7adaaba | |
parent | 2333cb1f0ac2a407070bf6f22d54f89088ad5fd2 (diff) | |
download | meta-openembedded-0ced8fb161d6021e37b0e8cacb5bd06604f7b478.tar.gz |
syslog-ng: change shebang to python3
The file is executable and can be put on a target.
Signed-off-by: Joe Slater <joe.slater@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r-- | meta-oe/recipes-support/syslog-ng/files/shebang.patch | 18 | ||||
-rw-r--r-- | meta-oe/recipes-support/syslog-ng/syslog-ng_3.24.1.bb | 1 |
2 files changed, 19 insertions, 0 deletions
diff --git a/meta-oe/recipes-support/syslog-ng/files/shebang.patch b/meta-oe/recipes-support/syslog-ng/files/shebang.patch new file mode 100644 index 0000000000..35d967753e --- /dev/null +++ b/meta-oe/recipes-support/syslog-ng/files/shebang.patch | |||
@@ -0,0 +1,18 @@ | |||
1 | syslog-ng: change shebang to use python3 | ||
2 | |||
3 | Correct shebang for python3. This is far from the only python file with an out of date shebang, | ||
4 | but it is the only one that winds up on a target. | ||
5 | |||
6 | Upstream-Status: Pending | ||
7 | |||
8 | Signed-off-by: Joe Slater <joe.slater@windriver.com> | ||
9 | |||
10 | |||
11 | --- a/lib/merge-grammar.py | ||
12 | +++ b/lib/merge-grammar.py | ||
13 | @@ -1,4 +1,4 @@ | ||
14 | -#!/usr/bin/env python | ||
15 | +#!/usr/bin/env python3 | ||
16 | ############################################################################# | ||
17 | # Copyright (c) 2010-2017 Balabit | ||
18 | # | ||
diff --git a/meta-oe/recipes-support/syslog-ng/syslog-ng_3.24.1.bb b/meta-oe/recipes-support/syslog-ng/syslog-ng_3.24.1.bb index 01ed76765c..10bf00fdce 100644 --- a/meta-oe/recipes-support/syslog-ng/syslog-ng_3.24.1.bb +++ b/meta-oe/recipes-support/syslog-ng/syslog-ng_3.24.1.bb | |||
@@ -7,6 +7,7 @@ SRC_URI += " \ | |||
7 | file://fix-invalid-ownership.patch \ | 7 | file://fix-invalid-ownership.patch \ |
8 | file://syslog-ng.service-the-syslog-ng-service.patch \ | 8 | file://syslog-ng.service-the-syslog-ng-service.patch \ |
9 | file://0001-syslog-ng-fix-segment-fault-during-service-start.patch \ | 9 | file://0001-syslog-ng-fix-segment-fault-during-service-start.patch \ |
10 | file://shebang.patch \ | ||
10 | file://syslog-ng-tmp.conf \ | 11 | file://syslog-ng-tmp.conf \ |
11 | " | 12 | " |
12 | 13 | ||