The recent changes related to multi-versioning broke the
PackageSelector code that deals with replacing certain packages with
other alternatives (eg: replacing linux with linux-aws for AMIs). This
feature will be reimplemented in a different way shortly; so in
preparation, get rid of the 'remove' option.
Change-Id: Ibb51fcf52f775655d946c9b798b809772dbd380c
Reviewed-on: http://photon-jenkins.eng.vmware.com:8082/5961
Reviewed-by: Anish Swaminathan <anishs@vmware.com>
Tested-by: Anish Swaminathan <anishs@vmware.com>
| ... | ... |
@@ -42,11 +42,6 @@ class PackageSelector(object): |
| 42 | 42 |
install_option[1]["file"])) |
| 43 | 43 |
package_list_json = json_wrapper_package_list.read() |
| 44 | 44 |
package_list = package_list + package_list_json["packages"] |
| 45 |
- |
|
| 46 |
- if "remove" in install_option[1]: |
|
| 47 |
- for package in install_option[1]["remove"]: |
|
| 48 |
- package_list.remove(package) |
|
| 49 |
- |
|
| 50 | 45 |
break |
| 51 | 46 |
return package_list |
| 52 | 47 |
|