mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-22 23:12:24 +00:00
4a1a29b3d0
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
12 lines
276 B
Plaintext
12 lines
276 B
Plaintext
# configuration decisions
|
|
drivers: linux
|
|
deploy: example
|
|
ram_fs: depot
|
|
manager: use_ram_fs
|
|
|
|
# selection of launcher-menu entries
|
|
launcher: sticks_blue_backdrop nano3d system_shell
|
|
|
|
# supplemental depot content added to the system image
|
|
import: pkg/drivers_interactive-linux
|