assert_spec nova if {[have_include "power_on/qemu"]} { puts "\nRun script does not support Qemu.\n" exit } append build_components { core init virtualbox server/part_blk server/rump_fs drivers/ahci drivers/framebuffer drivers/timer } lappend_if [expr $use_ps2] build_components drivers/input lappend_if [expr $use_usb] build_components drivers/usb lappend_if [have_spec acpi] build_components drivers/acpi lappend_if [have_spec pci] build_components drivers/pci lappend_if [have_spec x86] build_components drivers/rtc lappend_if [expr $use_ram_fs] build_components server/ram_fs build $build_components create_boot_directory set config { } append_if [expr $use_ram_fs] config { } append_if [expr $use_ram_fs] config "" append_if [expr $use_ram_fs] config { } append_if [have_spec acpi] config { } append_if [expr ![have_spec acpi] && [have_spec pci]] config { } append_if [expr $use_ps2] config { } append_if [expr $use_usb] config { } append_if [have_spec framebuffer] config { } append_if [have_spec x86] config { } append config $config_of_app append config { } install_config $config append boot_modules { core init timer part_blk ahci ld.lib.so libc.lib.so libm.lib.so pthread.lib.so libc_lock_pipe.lib.so libc_terminal.lib.so libiconv.lib.so stdcxx.lib.so rump.lib.so rump_fs.lib.so rump_fs virtualbox } lappend_if [expr $use_ram_fs] boot_modules ram_fs lappend_if [expr $use_ram_fs] boot_modules ${overlay_image} # platform-specific modules lappend_if [expr $use_ps2] boot_modules ps2_drv lappend_if [expr $use_usb] boot_modules usb_drv lappend_if [have_spec acpi] boot_modules acpi_drv lappend_if [have_spec pci] boot_modules pci_drv lappend_if [have_spec framebuffer] boot_modules fb_drv lappend_if [have_spec nova] boot_modules pci_device_pd lappend_if [have_spec x86] boot_modules rtc_drv