From 4ac4c727a591148f73a2f7b8cd7d41db761f92b2 Mon Sep 17 00:00:00 2001 From: Fabio Erculiani Date: Wed, 1 Aug 2012 15:49:19 +0200 Subject: [PATCH] [repo] fix arm directory detection (skip ELF class check) --- load_chroot_ssh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/load_chroot_ssh b/load_chroot_ssh index 63e468f..07d7721 100755 --- a/load_chroot_ssh +++ b/load_chroot_ssh @@ -36,7 +36,7 @@ def spawn_ssh(args, chroot): bash_exec = os.path.join(chroot, "bin/bash") # must exists elf_class = read_elf_class(bash_exec) pre_chroot = [] - if elf_class != 2: # 32 bit + if elf_class != 2 and (os.path.basename(chroot).find("arm") == -1): # 32 bit pre_chroot = ["linux32"] rc_pid, rc = exec_chroot_cmd(args, chroot, pre_chroot = pre_chroot) return rc_pid, rc