mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-19 21:57:55 +00:00
74dcc7a3d5
The libc will now use the file given by the 'nameserver_file' attribute to get the DNS nameserver address instead of reading '/etc/resolv.conf'. It defaults to '/socket/nameserver' which is the common location when using the lxip VFS plugin. As a constraint the libc will read the first line and expects the nameserver address without any keywords in front of it. Fixes #2861.
153 lines
3.8 KiB
Plaintext
153 lines
3.8 KiB
Plaintext
source ${genode_dir}/repos/libports/run/qt5_common.inc
|
|
|
|
set feature(Nic) 1
|
|
|
|
import_from_depot genodelabs/src/arora \
|
|
genodelabs/src/icu \
|
|
genodelabs/src/libcrypto \
|
|
genodelabs/src/libssl \
|
|
genodelabs/src/qt5_network \
|
|
genodelabs/src/qt5_printsupport \
|
|
genodelabs/src/qt5_qnitpickerviewwidget \
|
|
genodelabs/src/qt5_opengl \
|
|
genodelabs/src/qt5_qpluginwidget \
|
|
genodelabs/src/qt5_scriptclassic \
|
|
genodelabs/src/qt5_sql \
|
|
genodelabs/src/qt5_ui_tools \
|
|
genodelabs/src/qt5_webkit \
|
|
genodelabs/src/qt5_widgets \
|
|
genodelabs/src/vfs_jitterentropy \
|
|
genodelabs/src/vfs_lxip
|
|
|
|
#
|
|
# Build
|
|
#
|
|
|
|
append build_components [qt5_build_components feature]
|
|
|
|
append build_components {
|
|
server/clipboard
|
|
server/loader
|
|
server/tar_rom
|
|
server/nit_fb
|
|
app/launchpad
|
|
test/nitpicker
|
|
}
|
|
|
|
build $build_components
|
|
|
|
#
|
|
# Generate tar archives with plugin configurations
|
|
#
|
|
exec tar cf bin/nitpicker_plugin.tar -C [genode_dir]/repos/ports/src/app/arora/demo/nitpicker_plugin config.plugin
|
|
|
|
#
|
|
# Generate config
|
|
#
|
|
|
|
append config {
|
|
<config>
|
|
<parent-provides>}
|
|
append config [qt5_parent_provides feature]
|
|
append config {
|
|
</parent-provides>
|
|
<default caps="100"/>
|
|
<default-route>
|
|
<any-service> <parent/> <any-child/> </any-service>
|
|
</default-route>}
|
|
|
|
append config [qt5_start_nodes feature]
|
|
|
|
append config {
|
|
|
|
<start name="clipboard">
|
|
<resource name="RAM" quantum="4M"/>
|
|
<provides>
|
|
<service name="ROM"/>
|
|
<service name="Report"/>
|
|
</provides>
|
|
<config>
|
|
<policy label="arora -> clipboard" domain="default" />
|
|
</config>
|
|
<route>
|
|
<service name="ROM" label="focus"> <child name="report_rom"/> </service>
|
|
<any-service> <parent/> </any-service>
|
|
</route>
|
|
</start>
|
|
|
|
<start name="loader">
|
|
<resource name="RAM" quantum="2M"/>
|
|
<provides><service name="Loader"/></provides>
|
|
<config>
|
|
<policy label_prefix="arora">
|
|
<parent-rom name="ld.lib.so"/>
|
|
<parent-rom name="init"/>
|
|
<parent-rom name="tar_rom"/>
|
|
<parent-rom name="nit_fb"/>
|
|
<parent-rom name="nitpicker"/>
|
|
<parent-rom name="pointer"/>
|
|
<parent-rom name="launchpad"/>
|
|
<parent-rom name="testnit"/>
|
|
</policy>
|
|
</config>
|
|
<route>
|
|
<service name="Nitpicker"> <child name="wm"/> </service>
|
|
<any-service> <parent/> <any-child/> </any-service>
|
|
</route>
|
|
</start>
|
|
|
|
<start name="arora" caps="2000">
|
|
<resource name="RAM" quantum="2G"/>
|
|
<config clipboard="yes">
|
|
<vfs>
|
|
<dir name="dev">
|
|
<dir name="socket"> <lxip dhcp="yes"/> </dir>
|
|
<log/>
|
|
<jitterentropy name="random"/>
|
|
<inline name="rtc">2018-01-01 00:01</inline>
|
|
</dir>
|
|
<tar name="qt5_dejavusans.tar"/>
|
|
</vfs>
|
|
<libc stdout="/dev/log" stderr="/dev/log" rtc="/dev/rtc" socket="/dev/socket"/>
|
|
</config>
|
|
<route>
|
|
<service name="Nitpicker"> <child name="wm"/> </service>
|
|
<service name="Report" label="shape">
|
|
<child name="pointer" label="wm -> arora -> shape"/>
|
|
</service>
|
|
<service name="Report"> <child name="clipboard"/> </service>
|
|
<service name="ROM" label="clipboard"> <child name="clipboard"/> </service>
|
|
<service name="ROM" label="egl_drv.lib.so"> <parent label="egl_swrast.lib.so" /> </service>
|
|
<any-service> <parent/> <any-child/> </any-service>
|
|
</route>
|
|
</start>
|
|
</config>}
|
|
|
|
install_config $config
|
|
|
|
#
|
|
# Boot modules
|
|
#
|
|
|
|
append boot_modules [qt5_boot_modules feature]
|
|
|
|
append boot_modules {
|
|
clipboard
|
|
loader
|
|
tar_rom
|
|
nit_fb
|
|
launchpad
|
|
testnit
|
|
nitpicker_plugin.tar
|
|
}
|
|
|
|
build_boot_image $boot_modules
|
|
|
|
|
|
append_if [have_spec x86] qemu_args " -net nic,model=e1000 "
|
|
append_if [have_spec lan9118] qemu_args " -net nic,model=lan9118 "
|
|
|
|
append qemu_args " -net user "
|
|
|
|
run_genode_until forever
|