diff -Nru a/src/parted/__init__.py pyparted-3.9.3/src/parted/__init__.py --- a/src/parted/__init__.py 2014-05-07 15:07:58.000000000 -0400 +++ pyparted-3.9.3/src/parted/__init__.py 2014-05-29 11:57:09.813438402 -0400 @@ -278,7 +278,8 @@ 'sparc': ['sun'], 'ia64': ['msdos', 'gpt'], 'ppc': ['msdos', 'mac', 'amiga', 'gpt'], - 'x86_64': ['msdos', 'gpt']} + 'x86_64': ['msdos', 'gpt'], + 'aarch64': ['msdos', 'gpt']} # Adapted from: # http://stackoverflow.com/questions/922550/how-to-mark-a-global-as-deprecated-in-python @@ -312,9 +313,9 @@ __archLabels = (('amiga', 'ppc(64)?$'), ('bsd', 'alpha$'), ('dasd', 's390x?$'), - ('gpt', 'i[3-6]86$|x86_64$|ia64$|ppc(64)?$|armv7l$'), + ('gpt', 'i[3-6]86$|x86_64$|ia64$|ppc(64)?$|armv7l$|aarch64$'), ('mac', 'ppc(64)?$'), - ('msdos', 'i[3-6]86$|x86_64$|s390x?$|alpha$|ia64$|ppc(64)?$|armv7l$'), + ('msdos', 'i[3-6]86$|x86_64$|s390x?$|alpha$|ia64$|ppc(64)?$|armv7l$|aarch64$'), ('sun', 'sparc(64)?$')) def getLabels(arch=None): diff -Nru a/tests/test_parted_parted.py pyparted-3.9.3/tests/test_parted_parted.py --- a/tests/test_parted_parted.py 2014-05-07 15:07:58.000000000 -0400 +++ pyparted-3.9.3/tests/test_parted_parted.py 2014-05-29 11:56:10.049244277 -0400 @@ -60,6 +60,7 @@ self.assertSetEqual(parted.getLabels('alpha'), {'bsd', 'msdos'}) self.assertSetEqual(parted.getLabels('ia64'), {'gpt', 'msdos'}) self.assertSetEqual(parted.getLabels('armv7l'), {'gpt', 'msdos'}) + self.assertSetEqual(parted.getLabels('aarch64'), {'gpt', 'msdos'}) class GetDeviceTestCase(RequiresDeviceNode): def runTest(self):