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

[Feature Request]: When creating output in 'packages_hashed', and 'debs', remove previous of same specification #7275

Open
1 task
CT1IQI opened this issue Sep 17, 2024 · 3 comments
Assignees
Labels
Feature Request Feature suggestion

Comments

@CT1IQI
Copy link

CT1IQI commented Sep 17, 2024

Which feature would you like to have?

A mechanism that does clean up between builds of in principle the same image. Am working inside a Virtual Box with ample, but limited, room. When creating a customized image it is normal to have to go through some iterations. Every round the build system adds quite substantial files (~300 MB in my case) in output/packages-hashed, and output/debs, without removing the ones left behind by previous sessions. After a while the available disk memory gets filled up this way with large and useless files.

Funding

@CT1IQI CT1IQI added the Feature Request Feature suggestion label Sep 17, 2024
Copy link

github-actions bot commented Sep 17, 2024

Jira ticket: AR-2497

@rpardini
Copy link
Member

That is by design; as versions can change more frequently than the content of the packages.
You can clean the output folder as you wish (and pay for recompiling/redownloading them the next time) if you don't have the disk space.

@CT1IQI
Copy link
Author

CT1IQI commented Sep 18, 2024

Tnx. The issue is that between compiles there are no changes in the Ubuntu packages (Armbian defined plus some 145 pcs. user defined) that the image needs to contain. Only changes in the userpatches section to rearrange rootfs things. So the idea would be, if the needed packages are already available in their right version, to re-use them, construct the new 'big' file, but then to delete the big one from which the re-used packages were imported. That way only the latest and used versions of packages remain on board, not the complete history.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature Request Feature suggestion
Development

No branches or pull requests

3 participants