support images for CentOS and SL
This commit is contained in:
parent
73199068d6
commit
633a82c283
1 changed files with 4 additions and 0 deletions
|
|
@ -2656,6 +2656,10 @@ class OzImageTask(BaseTaskHandler):
|
|||
return distro.split('.')
|
||||
elif distro.startswith('Fedora'):
|
||||
return distro.split('-')
|
||||
elif distro.startswith('CentOS'):
|
||||
return distro.split('.')
|
||||
elif distro.startswith('SL'):
|
||||
return distro.split('.')
|
||||
else:
|
||||
raise BuildError('Unknown or supported distro given: %s' % distro)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue