Skip to content

Create artifactdir if it does not exist #426

@obbardc

Description

@obbardc

We should attempt to create artifactdir if it is passed to debos and doesn't exist.

Currently it will fails with something similar to:

obbardc@obbardc-t14:~/projects/debos/debos-recipes$ debos --artifactdir=out rpi64/debimage-rpi64.yaml 
2023/08/09 12:34:00 Action `image-partition` failed at stage PreMachine, error: open /home/obbardc/projects/debos/debos-recipes/out/debian-rpi64.img: no such file or directory

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Status

No status

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions