build: Correctly inherit base packages

This commit is contained in:
Colin Walters 2014-01-16 06:48:09 -05:00
parent 94bf3c731d
commit df1db5f85b

View File

@ -52,7 +52,9 @@ const TaskBuild = new Lang.Class({
let ref = [this._productData['osname'], release, architecture, productName].join('/');
let packages = treeData['packages'];
packages.push.apply(packages, treeData['base_required_packages']);
let baseRequired = this._productData['base_required_packages'];
print("packages=" + JSON.stringify(packages) + " baseRequired=" + JSON.stringify(baseRequired));
packages.push.apply(packages, baseRequired);
let argv = ['rpm-ostree',
'--repo=' + this.workdir.get_child('repo').get_path()];