From: Jason Wessel Date: Tue, 12 Feb 2013 11:08:23 +0000 (-0600) Subject: relocate_sdk.py: allow relocate_sdk.py to work with python 2.4.x X-Git-Tag: rev_ivi_2015_02_04~13742 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d71c5c7c5625c3b0869715c2fea429c15401e0ca;p=scm%2Fbb%2Ftizen-distro.git 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: e1d42db8749b0b965ddc6cfba4f3b93ee96ed4f4) Signed-off-by: Jason Wessel Signed-off-by: Richard Purdie --- diff --git a/scripts/relocate_sdk.py b/scripts/relocate_sdk.py index 45d2c24..1d7bbb3 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("