osbuild2: files input is a valid copy stage input

Mark the `FilesInput` as valid input for the copy stage input so it
can be used in the constructor helper function(s).

Co-Developed-by: Achilleas Koutsou <achilleas@koutsou.net>
Co-Developed-by: Antonio Murdaca <runcom@linux.com>
This commit is contained in:
Christian Kellner 2021-08-20 12:18:37 +02:00 committed by Tom Gundersen
parent d27596b24a
commit cda1884de3

View file

@ -24,6 +24,9 @@ func NewFilesInputs(references FilesInputReferences) *FilesInputs {
// inputs accepted by the XZ stage
func (FilesInputs) isXzStageInputs() {}
// inputs accepted by the Copy stage
func (FilesInputs) isCopyStageInputs() {}
// SPECIFIC INPUT STRUCTURE
type FilesInput struct {