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

Improve caching during build #10

Open
wants to merge 4 commits into
base: leia
Choose a base branch
from
Open

Conversation

glensc
Copy link

@glensc glensc commented Oct 14, 2019

This improves caching even if build stage is completely rewritten. The commands have been re-ordered to improve caching and prevent extra repeated downloads.

Commit messages explain the best.

This improves caching even if build stage is completely rewritten
@glensc glensc changed the title Build caching improvements Improve caching during build Oct 14, 2019
The packages installed are the same, why download things twice.
Also, DEBIAN_FRONTEND is dropped, it's not necessary at this point.
@glensc glensc marked this pull request as ready for review October 14, 2019 21:47
@glensc
Copy link
Author

glensc commented Oct 14, 2019

@milaq: I think this is good to merge. I got things done I needed to (xbmc/xbmc#16777 (comment)). Thanks for having a baseline for this.

I might submit more changes in the future.

Copy link
Owner

@milaq milaq left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am not sure why the portable data folder should reside in /usr/local/share/.

The regular installation looks for it in /usr/share/kodi/.

Copy link
Owner

@milaq milaq left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The packages we install in the deploystage differ from the buildstage as we install only the necessary packages in order to run Kodi without any development packages.
This way the resulting image itself is way smaller.

As I put together the package list I wasn't paying close attention to overlaps.
Maybe we need to have a look at the package list again and find similarities.

@milaq
Copy link
Owner

milaq commented Nov 10, 2019

Thanks for your endeavours and sorry for the review delay; I am quite busy with RL atm :(

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

Successfully merging this pull request may close these issues.

2 participants