Browse Source

Move upstream to code.dumpstack.io

master
dump_stack() 3 years ago
committed by Mikhail Klementev
parent
commit
144a8547bc
Signed by: dump_stack GPG Key ID: D90D0727C1FEBEAB
  1. 8
      README.md
  2. 5
      debug.go
  3. 3
      gen.go
  4. 2
      kernel.go
  5. 2
      main.go
  6. 4
      pew.go
  7. 10
      qemu/README.md

8
README.md

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

5
debug.go

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

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

2
kernel.go

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

2
main.go

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

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

10
qemu/README.md

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