Home
last modified time | relevance | path

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

/OK3568_Linux_fs/yocto/poky/scripts/
H A Dcombo-layer-hook-default.sh11 patchfile=$1
15 …Subject:/s#^Subject: \[PATCH\] \($reponame: \)*\(.*\)#Subject: \[PATCH\] $reponame: \2#" $patchfile
16 if grep -q '^Signed-off-by:' $patchfile; then
18 …d -i -e "0,/^Signed-off-by:/s#\(^Signed-off-by:.*\)#\(From $reponame rev: $rev\)\n\n\1#" $patchfile
21 …\t]*)(\n|\n\s*\n)---\n/\$1\n\nFrom $reponame rev: $rev\n---\n/s; print;" $patchfile >$patchfile.tmp
22 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)
/OK3568_Linux_fs/yocto/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
/OK3568_Linux_fs/yocto/poky/meta/lib/oe/
H A Dpatch.py114 def getPatchedFiles(patchfile, striplevel, srcdir=None): argument
132 bb.error('Patch %s has invalid strip level %d' % (patchfile, striplevel))
140 with open(patchfile) as f:
179 raise PatchError('Unable to decode %s' % patchfile)
322 def extractPatchHeader(patchfile): argument
329 with open(patchfile, 'r', encoding=encoding) as f:
338 raise PatchError('Unable to find a character encoding to decode %s' % patchfile)
416 def prepareCommit(patchfile, commituser=None, commitemail=None): argument
423 lines = GitApplyTree.extractPatchHeader(patchfile)
427 … shellcmd = ["git", "log", "--format=email", "--follow", "--diff-filter=A", "--", patchfile]
[all …]
H A Drecipeutils.py524 _, _, patchfile, _, _, parm = bb.fetch.decodeurl(patch)
526 …patchedfiles[patchfile] = oe.patch.PatchSet.getPatchedFiles(patchfile, striplevel, os.path.join(d.…
/OK3568_Linux_fs/buildroot/package/bsdiff/
H A D0002-bspatch-adaption-to-embedded-system.patch33 - if(argc!=4) errx(1,"usage: %s oldfile newfile patchfile\n",argv[0]);
36 + if(argc!=4 && argc!=5) errx(1,"usage: %s oldfile newfile patchfile\n"
38 + " %s /dev/mmcblkMpN newfile patchfile oldsize\n", argv[0]);
/OK3568_Linux_fs/kernel/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
/OK3568_Linux_fs/yocto/poky/meta/lib/oeqa/selftest/cases/
H A Ddevtool.py1009 patchfile = os.path.join(appenddir, testrecipe, '0001-Add-our-custom-version.patch')
1010 self.assertExists(patchfile, 'Patch file not created')
1027 self.assertNotExists(patchfile, 'Patch file not deleted')
1038 self.assertExists(patchfile, 'Patch file not created (with disabled layer)')
1213 patchfile = os.path.join(os.path.dirname(recipefile), testrecipe, testrecipe + '.patch')
1226 with open(patchfile, 'r') as f:
1240 patchfile = os.path.join(os.path.dirname(recipefile), testrecipe, patchfilename)
1253 with open(patchfile, 'r') as f: