mirror of
https://github.com/genodelabs/genode.git
synced 2025-02-21 10:01:57 +00:00
This patch lays the selection of the used storage target into the hands of the config/manager file. By default, Sculpt selects the target by its built-in heuristics, probing for a Sculpt partition. However, by specifying a <target> node, one can explicitly select a storage target. E.g., for using the 2nd partition of the SATA disk connected to port 1 of the AHCI controller, one can now specify: <target driver="ahci" port="1" partition="2"/> For selecting the ram_fs as target: <target driver="ram_fs"/> The latter case is particularly useful for custom Sculpt scenarios deployed entirely from RAM. For such scenarios, add two lines to your .sculpt file: ram_fs: depot manager: use_ram_fs The first line configures the ram_fs such that the depot is mounted as a tar archive. The second line configures the sculpt manager to select the ram_fs as storage target. You can find this feature exemplified in default-linux.sculpt scenario. build/x86_64$ make run/sculpt_test KERNEL=linux BOARD=linux It is worth noting that the configuration can be changed at runtime. This allows for switching between different storage targets on the fly. Issue #5166
This directory is a source-code repository containing Genode-specific services and applications. In contrast to the components hosted in the 'os' repository, programs contained in 'gems' are able to leverage the functionalities provided by higher-level repositories such as 'libports'. To use the 'gems' repository, make sure to also add those repositories to your build configuraion.