Skip to content

Instantly share code, notes, and snippets.

View kergoth's full-sized avatar

Christopher Larson kergoth

  • Siemens Digital Industries Software
  • X @kergoth
View GitHub Profile

Notes from review of Debian Developer Documentation

Policy Manual

A native source package is one that does not distinguish between Debian packaging releases and upstream releases. A native source package contains a single tar file of source material, and the versioning does not have a Debian-specific component. Native packages are normally (but not exclusively) used for software that has no independent existence outside of Debian, such as software written specifically to be a Debian package.

Source packages should specify the most recent version number of this policy document with which your package complied when it was last updated.

The version is specified in the Standards-Version control field. The format of the Standards-Version field is described in Standards-Version.

@kergoth
kergoth / PROGRESS.md
Last active October 31, 2023 16:57
Industrial OS On-Boarding

Progress on on-boarding to Industrial OS

My actions

Ongoing / In progress

  • Reading of the available Industrial OS pages in confluence, found via search, unstructured.
  • Brushing up on isar in general, re-reading its user manual, etc.
  • Setting up a debian container and industrial OS workspace using the current 'all.xml' manifest to kick off a build as a baseline for development and get a feel for the product build.
#!/usr/bin/env bash
set -euo pipefail
msg() {
fmt="$1"
if [ $# -gt 1 ]; then
shift
fi
# shellcheck disable=SC2059
def memoize(d, varname, func):
"""Calculate the result of func once, replacing the value in the metadata.
This will run the function once rather than every time it's used, but unlike
immediate expansion, this initial expansion occurs the first time it's used.
Example Usage:
TESTVAR = "${@memoize(d, 'TESTVAR', lambda: myfunction(d) or '')}"
TESTVAR[vardepvalue] = "${TESTVAR}"
## Projects by Authors ## {{{1
# Freeware Software by Bálint Tóth (ex Bali's Calculator)
./Authors/Bálint Tóth/ wayback http://tothb.ehc.hu/software/ tothb.ehc.hu_IA/
# Dave Dunfield's "widgets" for DOS
./Authors/Dave Dunfield/ wget http://dunfield.classiccmp.org/dos/index.htm
# ecm's projects
./Authors/ecm/ wget https://pushbx.org/ecm/download/
@kergoth
kergoth / .envrc
Last active December 29, 2022 18:49
devbox test
if [ -x ./devbox ]; then
devbox () {
./devbox "$@"
}
fi
use_devbox() {
watch_file devbox.json
eval $(devbox shell --print-env)
}
diff --git i/home.nix w/home.nix
index aedec3b..84c5bc4 100644
--- i/home.nix
+++ w/home.nix
@@ -10,6 +10,8 @@
# https://rycee.gitlab.io/home-manager/options.html
home.stateVersion = "22.05";
+ nixpkgs.config.allowUnfree = true;
+
#!/bin/bash
proot_url=https://proot.gitlab.io/proot/bin/proot
bindir=${XDG_DATA_HOME:-$HOME/.local/share}/../bin
scriptdir="$(cd "$(dirname "$0")" && pwd -P)"
PATH=$bindir:$PATH
set -euo pipefail
mkdir -p "$bindir"
$ OEQA_REPRODUCIBLE_IMAGES=libgfortran oe-selftest -r cbreproducible.CBReproducibleTests.test_reproducible_builds
2022-08-18 02:20:10,167 - oe-selftest - INFO - Adding layer libraries:
2022-08-18 02:20:10,167 - oe-selftest - INFO - /mel/kergoth/mel/codebench-toolchain/multiconfig/meta-mingw/lib
2022-08-18 02:20:10,167 - oe-selftest - INFO - /mel/kergoth/mel/codebench-toolchain/multiconfig/meta-codebench-toolchain/lib
2022-08-18 02:20:10,167 - oe-selftest - INFO - /mel/kergoth/mel/codebench-toolchain/multiconfig/oe-core/meta/lib
2022-08-18 02:20:10,168 - oe-selftest - INFO - /mel/kergoth/mel/codebench-toolchain/multiconfig/oe-core/meta-selftest/lib
2022-08-18 02:20:10,169 - oe-selftest - INFO - Running bitbake -e to test the configuration is valid/parsable
2022-08-18 02:20:15,130 - oe-selftest - INFO - Adding: "include selftest.inc" in /mel/kergoth/mel/codebench-toolchain/multiconfig/build-st/conf/local.conf
2022-08-18 02:20:15,131 - oe-selftest - INFO - Adding: "include bblayers.inc" in bblayers.conf
2022
From ba7f0374ed98dcfef60fffe52c5845df2abc6ffa Mon Sep 17 00:00:00 2001
From: Christopher Larson <chris_larson@mentor.com>
Date: Fri, 5 Feb 2021 02:43:04 +0500
Subject: [PATCH] copydebugsources_extra: check alternative paths for source
files for debug
This handles paths being pulled from paths that package.bbclass currently
does not handle, such as generated sources written to ${B}, as is the case
for libstdc++, or those from work-shared.