Browse Source

Move upstream to code.dumpstack.io

tags/v1.0.0
dump_stack() 1 year ago
parent
commit
144a8547bc
No known key found for this signature in database
7 changed files with 18 additions and 16 deletions
  1. 4
    4
      README.md
  2. 3
    2
      debug.go
  3. 2
    1
      gen.go
  4. 1
    1
      kernel.go
  5. 1
    1
      main.go
  6. 2
    2
      pew.go
  7. 5
    5
      qemu/README.md

+ 4
- 4
README.md View File

@@ -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

+ 3
- 2
debug.go View File

@@ -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,

+ 2
- 1
gen.go View File

@@ -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) {

+ 1
- 1
kernel.go View File

@@ -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"
)


+ 1
- 1
main.go View File

@@ -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) {

+ 2
- 2
pew.go View File

@@ -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

+ 5
- 5
qemu/README.md View File

@@ -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

Loading…
Cancel
Save