diff options
-rw-r--r-- | classes/patcher.bbclass | 0 | ||||
-rw-r--r-- | conf/bitbake.conf | 5 |
2 files changed, 2 insertions, 3 deletions
diff --git a/classes/patcher.bbclass b/classes/patcher.bbclass new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/classes/patcher.bbclass diff --git a/conf/bitbake.conf b/conf/bitbake.conf index b15d744a96..8bd4719032 100644 --- a/conf/bitbake.conf +++ b/conf/bitbake.conf @@ -304,9 +304,8 @@ SRC_URI = "file://${FILE}" MKTEMPDIRCMD = "mktemp -d -q ${TMPBASE}" MKTEMPCMD = "mktemp -q ${TMPBASE}" -# PATCHCLEANCMD = "patcher -B" -# PATCHCMD = "patcher -R -p '%s' -n '%s' -i '%s'" -# PATCH_DEPENDS = "patcher-native" +# Program to be used to patch sources, use 'inherit patcher' to overwrite this: + PATCHCLEANCMD = 'if [ -n "`quilt applied`" ]; then quilt pop -a -R -f || exit 1; fi' PATCHCMD = "quilt upgrade; chmod 644 patches/* || true; quilt import -f -p '%s' -n '%s' '%s'; quilt push" PATCH_DEPENDS = "quilt-native" |