@@ -4,4 +4,4 @@ Restrictions: allow-stderr
Tests: ubuntu-regression-suite
Depends: build-essential, gcc-multilib [amd64 armhf i386], gdb, git, bzr
-Restrictions: allow-stderr, isolation-machine, breaks-testbed
+Restrictions: allow-stderr, isolation-machine, breaks-testbed, skippable
@@ -1,6 +1,17 @@
#!/bin/sh
set -e
+# Only run regression-suite on kernels we can boot in canonistack
+source=`dpkg-parsechangelog -SSource`
+case $source in
+ linux|linux-hwe|linux-kvm|linux-oem)
+ ;;
+ *)
+ echo "ubuntu-regression-suite is pointless, if one cannot boot the kernel"
+ exit 77
+ ;;
+esac
+
sver=`dpkg-parsechangelog -SVersion`
read x rver x </proc/version_signature