summaryrefslogtreecommitdiff
path: root/data/_apt7/arch-errors.diff
blob: 66cafc72794266926376fcd5ce4dad530ba86ddb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
diff -ur apt/apt-pkg/acquire-item.cc apt+iPhone/apt-pkg/acquire-item.cc
--- apt/apt-pkg/acquire-item.cc	2018-07-30 21:45:07.000000000 -1000
+++ apt+iPhone/apt-pkg/acquire-item.cc	2018-08-01 23:21:41.000000000 -1000
@@ -1423,8 +1423,9 @@
 	       if (TransactionManager->MetaIndexParser->IsArchitectureSupported(arch) == false)
 	       {
 		  new CleanupItem(Owner, TransactionManager, Target);
-		  _error->Notice(_("Skipping acquire of configured file '%s' as repository '%s' doesn't support architecture '%s'"),
-			Target.MetaKey.c_str(), TransactionManager->Target.Description.c_str(), arch.c_str());
+			if (strcmp(arch.c_str(), "iphoneos-arm64")!=0)
+		  	_error->Notice(_("Skipping acquire of configured file '%s' as repository '%s' doesn't support architecture '%s'"),
+					Target.MetaKey.c_str(), TransactionManager->Target.Description.c_str(), arch.c_str());
 		  continue;
 	       }
 	       // if the architecture is officially supported but currently no packages for it available,