From 87c7b0f777fb2df513dab620255d46fe9c62e0f6 Mon Sep 17 00:00:00 2001 From: Martin Stein Date: Fri, 19 May 2017 12:22:12 +0200 Subject: [PATCH] noux_net_lighttpd.run: heavily outdated, remove E.g., the script manually tried to configure lighttpd and used the old porting directory structure that was integrated in the repos. For the same reason it produced compile errors with noux packages. Ref #2398 --- repos/ports/run/noux_net_lighttpd.run | 226 -------------------------- 1 file changed, 226 deletions(-) delete mode 100644 repos/ports/run/noux_net_lighttpd.run diff --git a/repos/ports/run/noux_net_lighttpd.run b/repos/ports/run/noux_net_lighttpd.run deleted file mode 100644 index 249227d50..000000000 --- a/repos/ports/run/noux_net_lighttpd.run +++ /dev/null @@ -1,226 +0,0 @@ -if {![have_spec x86]} { - puts "\nThis runscript is supported on the x86 architecture only\n" - exit 0 -} - -set build_components { - core init drivers/timer - noux/net lib/libc_noux - drivers/framebuffer drivers/input - drivers/nic - drivers/timer - server/terminal server/ram_fs - test/libports/ncurses - test/libports/readline - test/libports/zlib - noux-pkg/lighttpd -} - -# -# Build Noux packages only once -# -set noux_pkgs "bash coreutils vim" - -foreach pkg $noux_pkgs { - lappend_if [expr ![file exists bin/$pkg]] build_components noux-pkg/$pkg } - -source ${genode_dir}/repos/base/run/platform_drv.inc -append_platform_drv_build_components - -build $build_components - -set vimrc_fd [open "bin/vimrc" w] -puts $vimrc_fd { -set noloadplugins -set hls -set nocompatible -set laststatus=2 -set noswapfile -set viminfo=} -close $vimrc_fd - -# generate configuration for lighttpd -proc lighttpd_config_path { } { - return "[genode_dir]/repos/ports/contrib/lighttpd-1.4.31/doc/config" } - -exec mkdir -p bin/aux/etc/lighttpd -exec sh -c "cp [lighttpd_config_path]/*.conf bin/aux/etc/lighttpd" -exec sh -c "cp -r [lighttpd_config_path]/conf.d bin/aux/etc/lighttpd" -exec tar cvf bin/aux.tar -h -C bin/aux . - -exec tar cf bin/lighttpd.tar -h -C noux-pkg/lighttpd lighttpd_noux - -set noux_pkgs "$noux_pkgs aux" - -create_boot_directory - -append config { - - - - - - - - - - - - - - - - - - - } - -append_if [have_spec sdl] config { - - - - - - - } - -append_platform_drv_config - -append_if [have_spec framebuffer] config { - - - - } - -append_if [have_spec ps2] config { - - - - } - -append config { - - - - - - - - - - - - - - - - - - - - - - Hello - - -

Hello Genode!

- I am bold ;-) - - -
-
- - - lighttpd_noux -f /etc/lighttpd/lighttpd.conf -D; - - - - - - - - - - - - - - - - - - -} - -foreach pkg $noux_pkgs { - append config " " } - -append config { - - - - - - - - - - - - - - - - - - - - - - - - - - - -} - -install_config $config - - -# -# Boot modules -# - -# generic modules -set boot_modules { - core init timer ld.lib.so noux_net nic_drv terminal ram_fs - libc.lib.so libm.lib.so libc_noux.lib.so posix.lib.so - lwip.lib.so ncurses.lib.so - readline.lib.so zlib.lib.so libcrypto.lib.so libssl.lib.so - lighttpd.tar vimrc -} - -foreach pkg $noux_pkgs { - lappend boot_modules "$pkg.tar" } - -# platform-specific modules -lappend_if [have_spec linux] boot_modules fb_sdl -lappend_if [have_spec framebuffer] boot_modules fb_drv -lappend_if [have_spec ps2] boot_modules ps2_drv - -append_platform_drv_boot_modules - -build_boot_image $boot_modules - -# bash.tar is really huge when built for x86_64 -if {[have_spec x86_64]} { append qemu_args " -m 320 " } - -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 -redir tcp:5555::80 " - -run_genode_until forever - -exec rm -rf bin/aux