mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-07-17 04:37:19 +00:00
remove some more True options to getVar calls
getVar() now defaults to expanding by default, thus remove the True option from getVar() calls. Fix a small number of cases not addressed by the original patch: http://git.openembedded.org/meta-openembedded/commit/?id=efd3696e70a6603f1a45faa4a172433514f0a487 Signed-off-by: Andre McCurdy <armccurdy@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
This commit is contained in:
committed by
Martin Jansa
parent
e79566f51d
commit
ebef449638
@@ -15,7 +15,7 @@ inherit autotools systemd
|
||||
# return something like '1.2.3' or '1.2.3/rc1'
|
||||
#
|
||||
def get_sub(d):
|
||||
parts = d.getVar('PV',True).split('-')
|
||||
parts = d.getVar('PV').split('-')
|
||||
try:
|
||||
return parts[0] + '/' + parts[1]
|
||||
except:
|
||||
|
||||
@@ -7,7 +7,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=0636e73ff0215e8d672dc4c32c317bb3 \
|
||||
file://COPYING-v3;md5=d32239bcb673463ab874e80d47fae504"
|
||||
|
||||
#at least versions 2.15 and prior are moved to the archive folder on the server
|
||||
SRC_URI = "http://www.thekelleys.org.uk/dnsmasq/${@['archive/', ''][float(d.getVar('PV',1).split('.')[1]) > 15]}dnsmasq-${PV}.tar.gz;name=dnsmasq-${PV} \
|
||||
SRC_URI = "http://www.thekelleys.org.uk/dnsmasq/${@['archive/', ''][float(d.getVar('PV').split('.')[1]) > 15]}dnsmasq-${PV}.tar.gz;name=dnsmasq-${PV} \
|
||||
file://init \
|
||||
file://dnsmasq.conf \
|
||||
file://dnsmasq-resolvconf.service \
|
||||
|
||||
Reference in New Issue
Block a user