[Desc.]
[Issue] redmine #10142
Change-Id: Ia287a90f1bac1c486ac819c15a802a3df8c75883
private PackageSet rootMeta(PackageSet pset) {
PackageSet metas = new PackageSet();
for(Package p : pset) {
- if(p.isRootMeta() || p.isPartnerMeta() || p.isExtraMeta() || p.isPublicMeta()) {
- metas.add(p);
+ if (!Options.doTest) {
+ if(p.isRootMeta() || p.isExtraMeta() || p.isPublicMeta()) {
+ metas.add(p);
+ }
+ } else {
+ if(p.isRootMeta() || p.isExtraMeta() || p.isPublicMeta() || p.isTestMeta()) {
+ metas.add(p);
+ }
}
}
return metas;
PackageSet selectedMetas = packageManager.getPackagesByNames(installList);
//add mandatory packages, madatory packages always reinstall.
- selectedMetas.addAll(
- packageManager.getMandatoryPackages());
-
- //get set of packages by purpose.
- selectedMetas = getMetaPackagesByPurpose(selectedMetas);
+ selectedMetas.addAll(packageManager.getMandatoryPackages());
return packageManager.getInstallablePackages(selectedMetas);
}