From fa67ec52aec75f9899f4dfd69eece704bb5c5971 Mon Sep 17 00:00:00 2001 From: Stefan Kalkowski Date: Wed, 28 Nov 2018 14:20:06 +0100 Subject: [PATCH] cpu_sampler_noux: do not test platforms w/o pkg Platform without driver-interactive package will fail. Therefore, whitelist which platforms do work in the run-script --- repos/gems/run/cpu_sampler_noux.run | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/repos/gems/run/cpu_sampler_noux.run b/repos/gems/run/cpu_sampler_noux.run index 493bd3700a..4235e672e7 100644 --- a/repos/gems/run/cpu_sampler_noux.run +++ b/repos/gems/run/cpu_sampler_noux.run @@ -4,6 +4,12 @@ if { ![have_spec foc] && ![have_spec nova] && exit 0 } +# there are no drivers_interactive packages for every platform yet +if { ![have_spec pbxa9] && ![have_spec x86] } { + puts "Run script is not supported on this platform" + exit 0 +} + create_boot_directory import_from_depot genodelabs/src/[base_src] \