Hello Everyone,
I may be missing something obvious, but I can't find where to add a new depot to a Sculpt VC instance (for run-time installation). Can this be configured at run-time?
Thanks!
If you want to add a new depot source, you currently have to manually create/copy the depot directory with the public key and download source. Currently, the depot sources to copy are hardcoded into repos/gems/src/app/sculpt_manager/runtime/prepare.cc, so in order to automatically copy them over when selecting which filesystem to use, you'd need to modify that file. I'm not entirely sure why they're hardcoded, but it's easy enough to copy the directory over yourself. For my depot, for example, you'd just need to type into a noux bash terminal "cp -r /shared/depot/blarson /rw/depot". Or you can copy all of them over using "cp -r /shared/depot /rw". Before this, you'll have to have the depot inside genode/depot for it to be included in the sculpt image.
Hi Ben,
On 02.10.2018 07:07, Nobody III wrote:
I'm not entirely sure why they're hardcoded, but it's easy enough to copy the directory over yourself.
just to clarify, the reason is given in the documentation [1], in the "Runtime Management" Section:
"By default, the depot is initialized such that the Sculpt system accepts software published by Genode's core developers."
My line of thinking is that extending the whitelist of accepted software providers should be a deliberate decision by the user.
In the current version, this can be accomplished by adding a corresponding subdirectory (with the 'download' and 'pubkey' files) to the depot. The templates at /share/depot conveniently contain all sources present in the Genode source repository [2], which can be copied into the depot. Later versions of Sculpt might offer a graphical user interface for this operation.
[1] https://genode.org/documentation/articles/sculpt-vc [2] https://github.com/genodelabs/genode/tree/master/depot
Cheers Norman
On 10/02/2018 04:28 AM, Norman Feske wrote:
Hi Ben,
On 02.10.2018 07:07, Nobody III wrote:
I'm not entirely sure why they're hardcoded, but it's easy enough to copy the directory over yourself.
just to clarify, the reason is given in the documentation [1], in the "Runtime Management" Section:
"By default, the depot is initialized such that the Sculpt system accepts software published by Genode's core developers."
My line of thinking is that extending the whitelist of accepted software providers should be a deliberate decision by the user.
In the current version, this can be accomplished by adding a corresponding subdirectory (with the 'download' and 'pubkey' files) to the depot. The templates at /share/depot conveniently contain all sources present in the Genode source repository [2], which can be copied into the depot. Later versions of Sculpt might offer a graphical user interface for this operation.
I was afraid it was something simple like that. Thanks!
Hi Norman,
I suspected the reason was something like that, but I think handling it at the launcher level is enough, and that choosing not to copy over all the depot sources is redundant.
On Tue, Oct 2, 2018, 11:36 AM John J. Karcher devuser@alternateapproach.com wrote:
On 10/02/2018 04:28 AM, Norman Feske wrote:
Hi Ben,
On 02.10.2018 07:07, Nobody III wrote:
I'm not entirely sure why they're hardcoded, but it's easy enough to copy the directory over yourself.
just to clarify, the reason is given in the documentation [1], in the "Runtime Management" Section:
"By default, the depot is initialized such that the Sculpt system accepts software published by Genode's core developers."
My line of thinking is that extending the whitelist of accepted software providers should be a deliberate decision by the user.
In the current version, this can be accomplished by adding a corresponding subdirectory (with the 'download' and 'pubkey' files) to the depot. The templates at /share/depot conveniently contain all sources present in the Genode source repository [2], which can be copied into the depot. Later versions of Sculpt might offer a graphical user interface for this operation.
I was afraid it was something simple like that. Thanks!
Genode users mailing list users@lists.genode.org https://lists.genode.org/listinfo/users