From 5db77cd2ee7f704b733091b223844d5b6b55dc9c Mon Sep 17 00:00:00 2001 From: Thierry Parmentelat Date: Mon, 22 Apr 2013 15:06:53 +0200 Subject: [PATCH] attempt to fix build/version.txt in bootcd image --- prep.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/prep.sh b/prep.sh index 3b75b56..ba985b9 100755 --- 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 -- 2.43.0