Closed fwilhe closed 10 months ago
Design decisions in this PR:
build.config
is a release artefactbuild.config
is optional (for local builds)build
scriptToDos:
build.config
is another interface that is used to control/configure the builder for a build. Ideally the build.config
will be the only interface the developer needs to know. We should streamline this and adapt documentation.Review: Looks good to me. Agree with the design decisions.
In some cases, the current hard-coded size limit for tempfs makes it impossible to build images with the builder. This change introduces a new config interface via a 'build.config' file which builder users might use to override selected variables.
Note that this introduces a breaking change in the sense that the
build
script needs to define thetempfs_size
variable like in this exampleIf this is not done, an error like
Makefile:25: *** 'TEMPFS_SIZE undefined'. Stop.
will occur.Fixes #54
Needed for https://github.com/gardenlinux/dev-image/pull/3