diff --git a/.reuse/dep5 b/.reuse/dep5 index e003f052a..7ef75faa8 100644 --- a/.reuse/dep5 +++ b/.reuse/dep5 @@ -5,7 +5,7 @@ Source: https://github.com/tiiuae/ghaf Copyright: 2022-2024 Technology Innovation Institute (TII) License: Apache-2.0 -Files: - *.lock *.png *.svg *.patch *.db *.key *.pem *.cer *.p12 +Files: + *.lock *.png *.svg *.patch *.db *.key *.pem *.cer *.p12 *.mp3 modules/hardware/x86_64-generic/kernel/configs/ghaf_host_hardened_baseline-x86 modules/jetpack/ghaf_host_hardened_baseline-jetson-orin diff --git a/modules/common/development/audio_test/test_file1.mp3 b/modules/common/development/audio_test/test_file1.mp3 new file mode 100644 index 000000000..95d345bae Binary files /dev/null and b/modules/common/development/audio_test/test_file1.mp3 differ diff --git a/modules/common/development/debug-tools.nix b/modules/common/development/debug-tools.nix index 02250108e..1cc9bddf1 100644 --- a/modules/common/development/debug-tools.nix +++ b/modules/common/development/debug-tools.nix @@ -14,6 +14,9 @@ in }; config = mkIf cfg.enable { + environment.etc = { + audio_test.source = ./audio_test; + }; environment.systemPackages = with pkgs; [ # For lspci: @@ -44,6 +47,8 @@ in # LuaJIT (which is sysbench dependency) not available on RISC-V ++ lib.optional (config.nixpkgs.hostPlatform.system != "riscv64-linux") sysbench # runtimeShell (unixbench dependency) not available on RISC-V nor on cross-compiled Orin AGX/NX - ++ lib.optional (stdenv.hostPlatform == stdenv.buildPlatform) unixbench; + ++ lib.optional (stdenv.hostPlatform == stdenv.buildPlatform) unixbench + # Build VLC only on x86 + ++ lib.optional (config.nixpkgs.hostPlatform.system == "x86_64-linux") vlc; }; }