~afb/smart/solaris

« back to all changes in this revision

Viewing changes to smart/backends/deb/base.py

  • Committer: Anders F Bjorklund
  • Date: 2009-03-11 10:07:49 UTC
  • mfrom: (856.1.8 bugfix)
  • Revision ID: afb@users.sourceforge.net-20090311100749-g9n4xrouwqmbam8s
merge changes from trunk, via bugfix

Show diffs side-by-side

added added

removed removed

Lines of Context:
41
41
        return arch
42
42
    arch = os.uname()[-1]
43
43
    result = {"pentium": "i386",
 
44
              "i86pc": "i386",
44
45
              "sparc64": "sparc",
45
46
              "ppc": "powerpc",
46
47
              "mipseb": "mips",
59
60
    
60
61
    if sys.platform == "linux2":
61
62
        return arch
 
63
    elif sys.platform == "sunos5":
 
64
        return "%s-%s" % ("solaris", arch)
62
65
    else:
63
66
        return "%s-%s" % (sys.platform, arch)
64
67