Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 1 | Make CHANNELSDIR in smart empty, since this causes host contamination issues |
| 2 | on some RPM-based hosts on which smart is already installed. |
| 3 | |
| 4 | [YOCTO #3881] |
| 5 | |
| 6 | Upstream-Status: Inappropriate [embedded specific] |
| 7 | |
| 8 | diff --git a/smart/plugins/channelsync.py b/smart/plugins/channelsync.py |
| 9 | index 3ba95ff..646d696 100644 |
| 10 | --- a/smart/plugins/channelsync.py |
| 11 | +++ b/smart/plugins/channelsync.py |
| 12 | @@ -23,7 +23,11 @@ from smart.channel import * |
| 13 | from smart import * |
| 14 | import os |
| 15 | |
| 16 | -CHANNELSDIR = "/etc/smart/channels/" |
| 17 | +# For now, we leave the definition of CHANNELSDIR empty. This prevents smart |
| 18 | +# from erroneously consider the build host's channels while setting up its |
| 19 | +# channels [YOCTO #3881]. If this feature will be used in the future, CHANNELSDIR |
| 20 | +# should be set to a proper value. |
| 21 | +CHANNELSDIR = "" |
| 22 | |
| 23 | def syncChannels(channelsdir, force=None): |
| 24 | |