diff options
| -rw-r--r-- | bitbake/lib/bb/fetch/cvs.py | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/bitbake/lib/bb/fetch/cvs.py b/bitbake/lib/bb/fetch/cvs.py index bd3317166c..755c5983f4 100644 --- a/bitbake/lib/bb/fetch/cvs.py +++ b/bitbake/lib/bb/fetch/cvs.py | |||
| @@ -58,7 +58,11 @@ class Cvs(Fetch): | |||
| 58 | elif ud.tag: | 58 | elif ud.tag: |
| 59 | ud.date = "" | 59 | ud.date = "" |
| 60 | 60 | ||
| 61 | ud.localfile = data.expand('%s_%s_%s_%s.tar.gz' % (ud.module.replace('/', '.'), ud.host, ud.tag, ud.date), d) | 61 | norecurse = '' |
| 62 | if 'norecurse' in ud.parm: | ||
| 63 | norecurse = '_norecurse' | ||
| 64 | |||
| 65 | ud.localfile = data.expand('%s_%s_%s_%s%s.tar.gz' % (ud.module.replace('/', '.'), ud.host, ud.tag, ud.date, norecurse), d) | ||
| 62 | 66 | ||
| 63 | return os.path.join(data.getVar("DL_DIR", d, True), ud.localfile) | 67 | return os.path.join(data.getVar("DL_DIR", d, True), ud.localfile) |
| 64 | 68 | ||
| @@ -100,6 +104,8 @@ class Cvs(Fetch): | |||
| 100 | cvsroot += "@" + ud.host + ":" + cvs_port + ud.path | 104 | cvsroot += "@" + ud.host + ":" + cvs_port + ud.path |
| 101 | 105 | ||
| 102 | options = [] | 106 | options = [] |
| 107 | if 'norecurse' in ud.parm: | ||
| 108 | options.append("-l") | ||
| 103 | if ud.date: | 109 | if ud.date: |
| 104 | options.append("-D %s" % ud.date) | 110 | options.append("-D %s" % ud.date) |
| 105 | if ud.tag: | 111 | if ud.tag: |
