Add compatibility checks for fancy parts of the demos
[?]
Apr 11, 2023, 4:58 PM
3GPSC2KX5CFCXSFTNLK5Z466UNEOHVZJ4KDHMMJDSWEA7MPRVDNQCDependencies
- [2]
ZSVCCJBXFixes for CI - [3]
BH5XPS7CAdd 07-vm-integration test - [4]
BP57Q2OGSplit up flake - [5]
QSIJOFRUTweak 03 - [*]
EGQ4SEV5Add demo for 04 - [*]
ZFMPQAFVFix and extend cross compilation with static builds - [*]
VUARRVTIClean up strings - [*]
TEQJC3HXAdd 03-nix-container
Change contents
- edit in 07-vm-integration-test/demo.sh at line 29
# https://github.com/NixOS/nixpkgs/issues/124371if [ "$(stat -c '%a' /dev/kvm)" != 666 ]; thenn "If /dev/kvm is not world-read-writable VMs will be emulated which is prohibitively slow!"fi - edit in 04-cmake-and-cross/demo.sh at line 50
if [ ! -e /proc/sys/fs/binfmt_misc/aarch64-linux ] || ! grep -q enabled /proc/sys/fs/binfmt_misc/aarch64-linux; thenn "It seems aarch64-linux binfmt emulation is not available, the following part of the demo may not work"fi - edit in 04-cmake-and-cross/demo.sh at line 61
,, " boot.binfmt.emulatedSystems = [ \"aarch64-linux\" ];" - edit in 03-nix-container/podman-setup-script.nix at line 27
fiif ! grep -q "^''${USER}:" /etc/subuid; then>&2 echo "No subuid range defined for user, consider running 'sudo usermod --add-subuids 10000-75535 ''${USER}' to allow rootless podman to work" - edit in 03-nix-container/demo.sh at line 20[10.5627][10.5627]
if ! grep -q "^${USER}:" /etc/subuid; thenn "No subuid range defined for user, consider running 'sudo usermod --add-subuids 10000-75535 ${USER}' to allow rootless podman to work"fi