diff options
author | Luis R. Rodriguez <mcgrof@frijolero.org> | 2012-05-16 19:11:05 -0700 |
---|---|---|
committer | Luis R. Rodriguez <mcgrof@frijolero.org> | 2012-05-16 19:11:05 -0700 |
commit | 3563088007fc85d5fc73aa61ec5630f2cc13561d (patch) | |
tree | db4a4a14b70e3d7ae2ceed04668f9ae01a0aa04c | |
parent | 4fdb168d24f34546bb8c30e5d6a2ca63e9f90f19 (diff) |
compat-wireless: remove master-tag file
The master-tag file was used to describe from where we pulled
code from when wireless-testing was used instead of linux-next.git.
It turns out the way this was being done could lead to incorrect
descriptions given that the master-tag file was generated by
looking at all the git tags present and using the latest master
tag. The assumption is that your tree would not have any newer
master tags. Turns out that we can use git describe to extract
correctly the proper master tag, at least now this seems to work
well on wireless-testing. Even if it does not work the git describe
tag is a better representation and would lead to less mistakes.
Signed-off-by: Luis R. Rodriguez <mcgrof@frijolero.org>
-rw-r--r-- | .gitignore | 1 | ||||
-rwxr-xr-x | scripts/admin-clean.sh | 1 | ||||
-rwxr-xr-x | scripts/admin-update.sh | 8 |
3 files changed, 0 insertions, 10 deletions
@@ -6,7 +6,6 @@ udev *~ git-describe compat-release -master-tag Module.symvers module.order .pc diff --git a/scripts/admin-clean.sh b/scripts/admin-clean.sh index 4f8c4d1d..340a1971 100755 --- a/scripts/admin-clean.sh +++ b/scripts/admin-clean.sh @@ -7,7 +7,6 @@ rm -rf drivers rm -rf include rm -rf compat rm -rf udev -rm -f master-tag rm -f .compat_base_tree rm -f .compat_base_tree_version rm -f .compat_version diff --git a/scripts/admin-update.sh b/scripts/admin-update.sh index ff4aa9ce..7e095b42 100755 --- a/scripts/admin-update.sh +++ b/scripts/admin-update.sh @@ -615,17 +615,9 @@ if [ -d ./.git ]; then case $TREE_NAME in "wireless-testing.git") # John's wireless-testing - # We override the .compat_base_tree_version for wireless-testing - # as john keeps the Linus' tags and does not write a tag for his - # tree himself so git describe would yield a v2.6.3x.y-etc but - # what is more useful is just the wireless-testing master tag - MASTER_TAG=$(git tag -l| grep master | tail -1) - echo $MASTER_TAG > $DIR/.compat_base_tree_version echo -e "This is a ${RED}wireless-testing.git${NORMAL} compat-wireless release" ;; "linux-next.git") # The linux-next integration testing tree - MASTER_TAG=$(git tag -l| grep next | tail -1) - echo $MASTER_TAG > $DIR/master-tag echo -e "This is a ${RED}linux-next.git${NORMAL} compat-wireless release" ;; "linux-stable.git") # Greg's all stable tree |