genode/repos/os/src
Norman Feske 4b46abf813 base: rm first-class support for static binaries
This patch removes the detection of statically linked executables from
the base framework. It thereby fixes the corner cases encountered with
Sculpt when obtaining the binaries of the runtime from the depot_rom
service that is hosted within the runtime.

Statically linked binaries and hybrid Linux/Genode (lx_hybrid) binaries
can still be started by relabeling the ROM-session route of "ld.lib.so"
to the binary name, pretending that the binary is the dynamic linker.
This can be achieved via init's label rewriting mechanism:

  <route>
    <service name="ROM" unscoped_label="ld.lib.so">
      <parent label="test-platform"/> </service>
  </route>

However, as this is quite cryptic and would need to be applied for all
lx_hybrid components, the patch adds a shortcut to init's configuration.
One can simply add the 'ld="no"' attribute to the <start> node of the
corresponding component:

  <start name="test-platform" ld="no"/>

Fixes #2866
2018-08-02 14:36:38 +02:00
..
app init: preserve final state of exited children 2018-07-03 09:39:30 +02:00
drivers platform_drv: use Expanding_reporter for pci report 2018-06-29 10:44:56 +02:00
init base: rm first-class support for static binaries 2018-08-02 14:36:38 +02:00
lib Add vfs file size detection to ROM modules 2018-08-02 14:36:37 +02:00
server Process packets in batches at the VFS server 2018-08-02 14:36:37 +02:00
test File_system packet processing test 2018-08-02 14:36:36 +02:00