is 'SRC_URI_append += "file://appendtest.txt"' in layerappend.py deliberate?
just noticed in meta/lib/oeqa/selftest/cases/layerappend.py this
snippet:
////// start
append = """
FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
SRC_URI_append = " file://appendtest.txt" <--- first
sysroot_stage_all_append() {
install -m 644 ${WORKDIR}/appendtest.txt ${SYSROOT_DESTDIR}/
}"""
append2 = """
FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
SRC_URI_append += "file://appendtest.txt" <--- second
"""
////// end
is there some reason that SRC_URI_append is done correctly in that
first example, but in that weirdly superfluous way using "+=" in the second example?
rday
Signature · 7 lines
========================================================================
Robert P. J. Day Ottawa, Ontario, CANADA
http://crashcourse.ca
Twitter: http://twitter.com/rpjday
LinkedIn: http://ca.linkedin.com/in/rpjday
========================================================================Quoted 20 lines · Robert P. J. Day
just noticed in
meta/lib/oeqa/selftest/cases/layerappend.pythis
snippet:////// start
append = """
FILESEXTRAPATHS_prepend:= "${THISDIR}/${PN}:"
SRC_URI_append= " file://appendtest.txt" <--- firstsysroot_stage_all_append() { install -m 644 ${WORKDIR}/appendtest.txt ${SYSROOT_DESTDIR}/ }"""
append2 = """
FILESEXTRAPATHS_prepend:= "${THISDIR}/${PN}:"
Quoted 8 lines
SRC_URI_append+= "file://appendtest.txt" <--- second
"""////// end
is there some reason that
SRC_URI_appendis done correctly in that
first example, but in that weirdly superfluous way using "+=" in the second example?
send a patch to fix it append += is usually not preferred.
Quoted 17 lines
rday
--
========================================================================
Robert P. J. Day Ottawa, Ontario, CANADA
http://crashcourse.caTwitter: http://twitter.com/rpjday LinkedIn: http://ca.linkedin.com/in/rpjday========================================================================
--
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core