Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Advice: The build script can be optimized #569

Open
dsk502 opened this issue Apr 14, 2024 · 3 comments
Open

Advice: The build script can be optimized #569

dsk502 opened this issue Apr 14, 2024 · 3 comments

Comments

@dsk502
Copy link

dsk502 commented Apr 14, 2024

Every time I build the helloSystem ISO, the packages and files used in building will be downloaded or installed again. It's a waste of time. I think the shell script can be modified to detect whether the packages are installed, and if their correct version are installed, skip the reinstallation.

@probonopd
Copy link
Member

At least in theory, the downloaded packages should be cached and re-used. Doesn't it work for you? Can you think of ways to improve the mechanism without introducing more complexity?

@dsk502
Copy link
Author

dsk502 commented Apr 14, 2024

In FreeBSD, the downloaded packages are cached, so in this script (build.sh), it will not download again. But the problem is, it will install the packages again.

@probonopd
Copy link
Member

We are building a new filesystem image from scratch each time - how could we do this without installing what shall go into it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants