Page MenuHomeFreeBSD

`make installworld' should display the install time
ClosedPublic

Authored by wosch on Jul 8 2024, 9:30 AM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Sep 12, 11:20 AM
Unknown Object (File)
Thu, Sep 12, 3:47 AM
Unknown Object (File)
Wed, Sep 11, 1:10 AM
Unknown Object (File)
Tue, Sep 10, 4:22 PM
Unknown Object (File)
Mon, Sep 9, 2:26 AM
Unknown Object (File)
Sun, Sep 8, 2:55 PM
Unknown Object (File)
Sat, Sep 7, 12:14 PM
Unknown Object (File)
Fri, Sep 6, 11:22 AM

Details

Summary

For years we display the time in seconds how long it takes to run `make buildworld' (see PR 224433).
We should do the same for "installworld" and "installkernel"

e.g.:

Installing everything completed on Sun Jul  7 16:11:37 UTC 2024
Install world completed in 110 seconds, ncpu: 2, make -j2


Test Plan

make -j $(nproc) buildworld
make -j $(nproc) buildkernel installkernel
make -j $(nproc) installworld
make -j $(nproc) packages

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

wosch requested review of this revision.Jul 8 2024, 9:30 AM
This revision is now accepted and ready to land.Jul 12 2024, 5:59 PM

A report on the pkg-base list suggests that this broke make packages. I am seeing the same breakage, which indeed does look like it's dying in the place modified by this commit:

>>> Installing everything completed on Mon Jul 15 13:31:16 UTC 2024
/tmp/install.wghTiNRH3L/sh: arithmetic expression: expecting primary: "1721050276 - "

And, indeed, reverting this commit locally fixes it. Please can it be reverted and re-landed after testing with make packages?

wosch edited the test plan for this revision. (Show Details)
wosch added reviewers: emaste, theraven.

Updated diff with more specific make targets

A report on the pkg-base list suggests that this broke make packages. I am seeing the same breakage, which indeed does look like it's dying in the place modified by this commit:

>>> Installing everything completed on Mon Jul 15 13:31:16 UTC 2024
/tmp/install.wghTiNRH3L/sh: arithmetic expression: expecting primary: "1721050276 - "

@theraven: I'm wondering where I can find a documentation about make packages. I looked at /usr/src/Makefile, /usr/src/README.md and build(7) without success.

A report on the pkg-base list suggests that this broke make packages. I am seeing the same breakage, which indeed does look like it's dying in the place modified by this commit:

>>> Installing everything completed on Mon Jul 15 13:31:16 UTC 2024
/tmp/install.wghTiNRH3L/sh: arithmetic expression: expecting primary: "1721050276 - "

@theraven: I'm wondering where I can find a documentation about make packages. I looked at /usr/src/Makefile, /usr/src/README.md and build(7) without success.

There is an entry for that in build.7 now.

If nobody objects I will commit the updated patch next week.

A report on the pkg-base list suggests that this broke make packages. I am seeing the same breakage, which indeed does look like it's dying in the place modified by this commit:

>>> Installing everything completed on Mon Jul 15 13:31:16 UTC 2024
/tmp/install.wghTiNRH3L/sh: arithmetic expression: expecting primary: "1721050276 - "

@theraven: I'm wondering where I can find a documentation about make packages. I looked at /usr/src/Makefile, /usr/src/README.md and build(7) without success.

There is an entry for that in build.7 now.

Thank you!

This revision was not accepted when it landed; it landed in state Needs Review.Mon, Sep 2, 9:56 AM
This revision was automatically updated to reflect the committed changes.