File tree 1 file changed +6
-3
lines changed
1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -537,14 +537,16 @@ def doMain():
537
537
if not exists (specDir ):
538
538
makedirs (specDir )
539
539
540
+ os .environ ["ALIBUILD_ALIDIST_HASH" ] = getDirectoryHash (args .configDir )
541
+
540
542
debug ("Building for architecture %s" % args .architecture )
541
543
debug ("Number of parallel builds: %d" % args .jobs )
542
544
debug (format ("Using %(star)sBuild from "
543
545
"%(star)sbuild@%(toolHash)s recipes "
544
546
"in %(star)sdist@%(distHash)s" ,
545
547
star = star (),
546
548
toolHash = getDirectoryHash (dirname (__file__ )),
547
- distHash = getDirectoryHash ( args . configDir ) ))
549
+ distHash = os . environ [ "ALIBUILD_ALIDIST_HASH" ] ))
548
550
549
551
systemPackages = set ()
550
552
ownPackages = set ()
@@ -1209,10 +1211,11 @@ def doMain():
1209
1211
progress .end ("failed" if err else "ok" , err )
1210
1212
report_event ("BuildError" if err else "BuildSuccess" ,
1211
1213
spec ["package" ],
1212
- format ("%(a)s %(v)s %(c)s" ,
1214
+ format ("%(a)s %(v)s %(c)s %(h)s " ,
1213
1215
a = args .architecture ,
1214
1216
v = spec ["version" ],
1215
- c = spec ["commit_hash" ]))
1217
+ c = spec ["commit_hash" ],
1218
+ h = os .environ ["ALIBUILD_ALIDIST_HASH" ][0 :10 ]))
1216
1219
1217
1220
updatablePkgs = [ x for x in spec ["requires" ] if x in develPkgs ]
1218
1221
if spec ["package" ] in develPkgs :
You can’t perform that action at this time.
0 commit comments