summaryrefslogtreecommitdiff
path: root/recipes-kernel/rs9113/rs9113.inc
diff options
context:
space:
mode:
authorJohn Klug <john.klug@multitech.com>2017-02-09 13:53:25 -0600
committerJohn Klug <john.klug@multitech.com>2017-02-09 13:53:25 -0600
commitb14d76b5bdbbf062730427db5a99b2a81bc6ee15 (patch)
treedba634b13852b36c860741acde638a7942cf6ef8 /recipes-kernel/rs9113/rs9113.inc
parentc664912e266d87c4e4470e2c588e4908fcb60f1c (diff)
downloadmeta-multitech-b14d76b5bdbbf062730427db5a99b2a81bc6ee15.tar.gz
meta-multitech-b14d76b5bdbbf062730427db5a99b2a81bc6ee15.tar.bz2
meta-multitech-b14d76b5bdbbf062730427db5a99b2a81bc6ee15.zip
Add kernel version to rs9113 package name
Diffstat (limited to 'recipes-kernel/rs9113/rs9113.inc')
-rw-r--r--recipes-kernel/rs9113/rs9113.inc13
1 files changed, 9 insertions, 4 deletions
diff --git a/recipes-kernel/rs9113/rs9113.inc b/recipes-kernel/rs9113/rs9113.inc
index d7d169a..3b722cf 100644
--- a/recipes-kernel/rs9113/rs9113.inc
+++ b/recipes-kernel/rs9113/rs9113.inc
@@ -27,13 +27,18 @@ python do_fetch_prepend () {
except TypeError:
bb.fatal("MTS_INTERNAL_GIT must be in BB_ENV_EXTRAWHITE")
- PV = d.getVar("PV",True)
+ gitversion = d.getVar("PV",True)
+
+ PV = gitversion
+ PV += "-"
+ PV += d.getVar("MLINUX_KERNEL_VERSION",True)
+ PV += d.getVar("MLINUX_KERNEL_EXTRA_VERSION",True)
+
bb.note("PV is " + PV)
- gt += ":mlinux/ipk.git " + PV
+ gt += ":mlinux/ipk.git " + gitversion
bb.note("git is " + gt)
- PR = d.getVar("PR",True)
tar = "tar -vx --strip-components 1 -C " + DR + " rs9113/rs9113-from-src_"
- tar += PV + "-" + PR + ".0_mtcdt.ipk"
+ tar += PV + ".0_mtcdt.ipk"
bb.note("tar is " + tar)
os.system(ex + ";" + gt + "|" + tar)
}