From patchwork Mon Feb 11 23:22:29 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [v2, 3/3] relocate_sdk.py: allow relocate_sdk.py to work with python 2.4.x Date: Mon, 11 Feb 2013 23:22:29 -0000 From: Jason Wessel X-Patchwork-Id: 44495 Message-Id: <1360624949-43859-4-git-send-email-jason.wessel@windriver.com> To: Avoid the chicken / egg problem of an SDK that provides a working python but requires that version of python to extract itself. The RHEL 5.x systems and some other enterprise Linux systems ship with python 2.4.x as the default python. We need to at least be able to extract work executables even if we never use the the host provided python again. Signed-off-by: Jason Wessel --- scripts/relocate_sdk.py | 26 +++++++++++++------------- 1 files changed, 13 insertions(+), 13 deletions(-) diff --git a/scripts/relocate_sdk.py b/scripts/relocate_sdk.py index 6f3530d..b7e579d 100755 --- a/scripts/relocate_sdk.py +++ b/scripts/relocate_sdk.py @@ -55,22 +55,22 @@ def parse_elf_header(): if arch == 32: # 32bit - hdr_struct = struct.Struct("