[dab][for-4.0.2] Fix kernel-devsrc build

Description

agl-demo-platform-crosssdk install kernel-devsrc (formerly kernel-dev) .

For dra7xx-evm, we need to fix the patch of 'awk' in the kernel's help scripts to point to /usr/bin/awk instead of /bin/awk. This fixes an rpm dependency check when constructing the final image as we don't ship /bin/awk in the rootfs.

 

m3/h3 (+porter) affected, too.

 

 

Environment

None

Activity

Stephane Desneux 
October 11, 2017 at 10:03 PM

Solved for Dab 4.0.2. No forward port needed for master/EE.

Walt Miner 
October 11, 2017 at 9:59 PM
(edited)

Dab only or is a change needed on master? please resolve if nothing for master. 

Stephane Desneux 
October 10, 2017 at 5:57 PM

A fix attemps is here: https://gerrit.automotivelinux.org/gerrit/#/c/11209

The approach is inspired by #11173 but slightly different: instead of fixing kernel sources, this patch fixes the scripts after installation in the package sysroot (at the end of the do_install step). This way, we should have to fix things only once for all kernels (instead of patching various kernel packages in every BSP).

Not sure if that's the right way to fix it (to be checked), but at least it's done once for all kernels

Stephane Desneux 
October 10, 2017 at 4:34 PM

reproduced here...

Jan-Simon Moeller 
October 10, 2017 at 3:38 PM

See https://gerrit.automotivelinux.org/gerrit/#/c/11173/ . Needs to be applied likewise.

Fixed

Details

Assignee

Reporter

Fix versions

Labels

Contract ID

Affects versions

Priority

Created October 9, 2017 at 9:24 AM
Updated October 11, 2017 at 10:24 PM
Resolved October 11, 2017 at 10:03 PM

Flag notifications