Move upstream to code.dumpstack.io

timestamps
dump_stack() 2019-02-02 21:24:29 +00:00 odevzdal Mikhail Klementev
rodič fb9b03029b
revize 144a8547bc
Podepsáno: dump_stack
ID GPG klíče: D90D0727C1FEBEAB
7 změnil soubory, kde provedl 18 přidání a 16 odebrání

Zobrazit soubor

@ -1,5 +1,5 @@
[![Build Status](https://travis-ci.org/jollheef/out-of-tree.svg?branch=master)](https://travis-ci.org/jollheef/out-of-tree)
[![Go Report Card](https://goreportcard.com/badge/github.com/jollheef/out-of-tree)](https://goreportcard.com/report/github.com/jollheef/out-of-tree)
[![Go Report Card](https://goreportcard.com/badge/code.dumpstack.io/tools/out-of-tree)](https://goreportcard.com/report/code.dumpstack.io/tools/out-of-tree)
# [out-of-tree](https://out-of-tree.io)
@ -34,12 +34,12 @@ Also check out [docker post-installation steps](https://docs.docker.com/install/
## Build from source
$ go get -u github.com/jollheef/out-of-tree
$ go get -u code.dumpstack.io/tools/out-of-tree
$ out-of-tree bootstrap
Then you can check it on kernel module example:
$ cd $GOPATH/src/github.com/jollheef/out-of-tree/examples/kernel-module
$ cd $GOPATH/src/code.dumpstack.io/tools/out-of-tree/examples/kernel-module
$ out-of-tree kernel autogen # generate kernels based on .out-of-tree.toml
$ out-of-tree pew
@ -83,6 +83,6 @@ Read [Qemu API](qemu/README.md).
### Generate images
$ cd $GOPATH/src/github.com/jollheef/out-of-tree/tools/qemu-debian-img/
$ cd $GOPATH/src/code.dumpstack.io/tools/out-of-tree/tools/qemu-debian-img/
$ docker run --privileged -v $(pwd):/shared -e IMAGE=/shared/ubuntu1404.img -e RELEASE=trusty -t gen-ubuntu1804-image
$ docker run --privileged -v $(pwd):/shared -e IMAGE=/shared/ubuntu1604.img -e RELEASE=xenial -t gen-ubuntu1804-image

Zobrazit soubor

@ -13,9 +13,10 @@ import (
"strings"
"time"
"github.com/jollheef/out-of-tree/config"
qemu "github.com/jollheef/out-of-tree/qemu"
"github.com/logrusorgru/aurora"
"code.dumpstack.io/tools/out-of-tree/config"
"code.dumpstack.io/tools/out-of-tree/qemu"
)
func firstSupported(kcfg config.KernelConfig, ka config.Artifact,

3
gen.go
Zobrazit soubor

@ -7,8 +7,9 @@ package main
import (
"fmt"
"github.com/jollheef/out-of-tree/config"
"github.com/naoina/toml"
"code.dumpstack.io/tools/out-of-tree/config"
)
func genConfig(at config.ArtifactType) (err error) {

Zobrazit soubor

@ -16,7 +16,7 @@ import (
"strings"
"time"
"github.com/jollheef/out-of-tree/config"
"code.dumpstack.io/tools/out-of-tree/config"
"github.com/naoina/toml"
)

Zobrazit soubor

@ -14,7 +14,7 @@ import (
kingpin "gopkg.in/alecthomas/kingpin.v2"
"github.com/jollheef/out-of-tree/config"
"code.dumpstack.io/tools/out-of-tree/config"
)
func findFallback(kcfg config.KernelConfig, ki config.KernelInfo) (rootfs string) {

4
pew.go
Zobrazit soubor

@ -20,8 +20,8 @@ import (
"github.com/otiai10/copy"
"github.com/remeh/sizedwaitgroup"
"github.com/jollheef/out-of-tree/config"
qemu "github.com/jollheef/out-of-tree/qemu"
"code.dumpstack.io/tools/out-of-tree/config"
"code.dumpstack.io/tools/out-of-tree/qemu"
)
var somethingFailed = false

Zobrazit soubor

@ -9,7 +9,7 @@ Features:
## Installation
$ go get github.com/jollheef/out-of-tree/qemu
$ go get code.dumpstack.io/tools/out-of-tree/qemu
### Generate root image
@ -30,12 +30,12 @@ Note: qemu on macOS since v2.12 (24 April 2018) supports Hypervisor.framework.
#### Generate image
$ cd $GOPATH/src/github.com/jollheef/out-of-tree/tools/qemu-debian-img
$ cd $GOPATH/src/code.dumpstack.io/tools/out-of-tree/tools/qemu-debian-img
$ ./bootstrap.sh
### Fill configuration file
$ $EDITOR $GOPATH/src/github.com/jollheef/out-of-tree/qemu/test.config.go
$ $EDITOR $GOPATH/src/code.dumpstack.io/tools/out-of-tree/qemu/test.config.go
### Run tests
@ -43,7 +43,7 @@ Note: qemu on macOS since v2.12 (24 April 2018) supports Hypervisor.framework.
## Usage
$ go get github.com/jollheef/out-of-tree/qemu
$ go get code.dumpstack.io/tools/out-of-tree/qemu
Minimal example:
@ -71,4 +71,4 @@ Minimal example:
More information and list of all functions see at go documentation project, or just run locally:
$ godoc github.com/jollheef/out-of-tree/qemu
$ godoc code.dumpstack.io/tools/out-of-tree/qemu