diff options
| author | Carl Hetherington <cth@carlh.net> | 2020-04-24 21:47:23 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2020-04-24 21:47:23 +0200 |
| commit | 15efd17e31806fc4628486ed5b651eee40373717 (patch) | |
| tree | 42b0289c2ae5406bf0501a79ffbb64120e728a69 /cscript | |
| parent | 85276dd30314d9d4149dc9a707779c02e96fdfe9 (diff) | |
Expand can_build_disk a bit.
Diffstat (limited to 'cscript')
| -rw-r--r-- | cscript | 17 |
1 files changed, 16 insertions, 1 deletions
@@ -208,7 +208,22 @@ def can_build_disk(target): # - Lots of Linux distros don't have a new enough boost (1.64 or above) # - On Centos 6 we can't build lwext4 because it needs a new CMake which Centos 6's g++ is not new enough to build. # - On Centos 7 there is a build error in lwext4 related to __unused - return target.platform == 'windows' or target.platform == 'osx' or (target.platform == 'linux' and target.distro == 'ubuntu' and target.version in ['18.04', '19.10', '20.04']) + if target.platform == 'windows': + return True + if target.platform == 'osx': + return True + if target.platform == 'linux': + if target.distro == 'ubuntu' and target.version in ['18.04', '19.10', '20.04']: + return True + if target.distro == 'debian' and target.version == '10': + return True + if target.detail == 'appimage': + return True + if target.distro == 'fedora' and target.version == '31': + return True + if target.distro == 'centos' and target.version == '8': + return True + return False def packages(name, packages, f): s = '%s: ' % name |
