Lines Matching +full:master +full:- +full:kernel

3 set -e
7 UPSTREAM_GIT="git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git"
9 BRANCHES="master filter-state upstream/master upstream/dts"
11 if [ ! -f scripts/filter.sh ] ; then
12 echo "`pwd`: does not appear to be a device-tree.git" 1>&2
16 if [ -z "$LATEST_VERSION" ] ; then
17 FINGER_BANNER="https://www.kernel.org/finger_banner"
18 LATEST_VERSION=$(wget --quiet -O - "$FINGER_BANNER" |\
19 sed -n -e '0,/^The latest mainline version of the Linux kernel is:\s*\(.*\)$/s//\1/p')
22 if [ -z "$LATEST_VERSION" ] ; then
28 if ! git show-ref --quiet --verify refs/tags/v${LATEST_VERSION} ; then
31 if ! git show-ref --quiet --verify refs/tags/v${LATEST_VERSION}-dts ; then
38 REF=$(git show-ref --verify refs/heads/${branch})
39 if [ $? -ne 0 ] ; then
48 if [ -n "$FILTER_OUTPUT" ] ; then
49 echo "---------------------------------------------------------------------"
51 echo "---------------------------------------------------------------------"
55 if [ -n "$MERGE_OUTPUT" ] ; then
56 echo "---------------------------------------------------------------------"
58 echo "---------------------------------------------------------------------"
65 set -e
66 echo "Switching to master branch"
67 git checkout master
69 echo "Fetching $UPSTREAM_GIT master"
70 git fetch --tags "$UPSTREAM_GIT" master
78 #git push --dry-run origin filter-state upstream/dts upstream/master
79 #git push --dry-run origin --tags
83 TESTBRANCH=test-${DATE}
85 set -e
86 git checkout -b ${TESTBRANCH} origin/master
87 git -c merge.renameLimit=1000000 merge --no-edit upstream/dts
89 REF=$(git show-ref --verify refs/heads/${TESTBRANCH})
91 if git log ${TESTBRANCH} -- MAINTAINERS | grep --quiet . ; then
92 echo "Filter branch has upstream-only content (MAINTAINERS file)"
96 make clean -s
97 TEST_OUTPUT=`make -k -s 2>&1 || true`
98 if [ -z "${TEST_OUTPUT}" ]; then
101 echo "---------------------------------------------------------------------"
103 echo "---------------------------------------------------------------------"
108 echo "Switching back to master branch"
109 git checkout master
112 git update-ref refs/tests/${DATE} ${TESTBRANCH}
115 git branch -D "${TESTBRANCH}"
119 REF=$(git show-ref --verify refs/heads/${branch})