]> xenbits.xensource.com Git - people/aperard/osstest.git/commitdiff
mg-debian-installer-update: Use getconfig_TftpDiVersion_suite
authorIan Jackson <ian.jackson@eu.citrix.com>
Fri, 18 Mar 2016 15:18:18 +0000 (15:18 +0000)
committerIan Jackson <Ian.Jackson@eu.citrix.com>
Fri, 18 Mar 2016 15:18:18 +0000 (15:18 +0000)
The computed value of the `tftpdiversion' shell variable is used only
to see if it is equal to `current'; if so, we update it.

Whether this is done should depend on the effective TftpDiVersion for
the specific suite, not on the default global.  So use
getconfig_TftpDiVersion_suite.

Signed-off-by: Ian Jackson <Ian.Jackson@eu.citrix.com>
mg-debian-installer-update

index 7e3fb201e4451245b570dc744e4b97d84663a628..c969f1e4ae53a4856b8197cfd1f49842ae8cb23b 100755 (executable)
@@ -59,7 +59,7 @@ case ${suite}_${arch} in
         ;;
 esac
 
-tftpdiversion=`getconfig TftpDiVersion`
+tftpdiversion=`getconfig_TftpDiVersion_suite $suite`
 dstroot=`getconfig TftpPath`/`getconfig TftpDiBase`/
 date=`date +%Y-%m-%d`
 dst=$arch/$date-$suite