<div dir="ltr"><div><div><div><div>Hi Jerry,<br><br></div>I would guess that it does require X. The rational for using BundleRegistry is that it emits all the right signals to the gui of sugar, which requires X.<br><br></div>I havn't tested it against OOB, but maybe I could add a "--no-registry" option in sugar-install-bundle? Would that fix the issue?<br><br></div>Thanks,<br></div>Sam<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Dec 20, 2014 at 10:18 AM, Jerry Vonau <span dir="ltr"><<a href="mailto:me@jvonau.ca" target="_blank">me@jvonau.ca</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
Does the use of BundleRegistry()[1] require X to be started? I'm thinking<br>
yes as 'protected_activities' in the __init__ part is really a<br>
dconf-service setting that is returned as a string. I'm asking as a recent<br>
commit was added[2] that just might break olpc-os-builder(OOB). OOB relies<br>
upon<br>
sugar-install-bundle[3] running in a chroot'ed cli environment where dconf<br>
may not be running. Has this change been tested with OOB?<br>
<br>
<br>
Jerry<br>
<br>
1.<br>
<a href="https://github.com/sugarlabs/sugar/blob/master/src/jarabe/model/bundleregistry.py" target="_blank">https://github.com/sugarlabs/sugar/blob/master/src/jarabe/model/bundleregistry.py</a><br>
2.<br>
<a href="https://github.com/sugarlabs/sugar/commit/d0d045379f097e35c686e9f5dc7f1a0a231041bd" target="_blank">https://github.com/sugarlabs/sugar/commit/d0d045379f097e35c686e9f5dc7f1a0a231041bd</a><br>
3.<br>
<a href="http://dev.laptop.org/git/projects/olpc-os-builder/tree/modules/sugar/kspost.75.install_bundles.inc" target="_blank">http://dev.laptop.org/git/projects/olpc-os-builder/tree/modules/sugar/kspost.75.install_bundles.inc</a><br>
_______________________________________________<br>
Sugar-devel mailing list<br>
<a href="mailto:Sugar-devel@lists.sugarlabs.org">Sugar-devel@lists.sugarlabs.org</a><br>
<a href="http://lists.sugarlabs.org/listinfo/sugar-devel" target="_blank">http://lists.sugarlabs.org/listinfo/sugar-devel</a><br>
</blockquote></div><br></div>