Add and use demowarning
[?]
Apr 11, 2023, 5:00 PM
6AHBY2PWWVJBGF2V6VIE3C3OLS5DAMPAD7AZVI4CVNDA64NBFM3QCDependencies
- [2]
3GPSC2KXAdd compatibility checks for fancy parts of the demos - [3]
TEQJC3HXAdd 03-nix-container - [4]
ZFMPQAFVFix and extend cross compilation with static builds - [5]
BH5XPS7CAdd 07-vm-integration test - [*]
7AUC4NKIInitial commit - [*]
EGQ4SEV5Add demo for 04
Change contents
- edit in libdemo/libdemo.sh at line 113
demowarning() {if [ "${__libdemo_prev_output}" != democmd ]; thenechofiif __libdemo_use_colour; thenlocal -r prefix="\e[1;31m[!]\e[0m"elselocal -r prefix="[!]"fiecho -e "${prefix}" "$@"__libdemo_prev_output=demowarning}w() {demowarning "$@"} - replacement in 07-vm-integration-test/demo.sh at line 31
n "If /dev/kvm is not world-read-writable VMs will be emulated which is prohibitively slow!"w "If /dev/kvm is not world-read-writable VMs will be emulated which is prohibitively slow!" - replacement in 04-cmake-and-cross/demo.sh at line 52
n "It seems aarch64-linux binfmt emulation is not available, the following part of the demo may not work"w "It seems aarch64-linux binfmt emulation is not available, the following part of the demo may not work" - replacement in 03-nix-container/demo.sh at line 22
n "No subuid range defined for user, consider running 'sudo usermod --add-subuids 10000-75535 ${USER}' to allow rootless podman to work"w "No subuid range defined for user, consider running 'sudo usermod --add-subuids 10000-75535 ${USER}' to allow rootless podman to work"