Skip to content

Instantly share code, notes, and snippets.

View Incognito's full-sized avatar

Brian Graham Incognito

View GitHub Profile
#!/bin/bash
# Author: Brian Graham (github.com/Incognito)
# License: 2-clause BSD license
echo "Downloading toolchain..."
git clone \
--recurse-submodules \
--depth 1 \
--progress \
>>
>> NOTICE: Not a buildrump.sh-based git repo in /home/brian/unik/rumprun-dist/src-netbsd
>> Cannot verify repository version. Proceeding ...
>>
Tool CC : /usr/bin/cc
Tool AR : /usr/bin/ar
Tool NM : /usr/bin/nm
Tool OBJCOPY : /usr/bin/objcopy
Tool AS : /usr/bin/as
Tool CXX : /usr/bin/c++
>>
>> NOTICE: Not a buildrump.sh-based git repo in /home/brian/unik/rumprun/src-netbsd
>> Cannot verify repository version. Proceeding ...
>>
Tool CC : /usr/bin/cc
Tool AR : /usr/bin/ar
Tool NM : /usr/bin/nm
Tool OBJCOPY : /usr/bin/objcopy
Tool AS : /usr/bin/as
Tool CXX : /usr/bin/c++
./build-rr.sh: line 57: type: gmake: not found
>>
>> NOTICE: Not a buildrump.sh-based git repo in /home/brian/unik/rumprun/src-netbsd
>> Cannot verify repository version. Proceeding ...
>>
Tool CC : /usr/bin/cc
/home/brian/unik/rumprun/platform/hw/rumpobj/wrapper.c: In function ‘main’:
/home/brian/unik/rumprun/platform/hw/rumpobj/wrapper.c:32:2: warning: implicit declaration of function ‘execvp’ [-Wimplicit-function-declaration]
execvp(argv[0], argv);
^
#! /usr/bin/env sh
#
# Copyright (c) 2014, 2015 Antti Kantee <pooka@iki.fi>
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
# are met:
# 1. Redistributions of source code must retain the above copyright
# notice, this list of conditions and the following disclaimer.
# 2. Redistributions in binary form must reproduce the above copyright
#!/bin/sh
set -x
rumprun qemu -i -M 128 \
-D 1234 \
-I if,vioif,'-net tap,script=no,ifname=tun0'\
-W if,inet,static,192.168.1.22/24 \
-b images/data.iso,/data \
-b images/stubetc.iso,/etc \
-- ./test.bin -c /data/conf/nginx.conf
Type "apropos word" to search for commands related to "word"...
Reading symbols from ../../rump-nginx/test.bin...done.
0x0000000000102294 in bmk_platform_halt (panicstring=panicstring@entry=0x4648c3 "rumpuser panic") at kernel.c:97
97 bmk_printf("halted (well, spinning ...)\n");
bmk_dmesg:3: Error in sourced command file:
No symbol "bmk_dmesg" in current context.
!!!
!!! NOTE: rumprun is experimental. syntax may change in the future
!!!
/home/brian/unik/rumprun/app-tools/rumprun: line 164: user0: command not found
rumprun: error: bin/nginx: not a rumprun unikernel (did you forget rumpbake?)
>>
>> NOTICE: Not a buildrump.sh-based git repo in /home/brian/unik/rumprun/src-netbsd
>> Cannot verify repository version. Proceeding ...
>>
Tool CC : /usr/bin/cc
Tool AR : /usr/bin/ar
Tool NM : /usr/bin/nm
Tool OBJCOPY : /usr/bin/objcopy
Tool AS : /usr/bin/as
Tool CXX : /usr/bin/false
>>
>> NOTICE: Not a buildrump.sh-based git repo in /home/brian/unik/rumprun/src-netbsd
>> Cannot verify repository version. Proceeding ...
>>
Tool CC : /usr/bin/cc
Tool AR : /usr/bin/ar
Tool NM : /usr/bin/nm
Tool OBJCOPY : /usr/bin/objcopy
Tool AS : /usr/bin/as
Tool CXX : /usr/bin/false