summaryrefslogtreecommitdiffstats
path: root/source-builder/sb/linux.py
diff options
context:
space:
mode:
authorChris Johns <chrisj@rtems.org>2013-04-25 17:50:08 +1000
committerChris Johns <chrisj@rtems.org>2013-04-25 17:50:08 +1000
commita202f3e023b948fcf7148febeeef9285fcadd31e (patch)
tree8d2384d8c7d025f98485aa49f37439dedd05fdb7 /source-builder/sb/linux.py
parentRemove all patches. (diff)
downloadrtems-source-builder-a202f3e023b948fcf7148febeeef9285fcadd31e.tar.bz2
Add SuSE variations.
Diffstat (limited to 'source-builder/sb/linux.py')
-rw-r--r--source-builder/sb/linux.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/source-builder/sb/linux.py b/source-builder/sb/linux.py
index c5c7977..5fe19c9 100644
--- a/source-builder/sb/linux.py
+++ b/source-builder/sb/linux.py
@@ -92,6 +92,8 @@ def load():
distro = 'debian'
elif distro in ['Arch']:
distro = 'arch'
+ elif distro in ['SuSE']:
+ distro = 'suse'
variations = {
'debian' : { '__bzip2': ('exe', 'required', '/bin/bzip2'),
@@ -110,6 +112,8 @@ def load():
'__install_info': ('exe', 'required', '/usr/sbin/install-info') },
'arch' : { '__gzip': ('exe', 'required', '/usr/bin/gzip'),
'__chown': ('exe', 'required', '/usr/bin/chown') },
+ 'suse' : { '__chgrp': ('exe', 'required', '/usr/bin/chgrp'),
+ '__chown': ('exe', 'required', '/usr/sbin/chown') },
}
if variations.has_key(distro):