genode/repos/gems/sculpt
Norman Feske 4a1a29b3d0 sculpt: make storage target configurable
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
2024-04-12 15:05:46 +02:00
..
clipboard Modularize Sculpt OS image creation 2022-01-19 12:38:11 +01:00
deploy sculpt: preset for goa_testbed 2024-02-26 08:31:03 +01:00
depot gems/sculpt: update mstein pubkey 2023-10-25 08:59:15 +02:00
drivers sculpt: host NVMe driver in runtime 2024-04-12 15:02:45 +02:00
event_filter sculpt: host PS/2 driver in runtime 2024-04-12 15:02:44 +02:00
fb_drv sculpt: increase max fb height to 1504 pixels 2023-04-26 11:58:15 +02:00
fonts Mobile version of Sculpt OS 2024-02-28 16:31:46 +01:00
global_keys Modularize Sculpt OS image creation 2022-01-19 12:38:11 +01:00
gpu_drv sculpt: add Intel Xe GPU (Tigerlake) 2022-11-17 08:00:36 +01:00
launcher usb: session renewal & new client API 2024-04-12 12:57:30 +02:00
leitzentrale sculpt: introduce config/manager 2024-04-12 15:05:14 +02:00
manager sculpt: make storage target configurable 2024-04-12 15:05:46 +02:00
nitpicker Mobile version of Sculpt OS 2024-02-28 16:31:46 +01:00
numlock_remap Modularize Sculpt OS image creation 2022-01-19 12:38:11 +01:00
ram_fs sculpt: allow new depot users in ram_fs/depot 2023-04-17 14:48:29 +02:00
runtime Modularize Sculpt OS image creation 2022-01-19 12:38:11 +01:00
system Modularize Sculpt OS image creation 2022-01-19 12:38:11 +01:00
usb sculpt: host PC USB driver in runtime 2024-04-12 15:02:44 +02:00
wifi Modularize Sculpt OS image creation 2022-01-19 12:38:11 +01:00
default-linux.sculpt sculpt: make storage target configurable 2024-04-12 15:05:46 +02:00
default-pc.sculpt gems: remove driver_manager 2024-04-12 15:02:45 +02:00
net_test-pc.sculpt gems: remove driver_manager 2024-04-12 15:02:45 +02:00
phone-linux.sculpt sculpt: introduce config/manager 2024-04-12 15:05:14 +02:00