Skip to content

Fix image scripts#3956

Merged
chewi merged 2 commits intoflatcar:mainfrom
zhijianli88:fix-image-scripts
Apr 22, 2026
Merged

Fix image scripts#3956
chewi merged 2 commits intoflatcar:mainfrom
zhijianli88:fix-image-scripts

Conversation

@zhijianli88
Copy link
Copy Markdown
Contributor

Fix ./flatcar_production_qemu_uefi.sh errors

sdk@flatcar-sdk-all-4628_0_0_os-beta-4628_1_0 /mnt/host/source/src/build/images/arm64-usr/developer-4628.1.0+2026-04-21-1013-a1 $ ./flatcar_production_qemu_uefi_secure.sh -curses                                                     
qemu-system-aarch64: -curses: invalid option       

sdk@flatcar-sdk-all-4628_0_0_os-beta-4628_1_0 /mnt/host/source/src/build/images/arm64-usr/developer-4628.1.0+2026-04-21-1013-a1 $ ./flatcar_production_qemu_uefi.sh -display curses                                                    
qemu-system-aarch64: -drive if=pflash,unit=0,file=./flatcar_production_qemu_uefi_efi_code.qcow2,format=qcow2,readonly=on: Could not open './flatcar_production_qemu_uefi_efi_code.qcow2': No such file or directory

The -curses option was removed in QEMU 7.1, use -display curses
as the replacement.

Signed-off-by: Li Zhijian <lizhijian@fujitsu.com>
Previously, the compression source was deleted after compression.
Keep it to allow seamless VM launching.

Signed-off-by: Li Zhijian <lizhijian@fujitsu.com>
@zhijianli88 zhijianli88 requested a review from a team as a code owner April 22, 2026 03:22
Copy link
Copy Markdown
Contributor

@chewi chewi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! Changing the --only_store_compressed default here is fine because we specify the option in CI anyway.

@chewi chewi merged commit c891579 into flatcar:main Apr 22, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants