summaryrefslogtreecommitdiffstats
path: root/meta-agl-bsp/recipes-kernel/linux/kernel-devsrc.bbappend
blob: 52fe69d24e1ccf915737f71ba7939f4b08b190a0 (plain)
1
2
3
4
5
6
# fix for kernel using hardcoded awk while our filesystem only provides gawk
do_install_append() {
    # enforce all scripts to use /usr/bin/awk . This fixes the rpm dependency failure on install of kernel-devsrc
    cd ${D} || true
    ( for i in `grep -srI "\!/bin/awk" | cut -d":" -f1 ` ; do sed -i -e "s#\!/bin/awk#\!/usr/bin/env awk#g" $i ; done ) || true
}