Skip to content

Instantly share code, notes, and snippets.

View shundhammer's full-sized avatar
▫️
.

Stefan Hundhammer shundhammer

▫️
.
View GitHub Profile
@shundhammer
shundhammer / suse-distro-names.md
Last active February 5, 2025 12:05
SUSE Distro Names / Base Products

SUSE Distro Names / Base Products

Sample code using libzypp:

zypp::Target_Ptr target = zypp::getZYpp()->target();
zypp::Product::constPtr product = target->baseProduct();

logDebug() << "Product name: " << product->name()
           << " summary: "     << product->summary()
@shundhammer
shundhammer / community-repos.md
Last active February 5, 2025 10:48
Community Repos

Community Repos

YaST

YaST gets community repos from a link in /control.xml on the installation medium or at /etc/YaST/control.xml in the installed system:

<software>
  ...
  <external_sources_link>
@shundhammer
shundhammer / kernel-firmware-pkg.md
Last active January 23, 2024 13:12
Linux Kernel Firmware Packages

Linux Kernel Firmware Packages

Motivation

Kernel firmware packages consume a lot of disk space on a Linux system, both on the installed system and in an installation environment (inst-sys). In some cases (e.g. RAM disk for a minimal NET ISO), that also means a lot of RAM usage.

kernel-firmware-pkg-leap-15-5

The installed kernel-firmware packages on a Leap 15.5 (screenshot of qdirstat pkg:/kernel-firmware)

@shundhammer
shundhammer / qt-and-web.md
Last active May 3, 2023 12:25
Qt and Web

Qt and Web

Qt Modules / Components

QtWebEngine

@shundhammer
shundhammer / huha-bug-cleanup-2023-03-09.md
Last active March 9, 2023 14:42
HuHa YaST Bugs Cleanup 2023-03-09

YaST Bugs Cleanup 2023-03-09

By Numbers

Resolution Number
WORKSFORME 3
FEATURE 2
WONTFIX 27
@shundhammer
shundhammer / HuHa-Activities-FY-2022B.md
Last active November 3, 2022 12:16
HuHa Activities FY 2022 Second Half
@shundhammer
shundhammer / y-qt-hdpi-and-fonts.md
Last active September 13, 2022 11:53
YaST Qt, HiDPI and Fonts
@shundhammer
shundhammer / HuHa-Activities-FY-2022A.md
Last active May 5, 2022 12:54
HuHa Activities FY 2022 first half

HuHa Activities 11/2021 - 05/2022

All of December 2021: Bug maintainer

Pull Requests

Taken from my GitHub profile / history; omitting duplicate PRs due to merging to SLE-15-SP4, then merging to master.

@shundhammer
shundhammer / ld-preload-go-runtime-aarch64.txt
Last active March 8, 2022 12:20
LD_PRELOAD for Go Runtime on aarch64
The workaround for this was to set LD_PRELOAD if libsuseconnect.so was
found, but that causes new problems: This is inherited by child
processes, and now every binary started from YaST also gets this
LD_PRELOAD, so they are now also force linked to libsuseconnect.so.
YaST uses external programs extensively; among lots of other things,
for storage probing. That means that in many cases, storage probing
now fails because of this; mostly due to out of memory because
libsuseconnect.so (and the Go runtime libs that it uses?) consumes a
lot more RAM.
@shundhammer
shundhammer / yast-invoking-external-commands.md
Last active March 3, 2022 14:49
Invoking External Commands in YaST

This document moved to a new location; this Gist is now a mirror.

Invoking External Commands in YaST

Best Practice: Yast::Execute

This is the method to use since about 2018. Don't use SCR .target.bash in new code.