Skip to content

Instantly share code, notes, and snippets.


Christopher Larson kergoth

  • Siemens Digital Industries Software
  • Twitter @kergoth
View GitHub Profile
kergoth / vim-dash.vim
Last active August 29, 2015 13:56
Vim integration for
View vim-dash.vim
if has('macunix')
" integration
let g:dash_map = {
\ 'python' : 'python2',
\ 'lua' : 'lua',
\ 'vim' : 'vim',
\ }
" Map K to look up the current word in dash for supported filetypes
augroup DashMap
kergoth /
Created February 20, 2014 19:12
Work-in-progress open-vm-tools recipe(s) for vmware images
SUMMARY = "Open Virtual Machine Tools - kernel modules"
DESCRIPTION = "Open-Source kernel modules from VMware"
file://modules/linux/vmblock/COPYING;md5=751419260aa954499f7abaabaa882bbe \
file://modules/linux/vmci/COPYING;md5=751419260aa954499f7abaabaa882bbe \
file://modules/linux/vmhgfs/COPYING;md5=751419260aa954499f7abaabaa882bbe \
file://modules/linux/vmsync/COPYING;md5=751419260aa954499f7abaabaa882bbe \
file://modules/linux/vmxnet/COPYING;md5=751419260aa954499f7abaabaa882bbe \
kergoth / bblayers
Last active August 29, 2015 13:57
Work-in-progress rework of Mentor's bb-determine-layers as a standalone bblayers configuration tool for yocto
View bblayers
#!/usr/bin/env python
import argparse
import collections
import contextlib
import glob
import os
import signal
import sys
View bitbake-d-not-defined.txt
ERROR: ExpansionError during parsing /scratch/2014.05/sb-2590/meta-sourcery/recipes/meta/ Failure expanding variable FILES_external-sourcery-toolchain-dbg: ExpansionError: F
ailure expanding variable FILES_external-sourcery-toolchain-dbg, expression was ${@' '.join(debug_file_path(p, d.getVar('PACKAGE_DEBUG_SPLIT_STYLE', True)) for p in d.getVar('FILES_external-sourcery-toolc
hain', True).split())} /usr/bin/.debug/op* /usr/lib/mettools/.debug which triggered exception NameError: global name 'd' is not defined
kergoth / gdbserver emitted packages.txt
Last active August 29, 2015 13:59
Working on splitting up meta-sourcery
View gdbserver emitted packages.txt
total 560K
-rw-r--r-- 2 clarson esd_ea 240K Apr 11 16:12 gdbserver_7.7.50.20140217-cvs-r0_i586.ipk
-rw-r--r-- 2 clarson esd_ea 306K Apr 11 16:12 gdbserver-dbg_7.7.50.20140217-cvs-r0_i586.ipk
-rw-r--r-- 2 clarson esd_ea 758 Apr 11 16:12 gdbserver-dev_7.7.50.20140217-cvs-r0_i586.ipk
-rw-r--r-- 2 clarson esd_ea 5.7K Apr 11 16:12 gdbserver-doc_7.7.50.20140217-cvs-r0_i586.ipk
kergoth / disabled_qa.conf
Last active August 29, 2015 14:00
Show packaging QA tests which aren't enabled (not in either ERROR_QA or WARN_QA)
View disabled_qa.conf
DISABLED_QA = "${@' '.join(set(d.getVarFlags('QAPATHTEST').keys()) - set(d.getVar('ALL_QA', True).split()))}"
View compare-codeparser
#!/usr/bin/env python
import dictdiffer
import pickle
import sys
import pprintpp as pprint
except ImportError:
import pprint
if not set -q SCHROOT_SESSION_ID
function bitbake
chroot_cmd bitbake $argv
function bb
chroot_cmd sh -c 'eval "$(~/bb/bin/bb init -)"; bb "$@"' sh $argv
if not set -q bitbake_default_chroot
set -g bitbake_default_chroot centos-6-64
View 20140501202610.log
NOTE: Started PRServer with DBfile: /scratch/2014.05/meibp-hotfixes/build/cache/prserv.sqlite3, IP:, PORT: 39760, PID: 27142
WARNING: Host distribution "CentOS-6.5" has not been validated with this version of the build system; you may possibly experience unexpected failures. It is recommended that you use a tested distribution.
WARNING: test_recipe_prefinalise: pulseaudio-5.0-r1
WARNING: test_recipe_prefinalise: gstreamer1.0-plugins-base-git-r0
WARNING: test_recipe_prefinalise: gstreamer1.0-git-r0
WARNING: test_recipe_prefinalise: lame-3.99.5-r1
WARNING: test_recipe_prefinalise: libtheora-1.1.1-r1
WARNING: test_recipe_prefinalise: alsa-utils-
WARNING: test_recipe_prefinalise: qt4-embedded-4.8.5-r0
WARNING: test_recipe_prefinalise: qt-demo-init-0.1-r3
set -e
rm -rf build.test
echo >&2 "Configuring build environment"
. ./meta-mentor/setup-environment -l qt5-mel -b build.test mx6q
cat >conf/site.conf <<END