]> git.pld-linux.org Git - packages/kernel.git/blobdiff - update-source.sh
mark arm* configs as sources
[packages/kernel.git] / update-source.sh
index 17b4a9313ee96cf1d60a45125f60ba59047e244b..5f635b6bbdf431b64a90b654e7cec5a57effbfb6 100755 (executable)
@@ -1,10 +1,13 @@
 #!/bin/sh
-set -x
+set -xe
+
+BRANCH=aufs5.x-rcN
+#BRANCH=aufs5.16
 
 # aufs5
-git clone git://github.com/sfjro/aufs5-standalone.git
+[ -d aufs5-standalone ] || git clone https://github.com/sfjro/aufs5-standalone.git
 cd aufs5-standalone
-git checkout -b aufs5.x-rcN origin/aufs5.x-rcN
+git checkout -b ${BRANCH} origin/${BRANCH} || git switch ${BRANCH}
 git pull
 cat aufs5-kbuild.patch aufs5-base.patch aufs5-mmap.patch aufs5-standalone.patch > ../kernel-aufs5.patch
 rm -rf linux && mkdir linux
This page took 0.042358 seconds and 4 git commands to generate.