|
@ -23,6 +23,9 @@ probe_arch() { |
|
|
# to busybox |
|
|
# to busybox |
|
|
file_info="" |
|
|
file_info="" |
|
|
for location in bin/ls usr/bin/ls; do |
|
|
for location in bin/ls usr/bin/ls; do |
|
|
|
|
|
if [ -L work/rootfs/${location} ]; then |
|
|
|
|
|
location=$(readlink work/rootfs/${location}) |
|
|
|
|
|
fi |
|
|
if [ -e work/rootfs/${location} ]; then |
|
|
if [ -e work/rootfs/${location} ]; then |
|
|
file_info=$(file -b --dereference work/rootfs/${location}) |
|
|
file_info=$(file -b --dereference work/rootfs/${location}) |
|
|
break |
|
|
break |
|
|