summarylogtreecommitdiffstats
path: root/create-aufs.sh
diff options
context:
space:
mode:
authorAndrey Alekseev2020-10-19 18:51:25 +0400
committerAndrey Alekseev2020-10-19 18:51:25 +0400
commit2b8a05cfa18394cd0bc9949beb012d78081026e6 (patch)
tree196a20aa63853c4b952e4931e4d3252b78cbcb01 /create-aufs.sh
parent1fda9faf92af300bae33881cc664cb2841d1b201 (diff)
downloadaur-2b8a05cfa18394cd0bc9949beb012d78081026e6.tar.gz
some fixes
Diffstat (limited to 'create-aufs.sh')
-rw-r--r--create-aufs.sh37
1 files changed, 0 insertions, 37 deletions
diff --git a/create-aufs.sh b/create-aufs.sh
deleted file mode 100644
index dfa0cf3f7af..00000000000
--- a/create-aufs.sh
+++ /dev/null
@@ -1,37 +0,0 @@
-#!/bin/bash
-
-rm -Rf aufs5-standalone
-# clone the aufs repository to the local disk
-git clone git://github.com/sfjro/aufs5-standalone.git aufs5-standalone
-cd aufs5-standalone
-git branch -r
-git checkout origin/aufs5.x-rcN
-
-# modify what you want
-
-# and after
-# create the patch with the directories: fs, include and Documentation
-
-rm -v $(find . -type f -name '*.orig')
-#grep -qse 'EXPORT_SYMBOL(' aufs4-standalone.patch && \
-#sed -i-old -e 's|EXPORT_SYMBOL(|EXPORT_SYMBOL_GPL(|' aufs4-standalone.patch
-rm -rvf ../tmp/linux-5.x-rcN
-mkdir -p ../tmp/linux-5.x-rcN
-cp -a fs ../tmp/linux-5.x-rcN
-cp -a include ../tmp/linux-5.x-rcN
-cp -a Documentation ../tmp/linux-5.x-rcN
-rm -v ../tmp/linux-5.x-rcN/include/uapi/linux/Kbuild
-cd ../tmp
-diff -Naur null linux-5.x-rcN | filterdiff | \
-sed -e 's|null\(/include/uapi/linux/Kbuild\)|linux-5.x-rcN-old\1|;s|^--- null.*|--- /dev/null|;\|linux-5.x-rcN/include/uapi/linux/Kbuild|,${\|@@ -0,0 +1 @@|,$d}' \
-> aufs$(sed -ne 's|#define.*AUFS_VERSION.*"\(.*\)"|\1|p' linux-5.x-rcN/include/uapi/linux/aufs_type.h).patch
-mv *.patch $OLDPWD
-cd $OLDPWD
-mv *.patch ..
-cd ..
-rm -Rf tmp
-rm -Rf aufs5-standalone
-
-
-# the patch is created in ../tmp
-# the other patches needed to compile are in the base directory