mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-20 06:07:59 +00:00
fetchurl: update README
Fix the configuration example in the README. Fix #3213
This commit is contained in:
parent
8456ffa231
commit
1c746df82c
@ -3,13 +3,38 @@ A small frontend to the libcURL library.
|
|||||||
Configuration
|
Configuration
|
||||||
-------------
|
-------------
|
||||||
|
|
||||||
|
Load the socket plugin in to the fetchurl binary (print output to log):
|
||||||
!<config>
|
!<config>
|
||||||
! <libc stdout="/dev/log" stderr="/dev/log">
|
! <libc stdout="/dev/log" stderr="/dev/log"
|
||||||
! <vfs>
|
! rtc="/dev/rtc" socket="/socket"/>
|
||||||
! <dir name="dev"> <jitterentropy name="random"/> <log/> </dir>
|
! <vfs>
|
||||||
! </vfs>
|
! <dir name="dev">
|
||||||
! </libc>
|
! <log/> <null/>
|
||||||
! <fetch url="http://genode.org/about/LICENSE" path="LICENSE" retry="3"/>
|
! <inline name="rtc">2000-01-01 00:00</inline>
|
||||||
|
! <inline name="random">01234567890123456789</inline>
|
||||||
|
! </dir>
|
||||||
|
! <dir name="socket"> <lwip dhcp="yes"/> </dir>
|
||||||
|
! </vfs>
|
||||||
|
! <fetch url="http://genode.org/about/LICENSE"
|
||||||
|
! path="/dev/log" retry="3"/>
|
||||||
|
! <report progress="yes"/>
|
||||||
|
!</config>
|
||||||
|
|
||||||
|
Use the socket plugin of an other vfs (store file in a directory):
|
||||||
|
!<config>
|
||||||
|
! <libc stdout="/dev/log" stderr="/dev/log"
|
||||||
|
! rtc="/dev/rtc" socket="/socket"/>
|
||||||
|
! <vfs>
|
||||||
|
! <dir name="dev">
|
||||||
|
! <log/> <null/>
|
||||||
|
! <inline name="rtc">2000-01-01 00:00</inline>
|
||||||
|
! <inline name="random">01234567890123456789</inline>
|
||||||
|
! </dir>
|
||||||
|
! <fs name="tcpip"/>
|
||||||
|
! <dir name="download"> <fs label="download"/> </dir>
|
||||||
|
! </vfs>
|
||||||
|
! <fetch url="http://genode.org/about/LICENSE"
|
||||||
|
! path="/download/LICENSE" retry="3"/>
|
||||||
! <report progress="yes"/>
|
! <report progress="yes"/>
|
||||||
!</config>
|
!</config>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user