Skip to content

Commit

Permalink
Merge pull request #309 from andreas-schwab/master
Browse files Browse the repository at this point in the history
Add Arch.aarch64
  • Loading branch information
lslezak committed Dec 18, 2014
2 parents bebe4b1 + f493b69 commit d727cfe
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
10 changes: 8 additions & 2 deletions library/general/src/modules/Arch.rb
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ def main
# ************************************************************
# system architecture

# Returns full architecture type (one of i386, sparc, sparc64, mips, mips64, ppc, ppc64, alpha, s390_32, s390_64, ia64, x86_64)
# Returns full architecture type (one of i386, sparc, sparc64, mips, mips64, ppc, ppc64, alpha, s390_32, s390_64, ia64, x86_64, aarch64)
#
# @return [String] architecture
def architecture
Expand Down Expand Up @@ -179,7 +179,12 @@ def x86_64
architecture == "x86_64"
end

# Returns general architecture type (one of sparc, mips, ppc, s390, i386, alpha, ia64, x86_64)
# true for all aarch64 (ARM64) architectures
def aarch64
architecture == "aarch64"
end

# Returns general architecture type (one of sparc, mips, ppc, s390, i386, alpha, ia64, x86_64, aarch64)
#
# @return [String] arch_short
def arch_short
Expand Down Expand Up @@ -510,6 +515,7 @@ def x11_setup_needed
publish :function => :s390, :type => "boolean ()"
publish :function => :ia64, :type => "boolean ()"
publish :function => :x86_64, :type => "boolean ()"
publish :function => :aarch64, :type => "boolean ()"
publish :function => :arch_short, :type => "string ()"
publish :function => :board_compatible, :type => "string ()"
publish :function => :board_mac, :type => "boolean ()"
Expand Down
5 changes: 5 additions & 0 deletions package/yast2.changes
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Dec 17 14:00:42 UTC 2014 - schwab@suse.de

- Add Arch.aarch64

-------------------------------------------------------------------
Thu Dec 4 09:51:50 UTC 2014 - jreidinger@suse.com

Expand Down

0 comments on commit d727cfe

Please sign in to comment.