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