Page MenuHomeVyOS Platform

Failed to run `sudo make qemu` with vyos-build container due to the change of packer
Closed, ResolvedPublic

Description

When I tried to run sudo make qemu in vyos-crux build container, following error has occured.

vyos_bld@245500595a95:/vyos$ sudo make qemu
Checking if packages required for VyOS image build are installed
All dependencies are installed
Error: Failed to prepare build: "qemu-image"

1 error occurred:
	* Deprecated configuration key: 'iso_checksum_type'. Please call `packer fix`
against your template to update your template to be compatible with the current
version of Packer. Visit https://www.packer.io/docs/commands/fix/ for more
detail.

==> Builds finished but no artifacts were created.
Makefile:47: recipe for target 'qemu' failed
make: *** [qemu] Error 1

VyOS build container is cloned from vyos-build. (https://github.com/vyos/vyos-build) Commit hash is fddba995759ec44b90df58f2f0827d2cd21a6697
In the build container, packer version is 1.6.0

vyos_bld@245500595a95:/vyos$ packer --version
1.6.0

It seems that latest packer has some changes.
Latest packer dropped iso_checksum_type field and use only iso_checksum field with checksum type. (https://github.com/geerlingguy/packer-boxes/issues/68)

Details

Difficulty level
Unknown (require assessment)
Version
1.2.5
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Config syntax change (non-migratable)
Issue type
Bug (incorrect behavior)

Event Timeline

c-po assigned this task to naoki9911.
c-po triaged this task as Normal priority.
c-po edited projects, added VyOS 1.3 Equuleus; removed vyos-build.
erkin set Issue type to Bug (incorrect behavior).Aug 29 2021, 1:28 PM
erkin removed a subscriber: Active contributors.