From 2cf104f7e09d620b9c04122d15ce347db34f9577 Mon Sep 17 00:00:00 2001 From: Bruce Ashfield Date: Tue, 10 Aug 2010 15:01:37 -0400 Subject: guilt: import guilt for kernel patch management The Wind River kernel is "patched" via guilt to provide both git integration and quilt like patch management (if that is of interest). This is a modified 0.33 guilt with some changes to streamline interactions with the way that the Wind River kernel is constructed. That being said, the common semantics of guilt are not changed, and it can be used for other purposes. Signed-off-by: Bruce Ashfield --- meta/packages/guilt/files/guilt-push.patch | 40 ++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 meta/packages/guilt/files/guilt-push.patch (limited to 'meta/packages/guilt/files/guilt-push.patch') diff --git a/meta/packages/guilt/files/guilt-push.patch b/meta/packages/guilt/files/guilt-push.patch new file mode 100644 index 0000000000..2184329595 --- /dev/null +++ b/meta/packages/guilt/files/guilt-push.patch @@ -0,0 +1,40 @@ +guilt: add support for pushing and tagging + +It can be handy to push AND tag at the same time. + +Signed-off-by: Bruce Ashfield + +--- + + guilt-push | 16 +++++++++++++++- + 1 file changed, 15 insertions(+), 1 deletion(-) + +--- a/guilt-push ++++ b/guilt-push +@@ -19,7 +19,11 @@ while [ $# -gt 0 ]; do + -n) + num=t + ;; +- *) ++ -t|--t) ++ tag=$2 ++ shift ++ ;; ++ *) + break + ;; + esac +@@ -126,3 +130,13 @@ do + fi + done + ++ret=$? ++if [ $ret -ne 0 ]; then ++ exit $ret ++fi ++ ++# if a tag was specified, tag the tree now. ++if [ -n "$tag" ]; then ++ git-rev-parse HEAD > "$GIT_DIR/refs/tags/$tag" ++fi ++ -- cgit v1.2.3-54-g00ecf