summaryrefslogtreecommitdiff
path: root/libre/aufs2-libre/create-tarball.sh
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@kiwwwi.com.ar>2011-03-02 12:37:23 -0300
committerNicolás Reynolds <fauno@kiwwwi.com.ar>2011-03-02 12:37:23 -0300
commit0d1bceb53656f5976e84fd7a1b31e1ca57b0b0cc (patch)
tree0a2165fb84946b0cd1a702cb69913f061b80ab0b /libre/aufs2-libre/create-tarball.sh
parent89427cd345dd9778ff930861b51ead9801adec70 (diff)
parent14ba37eac0c2414ff3a9f66ff6ca709e23ae7917 (diff)
Merge branch 'master' of ssh://vparabola/srv/git/projects/abslibre
Diffstat (limited to 'libre/aufs2-libre/create-tarball.sh')
-rwxr-xr-xlibre/aufs2-libre/create-tarball.sh14
1 files changed, 14 insertions, 0 deletions
diff --git a/libre/aufs2-libre/create-tarball.sh b/libre/aufs2-libre/create-tarball.sh
new file mode 100755
index 000000000..a460a8b3b
--- /dev/null
+++ b/libre/aufs2-libre/create-tarball.sh
@@ -0,0 +1,14 @@
+#!/bin/sh
+AUFS2VERSION="-37"
+KERNELVERSION=2.6.37
+GITSNAPSHOT=20110124
+# aufs2 (no -xx) for the latest -rc version.
+git clone http://git.c3sl.ufpr.br/pub/scm/aufs/aufs2-standalone.git aufs2-standalone.git
+cd aufs2-standalone.git
+git checkout origin/aufs2.1${AUFS2VERSION}
+#git checkout origin/aufs2.1
+#*** apply "aufs2-base.patch" and "aufs2-standalone.patch" to your kernel source files.
+cd ..
+rm -rf aufs2-${KERNELVERSION}_${GITSNAPSHOT}
+cp -a aufs2-standalone.git aufs2-${KERNELVERSION}_${GITSNAPSHOT}
+tar -czf aufs2-${KERNELVERSION}_${GITSNAPSHOT}.tar.gz --exclude=.git aufs2-${KERNELVERSION}_${GITSNAPSHOT}