Lines Matching refs:lines_before

258     def process(self, srctree, classes, lines_before, lines_after, handled, extravalues):  argument
629 lines_before = []
632 lines_before.append('# Recipe created by %s' % os.path.basename(sys.argv[0]))
633lines_before.append('# This is the basis of a recipe and may need further editing in order to be f…
634 lines_before.append('# (Feel free to remove these comments when editing.)')
636 lines_before.append('')
639 lines_before.append('##LICENSE_PLACEHOLDER##')
678lines_before.append('# No information for SRC_URI yet (only an external source tree was specified)…
679 lines_before.append('SRC_URI = "%s"' % srcuri)
681 lines_before.append('SRC_URI[%s] = "%s"' % (key, value))
683 lines_before.append('')
684 lines_before.append('# Modify these as desired')
693 lines_before.append('PV = "%s+%s${SRCPV}"' % (realpv or '1.0', srcpvprefix))
699 lines_before.append('SRCREV = "%s"' % srcrev)
701 lines_before.append('PROVIDES = "%s"' % args.provides)
702 lines_before.append('')
707 lines_before.append('S = "${WORKDIR}/%s"' % srcsubdir)
708 lines_before.append('')
746 handler.process(srctree_use, classes, lines_before, lines_after, handled, extravalues)
779 …licvalues = handle_license_vars(srctree_use, lines_before, handled, extravalues, tinfoil.config_da…
813 lines = lines_before
814 lines_before = []
836 lines_before.append(line)
864 outlines.extend(lines_before)
938 def handle_license_vars(srctree, lines_before, handled, extravalues, d): argument
1013 pos = lines_before.index('##LICENSE_PLACEHOLDER##')
1017 lines_before.extend(lines)
1019 lines_before[pos:pos+1] = lines