This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
type OutputType string | |
const ( | |
Text OutputType = "text" | |
YAML = "yaml" | |
JSON = "json" | |
) | |
type Output interface { | |
Out(name string, data interface{}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
>------->-------go func() { | |
>------->------->-------defer wg.Done() | |
>------->------->-------err = dm.srv.Serve(dm, resourceName, pPrefix, cfg) | |
>------->------->-------if err != nil { | |
>------->------->------->-------glog.Fatal(err) | |
>------->------->-------} | |
>------->-------}() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ ./fpgainfo port | |
//****** PORT ******// | |
Class Path : /sys/class/fpga/intel-fpga-dev.0/intel-fpga-port.0 | |
Device Path : /sys/devices/pci0000:5e/0000:5e:00.0/fpga/intel-fpga-dev.0/intel-fpga-port.0 | |
Bus : 0x5E | |
Device : 0x00 | |
Function : 0x00 | |
Afu Id : d8424dc4-a4a3-c413-f89e-433683f9040b | |
Object Id : 0xf500000 FPGA_ACCELERATOR |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
wic-image-minimal-qemux86-64-20150819144517.rootfs.manifest | |
wic-image-minimal-qemux86-64-20150819144517.rootfs.wic | |
wic-image-minimal-qemux86-64.manifest | |
wic-image-minimal-qemux86-64.wic |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/meta/classes/image_types.bbclass b/meta/classes/image_types.bbclass | |
index cc789fc..b7a9e8c 100644 | |
--- a/meta/classes/image_types.bbclass | |
+++ b/meta/classes/image_types.bbclass | |
@@ -142,6 +142,14 @@ IMAGE_CMD_ubi = "multiubi_mkfs "${MKUBIFS_ARGS}" "${UBINIZE_ARGS}" "${UBI_VOLNAM | |
IMAGE_CMD_ubifs = "mkfs.ubifs -r ${IMAGE_ROOTFS} -o ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.ubifs ${MKUBIFS_ARGS}" | |
+ | |
+IMAGE_CMD_wic () { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- a/bitbake/lib/toaster/bldcontrol/management/commands/loadconf.py | |
+++ b/bitbake/lib/toaster/bldcontrol/management/commands/loadconf.py | |
@@ -41,12 +41,14 @@ class Command(BaseCommand): | |
for i in ['bitbake', 'releases', 'defaultrelease', 'config', 'layersources']: | |
assert i in data | |
- def _read_git_url_from_local_repository(address): | |
+ def _read_git_url_from_local_repository(address, path=None): | |
url = None | |
+ if not path: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@@ -46,6 +46,7 @@ class Command(BaseCommand): | |
# we detect the remote name at runtime | |
import subprocess | |
(remote, remote_name) = address.split(":", 1) | |
+ print 'debug:', filepath | |
cmd = subprocess.Popen("git remote -v", shell=True, cwd = os.path.dirname(filepath), stdout=subprocess.PIPE, stderr = subprocess.PIPE) | |
(out,err) = cmd.communicate() | |
if cmd.returncode != 0: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- a/bitbake/lib/toaster/bldcontrol/management/commands/loadconf.py | |
+++ b/bitbake/lib/toaster/bldcontrol/management/commands/loadconf.py | |
@@ -115,6 +115,7 @@ class Command(BaseCommand): | |
lo.vcs_url = layerinfo['vcs_url'] | |
if layerinfo['vcs_url'].startswith("remote:"): | |
+ print 'debug:', layerinfo["name"], os.getcwd() | |
lo.vcs_url = _read_git_url_from_local_repository(layerinfo['vcs_url']) | |
else: | |
lo.vcs_url = layerinfo['vcs_url'] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Failure while trying to import the toaster config file: Error while looking for remote "yocto,mel" in "github git@github.com:bartosh/poky.git (fetch) | |
github git@github.com:bartosh/poky.git (push) | |
github-michael git@github.com:michaelgwood/poky.git (fetch) | |
github-michael git@github.com:michaelgwood/poky.git (push) | |
origin git://git.yoctoproject.org/poky (fetch) | |
origin git://git.yoctoproject.org/poky (push) | |
poky-contrib git@git.yoctoproject.org:poky-contrib (fetch) | |
poky-contrib git@git.yoctoproject.org:poky-contrib (push) | |
" |