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

helpers: Fix broken fs image building #249

Merged
merged 1 commit into from Nov 14, 2019

Conversation

JamiKettunen
Copy link
Contributor

This issue is a very recent issue introduced by PR #247, which added support for building loop images. The grep command however wasn't implemented properly and thus it doesn't detect droid-hal-*-kernel-modules in patterns like it should due to a syntactical issue.

This results in the assumption that a loop image shall be built and fails installing each package with installing package X needs Y MB on the / filesystem spammed on screen.

The exact same behavior has been seen by me and @nit-in already, but I'm pretty sure it would affect others too that do (local) mic builds after a dhd submodule update.

My solution simply fixes this mistake by using grep in extended regex mode while utilizing a logical or for the 2 different DEVICE values inside regular brackets.

helpers/build_packages.sh Outdated Show resolved Hide resolved
Copy link
Contributor

@sledges sledges left a comment

Choose a reason for hiding this comment

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

Thank you for this find!

@sledges sledges merged commit 7a9b243 into mer-hybris:master Nov 14, 2019
@JamiKettunen JamiKettunen deleted the mic-build-fix branch November 26, 2019 11:13
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.

None yet

2 participants