From: Luis R. Rodriguez Date: Thu, 17 May 2012 02:11:05 +0000 (-0700) Subject: compat-wireless: remove master-tag file X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=3563088007fc85d5fc73aa61ec5630f2cc13561d;p=openwrt%2Fstaging%2Fblogic.git 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 --- diff --git a/.gitignore b/.gitignore index b615253b56d1..881d0b4c3919 100644 --- a/.gitignore +++ b/.gitignore @@ -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 4f8c4d1d52c3..340a19717fa5 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 ff4aa9ce2ed2..7e095b42b1b4 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