]> git.ipfire.org Git - ipfire-3.x.git/blobdiff - tools/make-constants
Added new package: dosfstools.
[ipfire-3.x.git] / tools / make-constants
index 7554bffb1815ffa07d35db80ae3c6a2767689641..8c670c6d170eccf2f53a1db1f2f6cf7663127a72 100644 (file)
@@ -40,8 +40,9 @@ KVER=$(grep --max-count=1 PKG_VER lfs/linux | awk '{ print $3 }' | tr -d '\n'; g
 # Read in machine type
 MACHINE_REAL=$(uname -m)
 
-# Read in our tag
-GIT_TAG=$(git tag 2>/dev/null | tail -1)
+# Read in information from git
+GIT_REV=$(git rev-list HEAD | head -n 1)
+GIT_TAG=$(git tag 2>/dev/null | tail -n 1)
 
 # Embedded build
 EMB=0