Revert kernel-devsrc fix on linux-ti 27/11227/3
authorStephane Desneux <stephane.desneux@iot.bzh>
Wed, 11 Oct 2017 14:12:22 +0000 (16:12 +0200)
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>
Wed, 11 Oct 2017 19:37:52 +0000 (19:37 +0000)
This reverts commit 4bfc821810cdee47611c6d3e94d771971f51fa75.

The fix on linux-ti-staging is superseeded by https://gerrit.automotivelinux.org/gerrit/#/c/11209/

Bug-AGL: SPEC-933

Change-Id: Ic41ba32451ef2c16a34c9e3879d4f86630ede058
Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/11227
Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
ci-image-boot-test: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
meta-agl-bsp/meta-ti/recipes-kernel/linux/linux-ti-staging_%.bbappend

index 43fa494..b2e5431 100644 (file)
@@ -31,14 +31,3 @@ 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
-
-}