From 9267d8d35227bae6b98bd5d461d08feb565cc830 Mon Sep 17 00:00:00 2001 From: Jason Wessel Date: Tue, 12 Feb 2013 05:08:23 -0600 Subject: relocate_sdk.py: allow relocate_sdk.py to work with python 2.4.x 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. (From OE-Core rev: 9a5ed565758a6fcc94bc85ce6205375d2fd282ea) Signed-off-by: Jason Wessel Signed-off-by: Richard Purdie --- scripts/relocate_sdk.py | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/scripts/relocate_sdk.py b/scripts/relocate_sdk.py index 45d2c241c3..1d7bbb3849 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("