mkaczanowski / packer-builder-arm

Packer plugin to build ARM images
Apache License 2.0
315 stars 102 forks source link

Creation of `rootfs` doesn't work as described #260

Open michalfita opened 1 year ago

michalfita commented 1 year ago

The subsection of the README.md states:

Generating rootfs archive

While image (.img) format is useful for most cases, you might want to use rootfs for other purposes (ex. export to docker). This is how you can generate rootfs archive instead of image:

"image_path": "odroid-xu4.img" # generates image
"image_path": "odroid-xu4.img.tar.gz" # generates rootfs archive

but setting this up as described still generates a file with image content, not rootfs archive.

Ideally I'd like both at the same time.

michalfita commented 1 year ago

OK, it doesn't work, when there are errors in the process. So, there's UX issue with reusing the image name with archive extension before it's extracted. But not finishing the extraction process if there was error in provisioners execution.