Skip to content

Don't run fetch if rebuilding

Ron Williams requested to merge rw_van/redox:no-fetch-on-rebuild into master

Fetch was not working but the build was still fine, so fetch seems somewhat unnecessary. Fetch was fixed in another MR, so now fetch becomes yet even more time consuming if it is unnecessary. This MR addresses a couple of issues.

  • Fetch of everything only happens the first time when you run make all.
  • During make rebuild the fetch.tag is not deleted, so fetch does not run during rebuild and we rely on cook to update the source if needed.
  • There was a bug that was causing an unnecessary rebuild when running make qemu the first time, caused by fstools.tag being out of date with respect to the cookbook directory after the cookbook/repo directory gets created. This has been fixed by touching fstools.tag after building the repo.

Merge request reports