balena-io-modules / balena-preload

Script for preloading containers onto balena device images
https://www.balena.io/
Apache License 2.0
35 stars 8 forks source link

Delay populating global partitions cache until methods call #247

Closed klutchell closed 3 years ago

klutchell commented 3 years ago

In case the sfdisk command fails we need it to be in a method that can handle failures, not the container startup cmd.

Connected-to: https://github.com/balena-io/balena-cli/issues/2045 Change-type: patch Signed-off-by: Kyle Harding kyle@balena.io