linux: deploy a helper link containing abiversion

This makes life much easier for our card-kernel-write helper scripts.

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
This commit is contained in:
Andreas Müller
2018-09-21 15:37:33 +02:00
parent 31d5ce5293
commit 436b18a6be

View File

@@ -0,0 +1,8 @@
kernel_do_deploy_append() {
# deploy an extra link containing abiversion - used by our
# card-kernel-write scripts
abilinkname=${type}-abiversion-${KERNEL_VERSION}
if [ -e $deployDir/${base_name}.bin ] ; then
ln -sf ${base_name}.bin $deployDir/${abilinkname}
fi
}