PiRogueToolSuite / pirogue-os

OS image for the PiRogue based on Debian 12
https://pts-project.org/
154 stars 6 forks source link

Use built-in 'xz' post-processor #23

Closed arky closed 7 months ago

arky commented 7 months ago

Packer now offers built-in support for xz format archives. It is possible to archive without using external script and tool 'pixz' for this.

Here is example snippet for generating a archive which is directly flashable using etcher.

  post-processor "compress" {
    output  = "{{.BuildName}}.xz"
    compression_level   = 9
    keep_input_artifact = false
  }