many: add internal squashfuse copy as "snapfuse" #4030

Closed
wants to merge 5 commits into
from

Conversation

Projects
None yet
3 participants
Collaborator

mvo5 commented Oct 12, 2017

This PR adds a new "snapfuse" binary to the xenial (and higher) deb package. The binary is used inside lxd containers if no squashfuse is installed. This ensures that lxd containers always work without the need to install extra software in there. We (unfortunately) cannot add a simple dependency because that would break users who run apt-get upgrade on a 16.04 install with snapd 2.0.2 or 2.0.10. No new dependencies are allowed in apt-get upgrade. However users who use apt upgrade or apt{,-get} {dist,full}-upgrade are fine.

See LP: #1628389 for the details.

mvo5 added some commits Oct 12, 2017

imported: import squashfuse 0.1.100-0ubuntu2
We need an imported version of this package to ensure we have
squashfs available inside lxd containers. We will rename it to
snapfuse internally.

@mvo5 mvo5 added this to the 2.29 milestone Oct 12, 2017

@@ -0,0 +1,31 @@
+The squashfuse distribution as a whole is copyright Dave
@zyga

zyga Oct 12, 2017

Contributor

We need an update to debian/copyright

Contributor

zyga commented Oct 12, 2017

@mvo5 can we not add the files that are generated? If you want I can give you a hand.

This seems very broken. I don't think I've ever heard of apt not being able to upgrade packages that add new dependencies on the upgrade command.

I'm also reluctant to say that doing this is okay at all...

Collaborator

mvo5 commented Oct 16, 2017

Closing for now as we are looking for a cleaner approach.

@mvo5 mvo5 closed this Oct 16, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment