diff options
author | Jeremy Puhlman <jpuhlman@mvista.com> | 2020-01-30 15:28:40 -0800 |
---|---|---|
committer | Joe MacDonald <joe_macdonald@mentor.com> | 2020-01-30 21:46:58 -0500 |
commit | f32f21de44f2b5280c2a339b0917f61f698de66c (patch) | |
tree | 3ec828577d3b6b299009cc82cf2b8afb1b23e0e9 /recipes-devtools | |
parent | 6e18bc43d259c3322d76ef995655dc539a5eb5c2 (diff) | |
download | meta-selinux-f32f21de44f2b5280c2a339b0917f61f698de66c.tar.gz |
python: move appends to a dynamic-layer
Signed-off-by: Jeremy Puhlman <jpuhlman@mvista.com>
Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
Diffstat (limited to 'recipes-devtools')
-rw-r--r-- | recipes-devtools/python/files/sitecustomize.py | 26 | ||||
-rw-r--r-- | recipes-devtools/python/python_%.bbappend | 1 | ||||
-rw-r--r-- | recipes-devtools/python/python_selinux.inc | 5 |
3 files changed, 0 insertions, 32 deletions
diff --git a/recipes-devtools/python/files/sitecustomize.py b/recipes-devtools/python/files/sitecustomize.py deleted file mode 100644 index d2b71fa..0000000 --- a/recipes-devtools/python/files/sitecustomize.py +++ /dev/null | |||
@@ -1,26 +0,0 @@ | |||
1 | # OpenEmbedded sitecustomize.py (C) 2002-2008 Michael 'Mickey' Lauer <mlauer@vanille-media.de> | ||
2 | # GPLv2 or later | ||
3 | # Version: 20081123 | ||
4 | # Features: | ||
5 | # * set proper default encoding | ||
6 | # Features removed for SELinux: | ||
7 | # * enable readline completion in the interactive interpreter | ||
8 | # * load command line history on startup | ||
9 | # * save command line history on exit | ||
10 | |||
11 | import os | ||
12 | |||
13 | def __enableDefaultEncoding(): | ||
14 | import sys | ||
15 | try: | ||
16 | sys.setdefaultencoding( "utf8" ) | ||
17 | except LookupError: | ||
18 | pass | ||
19 | |||
20 | import sys | ||
21 | try: | ||
22 | import rlcompleter, readline | ||
23 | except ImportError: | ||
24 | pass | ||
25 | else: | ||
26 | __enableDefaultEncoding() | ||
diff --git a/recipes-devtools/python/python_%.bbappend b/recipes-devtools/python/python_%.bbappend deleted file mode 100644 index 7719d3b..0000000 --- a/recipes-devtools/python/python_%.bbappend +++ /dev/null | |||
@@ -1 +0,0 @@ | |||
1 | require ${@bb.utils.contains('DISTRO_FEATURES', 'selinux', '${BPN}_selinux.inc', '', d)} | ||
diff --git a/recipes-devtools/python/python_selinux.inc b/recipes-devtools/python/python_selinux.inc deleted file mode 100644 index bb54a90..0000000 --- a/recipes-devtools/python/python_selinux.inc +++ /dev/null | |||
@@ -1,5 +0,0 @@ | |||
1 | # If selinux enabled, disable handlers to rw command history file | ||
2 | FILESEXTRAPATHS_prepend := "${THISDIR}/files:" | ||
3 | |||
4 | inherit selinux | ||
5 | |||