diff options
author | John Klug <john.klug@multitech.com> | 2017-02-09 13:53:25 -0600 |
---|---|---|
committer | John Klug <john.klug@multitech.com> | 2017-02-09 13:53:25 -0600 |
commit | b14d76b5bdbbf062730427db5a99b2a81bc6ee15 (patch) | |
tree | dba634b13852b36c860741acde638a7942cf6ef8 /recipes-kernel/rs9113/rs9113.inc | |
parent | c664912e266d87c4e4470e2c588e4908fcb60f1c (diff) | |
download | meta-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.inc | 13 |
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) } |