diff --git a/scripts/platform-is-supported b/scripts/platform-is-supported index 73a86e6652c..0dafca67e52 100755 --- a/scripts/platform-is-supported +++ b/scripts/platform-is-supported @@ -100,7 +100,12 @@ if cpu not in supported_cpus: sys.exit(1) if distributor == 'Ubuntu': - if release_major < 12: + if release_major < 18: + print "release is too old!" + sys.exit(1) + +if distributor == 'Debian': + if release_major < 10: print "release is too old!" sys.exit(1)