Received: from vms173013pub.verizon.net ([206.46.173.13]) by linuxtogo.org with esmtp (Exim 4.72) (envelope-from ) id 1UMoSO-0004XX-HL for openembedded-core@lists.openembedded.org; Tue, 02 Apr 2013 01:48:10 +0200 Received: from gandalf.denix.org ([unknown] [108.45.150.102]) by vms173013.mailsrvcs.net (Sun Java(tm) System Messaging Server 7u2-7.02 32bit (built Apr 16 2009)) with ESMTPA id <0MKL0045VNZ3UL04@vms173013.mailsrvcs.net> for openembedded-core@lists.openembedded.org; Mon, 01 Apr 2013 18:30:39 -0500 (CDT) Received: from localhost.localdomain (elrond [192.168.0.7]) by gandalf.denix.org (Postfix) with ESMTP id 0FD0820087; Mon, 01 Apr 2013 19:30:39 -0400 (EDT) From: Denys Dmytriyenko To: openembedded-core@lists.openembedded.org Date: Mon, 01 Apr 2013 19:30:34 -0400 Message-id: <1364859034-14438-2-git-send-email-denis@denix.org> X-Mailer: git-send-email 1.8.1.5 In-reply-to: <1364859034-14438-1-git-send-email-denis@denix.org> References: <1364859034-14438-1-git-send-email-denis@denix.org> Subject: [PATCH 2/2][for-danny] relocate_sdk.py: allow relocate_sdk.py to work with python 2.4.x X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Apr 2013 23:48:10 -0000 From: Jason Wessel 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 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 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("