| Summary: | cerbero: can't use customized "remotes" for *-static.recipes | ||
|---|---|---|---|
| Product: | GStreamer SDK | Reporter: | cee1 <fykcee1> |
| Component: | General | Assignee: | bugs |
| Status: | ASSIGNED --- | QA Contact: | |
| Severity: | minor | ||
| Priority: | medium | CC: | ylatuya |
| Version: | 2012.11 | ||
| Hardware: | Other | ||
| OS: | All | ||
| Whiteboard: | |||
| i915 platform: | i915 features: | ||
You can always so something:
def prepare(self)
super(custom.GStreamerStatic, self).prepare()
remotes = {'origin' : 'git://192.168.1.5/gstreamer-sdk/gst-ffmpeg'}
(In reply to comment #1) > You can always so something: > > def prepare(self) > super(custom.GStreamerStatic, self).prepare() > remotes = {'origin' : 'git://192.168.1.5/gstreamer-sdk/gst-ffmpeg'} Yes, that works, just one trivial mistake -- should be "self.remotes = ..." Though, it's inconsistent with the document(http://docs.gstreamer.com/display/GstSDK/Multiplatform+deployment+using+Cerbero). IMHO, it would be preferred if custom.py respects the manually set "remotes". Sure,that needs to be fixed properly. I was only suggesting a workaround but I didn't not expressed it correctly :) |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.
gst-ffmpeg-static.recipe """ class Recipe(custom.GStreamerStatic): remotes = {'origin' : 'git://192.168.1.5/gstreamer-sdk/gst-ffmpeg'} """ Here, specifies a customized "remotes" for gst-ffmpeg, but this doesn't work, because it's overwritten in custom.py: """ class GStreamerStatic(recipe.Recipe): ... def prepare(self): ... self.remotes = {'upstream': 'git://anongit.freedesktop.org/gstreamer/%s' % self.project_name} """