This is needed so the file is given executable permissions when it is placed in the initrd. (Android doesn't use the file's attributes when creating filesystems, instead it applies the set of rules in system/core/include/private/android_filesystem_config.h)
This fixes bug: https://bugs.launchpad.net/linaro-android/+bug/1099486
Change-Id: Icfa2a6a0523558fc261e5ef1dfaeb8e726dc67a9 Signed-off-by: Jon Medhurst tixy@linaro.org ---
I'm posting this fix for the record and it is in Gerrit at: http://review.android.git.linaro.org/#change,3247
I didn't notice this issue in my initial testing as I updated the initrd by hand, rather than using a full Android build.
device.mk | 2 +- init.arm-versatileexpress.rc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/device.mk b/device.mk index 934d313..74ba29b 100644 --- a/device.mk +++ b/device.mk @@ -18,7 +18,7 @@ PRODUCT_COPY_FILES += \ device/linaro/vexpress/ueventd.v2p-aarch64.rc:root/ueventd.v2p-aarch64.rc \ device/linaro/vexpress/init.vexpress.sh:system/etc/init.vexpress.sh \ device/linaro/vexpress/initlogo.rle:root/initlogo.rle \ - device/linaro/vexpress/set_irq_affinity.sh:root/set_irq_affinity.sh + device/linaro/vexpress/set_irq_affinity.sh:root/sbin/set_irq_affinity.sh
PRODUCT_CHARACTERISTICS := tablet,nosdcard
diff --git a/init.arm-versatileexpress.rc b/init.arm-versatileexpress.rc index b7d7c8b..3950938 100644 --- a/init.arm-versatileexpress.rc +++ b/init.arm-versatileexpress.rc @@ -34,7 +34,7 @@ on boot chown system system /sys/class/graphics/fb1/overlays
# setup IRQ affinity to the A7s -service setirqaffinity /set_irq_affinity.sh 0xc07 +service setirqaffinity /sbin/set_irq_affinity.sh 0xc07 class main user root oneshot