adding iu.mock flag to generated  bundle IUs
diff --git a/bundles/org.eclipse.equinox.p2.updatesite/src/org/eclipse/equinox/internal/p2/updatesite/metadata/UpdateSiteMetadataRepository.java b/bundles/org.eclipse.equinox.p2.updatesite/src/org/eclipse/equinox/internal/p2/updatesite/metadata/UpdateSiteMetadataRepository.java
index 0391d53..8164462 100644
--- a/bundles/org.eclipse.equinox.p2.updatesite/src/org/eclipse/equinox/internal/p2/updatesite/metadata/UpdateSiteMetadataRepository.java
+++ b/bundles/org.eclipse.equinox.p2.updatesite/src/org/eclipse/equinox/internal/p2/updatesite/metadata/UpdateSiteMetadataRepository.java
@@ -76,6 +76,8 @@
 				categoryNameToFeatureIUs.put(siteCategories[i].getName(), new HashSet());
 			}
 
+			Properties extraProperties = new Properties();
+			extraProperties.put("iu.mock", "true");
 			Set allSiteIUs = new HashSet();
 			SiteFeature[] siteFeatures = siteModel.getFeatures();
 
@@ -98,7 +100,7 @@
 						mockManifest.put("Bundle-Version", entry.getVersion());
 						BundleDescription bundleDescription = bundleDesciptionFactory.getBundleDescription(mockManifest, null);
 						IArtifactKey key = MetadataGeneratorHelper.createBundleArtifactKey(entry.getId(), entry.getVersion());
-						IInstallableUnit bundleIU = MetadataGeneratorHelper.createBundleIU(bundleDescription, null, entry.isUnpack(), key);
+						IInstallableUnit bundleIU = MetadataGeneratorHelper.createEclipseIU(bundleDescription, null, entry.isUnpack(), key, extraProperties);
 						allSiteIUs.add(bundleIU);
 					}
 				}