Home
last modified time | relevance | path

Searched refs:patchfile (Results 1 – 9 of 9) sorted by relevance

/openbmc/openbmc/poky/scripts/
H A Dcombo-layer-hook-default.sh13 patchfile=$1
17 …Subject:/s#^Subject: \[PATCH\] \($reponame: \)*\(.*\)#Subject: \[PATCH\] $reponame: \2#" $patchfile
18 if grep -q '^Signed-off-by:' $patchfile; then
20 …d -i -e "0,/^Signed-off-by:/s#\(^Signed-off-by:.*\)#\(From $reponame rev: $rev\)\n\n\1#" $patchfile
23 …\t]*)(\n|\n\s*\n)---\n/\$1\n\nFrom $reponame rev: $rev\n---\n/s; print;" $patchfile >$patchfile.tmp
24 mv $patchfile.tmp $patchfile
H A Dcombo-layer492 def check_patch(patchfile): argument
493 f = open(patchfile, 'rb')
510 …NG: %s contains a diff in its commit message, indenting to avoid failure during apply' % patchfile)
511 of = open(patchfile + '.tmp', 'wb')
527 os.rename(of.name, patchfile)
814 patchfile = line.split()[0]
816 patchdisp = os.path.relpath(patchfile)
817 if os.path.getsize(patchfile) == 0:
820 … cmd = "git am --keep-cr %s-p1 %s" % ('-s ' if repo.get('signoff', True) else '', patchfile)
/openbmc/openbmc/poky/scripts/contrib/
H A Dtest_build_time.sh186 patchfile=`mktemp`
187 git show $patchrev > $patchfile
188 git apply --check $patchfile &> /dev/null
193 git apply $patchfile &> /dev/null
195 rm $patchfile
/openbmc/openbmc/poky/meta/lib/oe/
H A Dpatch.py116 def getPatchedFiles(patchfile, striplevel, srcdir=None): argument
134 bb.error('Patch %s has invalid strip level %d' % (patchfile, striplevel))
142 with open(patchfile) as f:
181 raise PatchError('Unable to decode %s' % patchfile)
325 def extractPatchHeader(patchfile): argument
332 with open(patchfile, 'r', encoding=encoding) as f:
341 raise PatchError('Unable to find a character encoding to decode %s' % patchfile)
419 def prepareCommit(patchfile, commituser=None, commitemail=None): argument
426 lines = GitApplyTree.extractPatchHeader(patchfile)
430 … shellcmd = ["git", "log", "--format=email", "--follow", "--diff-filter=A", "--", patchfile]
[all …]
H A Drecipeutils.py522 _, _, patchfile, _, _, parm = bb.fetch.decodeurl(patch)
524 …patchedfiles[patchfile] = oe.patch.PatchSet.getPatchedFiles(patchfile, striplevel, os.path.join(d.…
/openbmc/linux/Documentation/filesystems/
H A Dbefs.rst55 Apply the patchfile to your kernel source tree.
56 Assuming that your kernel source is in /foo/bar/linux and the patchfile
/openbmc/openbmc/poky/meta/lib/oeqa/selftest/cases/
H A Ddevtool.py1283 patchfile = os.path.join(appenddir, testrecipe, '0001-Add-our-custom-version.patch')
1284 self.assertExists(patchfile, 'Patch file not created')
1301 self.assertNotExists(patchfile, 'Patch file not deleted')
1313 self.assertExists(patchfile, 'Patch file not created (with disabled layer)')
1451 patchfile = os.path.join(appenddir, testrecipe, '0001-Add-new-file.patch')
1454 self.assertExists(patchfile, 'Patch file 0001-Add-new-file.patch not created')
1456 self.assertExists(patchfile, 'File new_local not created')
1503 patchfile = os.path.join(os.path.dirname(recipefile), testrecipe, testrecipe + '.patch')
1516 with open(patchfile, 'r') as f:
1530 patchfile = os.path.join(os.path.dirname(recipefile), testrecipe, patchfilename)
[all …]
/openbmc/openbmc/poky/documentation/ref-manual/
H A Dqa-checks.rst755 - ``Missing Upstream-Status in patch <patchfile> Please add according to <url> [patch-status]``
765 - ``Malformed Upstream-Status in patch <patchfile> Please correct according to <url> [patch-status]…
/openbmc/qemu/docs/devel/
H A Dsubmitting-a-patch.rst55 You can run run *scripts/checkpatch.pl <patchfile>* before submitting to