]>
Commit | Line | Data |
---|---|---|
1 | #!/bin/sh | |
2 | set -xe | |
3 | ||
4 | #BRANCH=aufs6.6 | |
5 | BRANCH=aufs6.x-rcN | |
6 | ||
7 | # aufs6 | |
8 | [ -d aufs-standalone ] || git clone https://github.com/sfjro/aufs-standalone.git | |
9 | cd aufs-standalone | |
10 | git checkout -b ${BRANCH} origin/${BRANCH} || git switch ${BRANCH} | |
11 | git pull | |
12 | cat aufs6-kbuild.patch aufs6-base.patch aufs6-mmap.patch aufs6-standalone.patch > ../kernel-aufs.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-aufs.patch | |
16 | cat aufs6-loopback.patch >> ../kernel-aufs.patch | |
17 | ||
18 | # other |