]>
git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blob - debian/scripts/misc/update-aufs.sh
6 # Before you run this be sure you've removed or reverted the 'UBUNTU: SAUCE: AUFS" patch.
9 # Make sure the current working directory is at the top of the
12 if ! grep PATCHLEVEL Makefile
14 echo "You must run this script from the top of the linux tree"
24 git clone https
://github.com
/sfjro
/aufs4-standalone.git
${AUFS}
25 (cd ${AUFS}; git checkout
-b aufs4.x-rcN remotes
/origin
/aufs4.x-rcN
)
28 cp ${AUFS}/include
/uapi
/linux
/aufs_type.h include
/uapi
/linux
29 rsync
-av ${AUFS}/fs
/ fs
/
30 rsync
-av ${AUFS}/Documentation
/ Documentation
/
32 PATCHES
="${PATCHES} aufs4-kbuild.patch"
33 PATCHES
="${PATCHES} aufs4-base.patch"
34 PATCHES
="${PATCHES} aufs4-mmap.patch"
35 PATCHES
="${PATCHES} aufs4-standalone.patch"
36 PATCHES
="${PATCHES} aufs4-loopback.patch"
37 #PATCHES="${PATCHES} vfs-ino.patch"
38 PATCHES
="${PATCHES} tmpfs-idr.patch"
42 patch -p1 < ${AUFS}/$i
45 [ "$clean" = 1 ] && rm -rf ${AUFS}
48 find .
-name "*.orig" |
xargs rm
49 find . |
grep aufs |
xargs git add
50 git commit
-s -m"UBUNTU: SAUCE: AUFS"