attempt to fix build/version.txt in bootcd image
authorThierry Parmentelat <thierry.parmentelat@inria.fr>
Mon, 22 Apr 2013 13:06:53 +0000 (15:06 +0200)
committerThierry Parmentelat <thierry.parmentelat@inria.fr>
Mon, 22 Apr 2013 13:06:53 +0000 (15:06 +0200)
prep.sh

diff --git a/prep.sh b/prep.sh
index 3b75b56..ba985b9 100755 (executable)
--- a/prep.sh
+++ b/prep.sh
@@ -39,7 +39,7 @@ bootcd=$PWD/build/bootcd
 install -d -m 755 $bootcd
 
 # Write version number
-rpmquery --specfile bootcd.spec --queryformat '%{VERSION}\n' | head -1 > build/version.txt
+rpm -q --specfile bootcd.spec --queryformat '%{VERSION}\n' | head -1 > build/version.txt
 echo $nodefamily > build/nodefamily
 
 # Install base system