Skip to content

Instantly share code, notes, and snippets.

View mabnhdev's full-sized avatar

Mike Berger mabnhdev

  • 17:17 (UTC -04:00)
View GitHub Profile
In layers/meta-exos/conf/exos.conf:
PREFERRED_VERSION_libdevmapper = "2.02.171"
PREFERRED_VERSION_lvm2 = "2.02.171"
==========================================================================================
mberger@snickers:/data/mberger/exos-yocto-311$ ls -la layers/meta-exos/recipes-support/lvm2
total 28
drwxr-xr-x 4 mberger xcore 4096 Mar 25 12:28 .
##### Start : build_exos-x32_board #####
cd /data/mberger/exos-yocto-307-update/build/exos-x32 && \
set +u ; source setup-environment ; set -u ; \
bitbake core-image-minimal
### This is a sanitized shell designed for running bitbake commands. ###
### Yocto cache base at /data/mberger/yocto-cache ###
### Shell environment set up for builds. ###
You can now run 'bitbake <target>'
Common targets are:
core-image-minimal
core-image-sato
meta-toolchain
meta-ide-support
You can also run generated qemu images with a command like 'runqemu qemux86'
Sumo
====
du -hx --max-depth=3 .
1.6G ./tmp/deploy/rpm
946M ./tmp/deploy/sdk
2.0G ./tmp/deploy/sources
3.9G ./tmp/deploy/images
21M ./tmp/deploy/licenses
8.3G ./tmp/deploy
DEBUG: Executing python function extend_recipe_sysroot
NOTE: Direct dependencies are ['/data/mberger/exos-yocto-zeus/layers/poky/meta/recipes-devtools/elfutils/elfutils_0.177.bb:do_populate_sysroot', 'virtual:native:/data/mberger/exos-yocto-zeus/layers/poky/meta/recipes-devtools/bison/bison_3.4.1.bb:do_populate_sysroot', '/data/mberger/exos-yocto-zeus/layers/poky/meta/recipes-devtools/quilt/quilt-native_0.66.bb:do_populate_sysroot', 'virtual:native:/data/mberger/exos-yocto-zeus/layers/poky/meta/recipes-extended/bc/bc_1.07.1.bb:do_populate_sysroot', 'virtual:native:/data/mberger/exos-yocto-zeus/layers/poky/meta/recipes-devtools/python/python3_3.7.4.bb:do_populate_sysroot', '/data/mberger/exos-yocto-zeus/layers/poky/meta/recipes-devtools/gcc/gcc-cross_9.2.bb:do_populate_sysroot', '/data/mberger/exos-yocto-zeus/layers/poky/meta/recipes-extended/newt/libnewt_0.52.21.bb:do_populate_sysroot', 'virtual:native:/data/mberger/exos-yocto-zeus/layers/poky/meta/recipes-devtools/elfutils/elfutils_0.177.bb:do_populate_sysro
DEBUG: Executing shell function do_compile
NOTE: make -j 32 -C /data/mberger/exos-yocto-zeus/build/exos-x86-64/tmp/work/exos_x86_64-poky-linux/perf/1.0-r9/perf-1.0/tools/perf O=/data/mberger/exos-yocto-zeus/build/exos-x86-64/tmp/work/exos_x86_64-poky-linux/perf/1.0-r9/perf-1.0 CROSS_COMPILE=x86_64-poky-linux- ARCH=x86 CC=x86_64-poky-linux-gcc -m64 -fstack-protector-strong -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=/data/mberger/exos-yocto-zeus/build/exos-x86-64/tmp/work/exos_x86_64-poky-linux/perf/1.0-r9=/usr/src/debug/perf/1.0-r9 -fdebug-prefix-map=/data/mberger/exos-yocto-zeus/build/exos-x86-64/tmp/work/exos_x86_64-poky-linux/perf/1.0-r9=/usr/src/debug/perf/1.0-r9 -fdebug-prefix-map=/data/mberger/exos-yocto-zeus/build/exos-x86-64/tmp/work/exos_x86_64-poky-linux/perf/1.0-r9/recipe-sysroot= -fdebug-prefix-map=/data/mberger/exos-yocto-zeus/build/exos-x86-64
#!/usr/bin/env bash
# Repoduce boost build failure x86_64 x32 ABI in thud
BASEDIR=$(realpath $HOME)
PROJDIR=$BASEDIR/boost-issue-x32-repro
BRANCH=thud
[ -e $PROJDIR ] || git -C $BASEDIR clone git://git.yoctoproject.org/poky $PROJDIR -b $BRANCH
[ -e $PROJDIR/meta-intel ] || git -C $PROJDIR clone git://git.yoctoproject.org/meta-intel -b $BRANCH
@mabnhdev
mabnhdev / gist:17a8cb7bdc4df947a1c24d42c32b1daf
Created April 6, 2017 17:46
Python notify daemon in snappy.
snapcraft.yaml:
name: test
version: '0.1'
summary: Test snappy daemonization
description: |
This is my-snap's description. You have a paragraph or two to tell the
most important story about your snap. Keep it under 100 words though,
we live in tweetspace and your description wants to look good in the snap
store.
@mabnhdev
mabnhdev / gist:121154d3c6fd830d60a60eaee3c33c7b
Created April 6, 2017 16:15
Snappy python daemon problem.
snapcraft.yaml:
name: test
version: '0.1'
summary: Test snappy daemonization
description: |
This is my-snap's description. You have a paragraph or two to tell the
most important story about your snap. Keep it under 100 words though,
we live in tweetspace and your description wants to look good in the snap
store.
mberger@mabjessie:~/OpenSwitchDeb/ops-build$ make ops-openvswitch-build
Loading cache: 100% |#######################################################################################################################################| ETA: 00:00:00
Loaded 1548 entries from dependency cache.
Parsing recipes: 100% |#####################################################################################################################################| Time: 00:00:00
Parsing of 1075 .bb files complete (1070 cached, 5 parsed). 1555 targets, 214 skipped, 0 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies
Build Configuration:
BB_VERSION = "1.27.0"
BUILD_SYS = "x86_64-linux"