}
}
+#---------------------------------------------------------------------
+# create repo.cache.local
+#---------------------------------------------------------------------
+sub create_cache_local {
+ my_system("'$build_dir'/createdirdeps '$rpm_repo_path' > '$order_dir'/.repo.cache.local ");
+ my_system("echo D: >> '$order_dir'/.repo.cache.local");
+ my_system("cat '$order_dir'/.repo.cache.local '$order_dir'/.repo.cache.remote >'$order_dir'/.repo.cache");
+}
+
#---------------------------------------------------------------------
# Generate buid command and run it
#---------------------------------------------------------------------
my_system ("sudo ln '$_' '$rpm_repo_path'");
}
}
-
- my_system("'$build_dir'/createdirdeps '$rpm_repo_path' > '$order_dir'/.repo.cache.local ");
- my_system("echo D: >> '$order_dir'/.repo.cache.local");
- my_system("cat '$order_dir'/.repo.cache.local '$order_dir'/.repo.cache.remote >'$order_dir'/.repo.cache");
}
info("finished building $name");
$packages_built = 1;
lock($DETACHING);
if ($dirty) {
# there is any package has been built
+ create_cache_local();
refresh_repo();
update_expansion_errors();
#update_pkgdeps();