mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-03 20:47:13 +08:00
16 lines
608 B
Bash
Executable File
16 lines
608 B
Bash
Executable File
#!/bin/sh
|
|
AUFS2VERSION="-35"
|
|
KERNELVERSION=2.6.35
|
|
GITSNAPSHOT=20100809
|
|
# aufs2 (no -xx) for the latest -rc version.
|
|
rm -R aufs2-standalone.git
|
|
git clone http://git.c3sl.ufpr.br/pub/scm/aufs/aufs2-standalone.git aufs2-standalone.git
|
|
cd aufs2-standalone.git
|
|
git checkout origin/aufs2${AUFS2VERSION}
|
|
#*** apply "aufs2-base.patch" and "aufs2-standalone.patch" to your kernel source files.
|
|
cd ..
|
|
rm -rf aufs2-${KERNELVERSIN}_${GITSNAPSHOT}
|
|
cp -a aufs2-standalone.git aufs2-${KERNELVERSION}_${GITSNAPSHOT}
|
|
tar -czf aufs2-${KERNELVERSION}_${GITSNAPSHOT}.tar.gz --exclude=.git aufs2-${KERNELVERSION}_${GITSNAPSHOT}
|
|
|