X-Git-Url: http://git.pld-linux.org/?a=blobdiff_plain;f=update-source.sh;h=5f635b6bbdf431b64a90b654e7cec5a57effbfb6;hb=d27ab633e92338fec1ed18d5338747efdfa7f1d1;hp=17b4a9313ee96cf1d60a45125f60ba59047e244b;hpb=4601627036bf406033f36fa2420a06630b98a958;p=packages%2Fkernel.git diff --git a/update-source.sh b/update-source.sh index 17b4a931..5f635b6b 100755 --- a/update-source.sh +++ b/update-source.sh @@ -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