]>
Commit | Line | Data |
---|---|---|
e3fad6a6 | 1 | #!/bin/sh |
6d509264 | 2 | set -xe |
e3fad6a6 | 3 | |
cd233405 AM |
4 | BRANCH=aufs5.x-rcN |
5 | #BRANCH=aufs5.16 | |
be97ac12 | 6 | |
e3fad6a6 | 7 | # aufs5 |
f4d37d76 | 8 | [ -d aufs5-standalone ] || git clone https://github.com/sfjro/aufs5-standalone.git |
e3fad6a6 | 9 | cd aufs5-standalone |
26eb093c | 10 | git checkout -b ${BRANCH} origin/${BRANCH} || git switch ${BRANCH} |
e3fad6a6 AM |
11 | git pull |
12 | cat aufs5-kbuild.patch aufs5-base.patch aufs5-mmap.patch aufs5-standalone.patch > ../kernel-aufs5.patch | |
13 | rm -rf linux && mkdir linux | |
14 | cp -a Documentation fs include linux | |
15 | diff -urN /usr/share/empty linux | filterdiff -x linux/include/uapi/linux/Kbuild >> ../kernel-aufs5.patch | |
16 | cat aufs5-loopback.patch >> ../kernel-aufs5.patch | |
17 | ||
18 | # other |