mirror of
https://git.yoctoproject.org/poky
synced 2026-03-26 04:02:21 +01:00
python: Fix cgi.py runtime issue
By default cgi.py attempts to use /usr/local/bin/python as its
interpreter. However, on my Linux systems, including OE-Core,
python is installed into {bindir}. Adjust this one file based on
the comment at the top of the upstream file.
This resolves an issue where a runtime dependency discovered during
RPM packaging breaks the rootfs construction.
(From OE-Core rev: 1da01664963b9c6a6df171dcd0fbb1406544035b)
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
e4c57fa3d8
commit
3ac49c3a52
@@ -1,7 +1,7 @@
|
||||
require python.inc
|
||||
DEPENDS = "python-native db gdbm openssl readline sqlite3 zlib"
|
||||
DEPENDS_sharprom = "python-native db readline zlib gdbm openssl"
|
||||
PR = "${INC_PR}.9"
|
||||
PR = "${INC_PR}.10"
|
||||
LIC_FILES_CHKSUM = "file://LICENSE;md5=38fdd546420fab09ac6bd3d8a1c83eb6"
|
||||
|
||||
DISTRO_SRC_URI ?= "file://sitecustomize.py"
|
||||
@@ -20,6 +20,7 @@ SRC_URI = "\
|
||||
${DISTRO_SRC_URI} \
|
||||
file://multilib.patch \
|
||||
file://security_issue_2254_fix.patch \
|
||||
file://cgi_py.patch \
|
||||
"
|
||||
|
||||
SRC_URI[md5sum] = "cf4e6881bb84a7ce6089e4a307f71f14"
|
||||
|
||||
Reference in New Issue
Block a user