Skip to content

Conversation

rchincha
Copy link
Contributor

When we run a stackerfile a second time, previously built tar layers are assumed to already exist. But if we are using squashfs layers, then those layers are missing on a second run. Make sure to mount them when we find a built layer.

Closes #454

What type of PR is this?

Which issue does this PR fix:

What does this PR do / Why do we need it:

If an issue # is not available please add repro steps and logs showing the issue:

Testing done on this change:

Automation added to e2e:

Will this break upgrades or downgrades?

Does this PR introduce any user-facing change?:


By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

When we run a stackerfile a second time, previously built tar layers
are assumed to already exist.  But if we are using squashfs layers,
then those layers are missing on a second run.  Make sure to mount
them when we find a built layer.

Closes project-stacker#454

Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com>
Signed-off-by: Ramkumar Chinchani <rchincha@cisco.com>
@hallyn
Copy link
Contributor

hallyn commented Sep 11, 2023

lol

@rchincha rchincha merged commit a1af45a into project-stacker:main Sep 11, 2023
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.

Bug: problem re-building from squashfs due to cache change
2 participants