[Lunar-commits] <lunar> Adding a little bit of system info so we can spot non-2.4 users etc. Also specify date using -R format. Hopefully it'll make Moe happier.

Auke Kok sofar at lunar-linux.org
Mon Jul 2 04:43:05 CEST 2012


commit c35d430a4f5fcdfff557c894fbea0feb8bcebc81
Author: Auke Kok <sofar at lunar-linux.org>
Date:   Wed Jun 8 11:33:00 2005 +0000

    Adding a little bit of system info so we can spot non-2.4 users etc. Also specify date using -R format. Hopefully it'll make Moe happier.
---
 bin/lvu |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/bin/lvu b/bin/lvu
index c773b80..799d86d 100755
--- a/bin/lvu
+++ b/bin/lvu
@@ -771,7 +771,7 @@ submit_module() {
       echo '# '
       echo '# PLEASE DO NOT CHANGE THE FOLLOWING FIELDS:'
       echo 'To: lunar at lunar-linux.org'
-      echo 'Date:' $(date)
+      echo 'Date:' $(date -u -R)
       echo 'Subject: Module submission -' $MODULE
 	  echo 'MIME-Version: 1.0'
 	  echo "Content-Type: multipart/mixed; boundary=\"$BOUNDARY\""
@@ -824,6 +824,7 @@ submit_module() {
 	  echo 'Content-Transfer-Encoding: 7bit'
 	  echo ''
 	  echo "lvu submit $1 $(cat /bin/lvu | md5sum)"
+	  echo "$(uname -r) $(if [ -f /usr/include/linux/version.h ]; then grep UTS_RELEASE /usr/include/linux/version.h | cut -d '"' -f2 ; else echo "unknown" ; fi) gcc-$(installed_version gcc) glibc-$(installed_version glibc)"
 	  echo ''
     ) > $TMP_MSG
     edit_file $TMP_MSG


More information about the Lunar-commits mailing list