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

lifecycle: use the -no-fragments mksquashfs option #1805

Merged
merged 1 commit into from Dec 13, 2017

Conversation

tyhicks
Copy link
Contributor

@tyhicks tyhicks commented Dec 13, 2017

Use of the Squashfs fragments feature results in unpredictable snap
composition due to how fragments are gathered and compressed using a
separate thread in mksquashfs. Disable fragments entirely so that the
review tools can perform validation of snaps.

https://forum.snapcraft.io/t/proposal-to-disable-squashfs-fragments-in-snaps/3103
LP: #1576763

Signed-off-by: Tyler Hicks tyhicks@canonical.com

  • Have you followed the guidelines for contributing?
  • Have you signed the CLA?
  • If this is a bugfix. Have you checked that there is a bug report open for the issue you are trying to fix on bug reports?
  • If this is a new feature. Have you discussed the design on the forum?
  • Have you successfully run ./runtests.sh static?
  • Have you successfully run ./runtests.sh unit?

Use of the Squashfs fragments feature results in unpredictable snap
composition due to how fragments are gathered and compressed using a
separate thread in mksquashfs. Disable fragments entirely so that the
review tools can perform validation of snaps.

https://forum.snapcraft.io/t/proposal-to-disable-squashfs-fragments-in-snaps/3103
LP: #1576763

Signed-off-by: Tyler Hicks <tyhicks@canonical.com>
@kyrofa
Copy link
Contributor

kyrofa commented Dec 13, 2017

Thanks @tyhicks! This (and the forum thread) seem completely sensible. Looks good on first glance, but I'll take it for a spin tomorrow.

Copy link
Collaborator

@sergiusens sergiusens 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 good with this

@sergiusens sergiusens merged commit 9a131cb into canonical:master Dec 13, 2017
@sergiusens sergiusens added this to Bugs & Tech debt in 18.04 Jan 10, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
18.04
Bugs & Tech debt
Development

Successfully merging this pull request may close these issues.

None yet

3 participants