[Lunar-commits] <lunar> lvu: Old method to determine header version no longer valid

Stefan Wold ratler at lunar-linux.org
Mon Nov 22 11:48:30 CET 2010


commit a5c5310640a4dc13908e4575ba78f58592aa0760
Author: Stefan Wold <ratler at lunar-linux.org>
Date:   Mon Nov 22 11:48:30 2010 +0100

    lvu: Old method to determine header version no longer valid
---
 bin/lvu |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/bin/lvu b/bin/lvu
index 0e01b10..3880db3 100755
--- a/bin/lvu
+++ b/bin/lvu
@@ -904,7 +904,7 @@ submit_module() {
       echo "lvu submit: $1"
       echo "lvu: $(cat /bin/lvu | md5sum)"
       echo "uname -r: $(uname -r)"
-      echo "kernel headers: $(if [ -f /usr/include/linux/version.h ]; then grep UTS_RELEASE /usr/include/linux/version.h | cut -d '"' -f2 ; else echo "unknown" ; fi)"
+      echo "kernel headers: $(installed_version kernel-headers-2.6)"
       echo "gcc: $(installed_version gcc)"
       echo "glibc: $(installed_version glibc)"
       echo ''


More information about the Lunar-commits mailing list