diff options
Diffstat (limited to 'meta-agl-bsp/meta-ti/recipes-kernel')
-rw-r--r-- | meta-agl-bsp/meta-ti/recipes-kernel/linux/linux-ti-staging_%.bbappend | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/meta-agl-bsp/meta-ti/recipes-kernel/linux/linux-ti-staging_%.bbappend b/meta-agl-bsp/meta-ti/recipes-kernel/linux/linux-ti-staging_%.bbappend index b2e543140..43fa494a2 100644 --- a/meta-agl-bsp/meta-ti/recipes-kernel/linux/linux-ti-staging_%.bbappend +++ b/meta-agl-bsp/meta-ti/recipes-kernel/linux/linux-ti-staging_%.bbappend @@ -31,3 +31,14 @@ KERNEL_CONFIG_FRAGMENTS_append_smack = "\ # file comes out of meta-agl-bsp/recipes-kernel/linux/linux_%.bbappend KERNEL_CONFIG_FRAGMENTS_append = " ${WORKDIR}/can-bus.cfg" + +# fix issue in kernel-devsrc meta pkg wrt /bin/awk vs /usr/bin/awk +do_configure_append(){ + +# enforce all scripts to use /usr/bin/awk . This fixes the rpm dependency failure on install of kernel-devsrc +cd ${S} || true +( for i in `git grep "\!/bin/awk" | cut -d":" -f1 ` ; do sed -i -e "s#\!/bin/awk#\!/usr/bin/awk#g" $i ; done ) || true +cd ${B} || true +( for i in `git grep "\!/bin/awk" | cut -d":" -f1 ` ; do sed -i -e "s#\!/bin/awk#\!/usr/bin/awk#g" $i ; done ) || true + +} |