aboutsummaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
authorTheodore Ts'o <tytso@mit.edu>2015-07-12 16:59:52 -0400
committerTheodore Ts'o <tytso@mit.edu>2015-07-12 18:09:14 -0400
commit1bf3f386f389dd16606b00d3920a1847f435b248 (patch)
tree6a7719caa97dbbc058252177d8d5b5690f457c3b /util
parent4ac4a41b8b0dbcd9159b0a2449b5dc307d0ec77a (diff)
downloade2fsprogs-1bf3f386f389dd16606b00d3920a1847f435b248.tar.gz
gen-android-files: implement 'Add MODULE_LICENSE and NOTICE files"
Sync up with aosp's e2fsprogs commits: e1b2879841453d799dc6077f857c5c9db5e83fee e64b83185148d359b9b6cc1310172a3c213a61fb b823193090c770fe79507df2413a825250b1dcd2 9652dd6589d10675573c9a0acc90f6df5ac33397 a5f85097aed09890d03dba31f9d18db75ce50cd7 Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'util')
-rwxr-xr-xutil/gen-android-files9
1 files changed, 8 insertions, 1 deletions
diff --git a/util/gen-android-files b/util/gen-android-files
index 0be3c04f..6e36e3f8 100755
--- a/util/gen-android-files
+++ b/util/gen-android-files
@@ -9,7 +9,8 @@ ANDROID_GENERATED_FILES="lib/ext2fs/ext2_err.c lib/ext2fs/ext2_err.h \
lib/uuid/uuid.h lib/ext2fs/crc32c_table.h misc/default_profile.c \
lib/ss/std_rqs.c debugfs/debug_cmds.c debugfs/ro_debug_cmds.c \
debugfs/extent_cmds.c debugfs/e2freefrag.c debugfs/create_inode.c \
- debugfs/plausible.c debugfs/recovery.c debugfs/revoke.c"
+ debugfs/plausible.c debugfs/recovery.c debugfs/revoke.c \
+ MODULE_LICENSE_GPL"
SS_DIR=$(pwd)/lib/ss
MK_CMDS=/tmp/mk_cmds$$.sh
@@ -56,5 +57,11 @@ awk -f misc/profile-to-c.awk < misc/mke2fs.conf.in > misc/default_profile.c
rm -f ./gen_crc32table ./gen_crc32ctable lib/ext2fs/ext2_err.et
+touch MODULE_LICENSE_GPL
+
git add -f $ANDROID_GENERATED_FILES
+if test -f COPYING
+then
+ git mv COPYING NOTICE
+fi
git commit -m "Update generated files for Android"