Skip to content

Update image deploy directory artifact name#636

Draft
masami256 wants to merge 2 commits into
miraclelinux:emlinux3from
masami256:update-image-name
Draft

Update image deploy directory artifact name#636
masami256 wants to merge 2 commits into
miraclelinux:emlinux3from
masami256:update-image-name

Conversation

@masami256
Copy link
Copy Markdown
Contributor

@masami256 masami256 commented May 11, 2026

This pull request updated scripts/runqemu and classes/sdk-installer.bbclass files to follow Isar's ommit 13cb77d ("meta: Deploy image build artifacts into distro- and image-specific subdirs").
Before the commit, kernel, image, and initramfs name have -- prefix, but since the commit such prefix has been removed and artifact directory name has been changed.

Then, we got following errors when execute runqemu script or build sdk.

runqemu result:

build@8c31e4e34f24:~/work/build$ runqemu qemu-arm emlinux-bookworm emlinux-image-base
qemu-system-arm: -drive id=disk0,file=/home/build/work/build/tmp/deploy/images/qemu-arm/emlinux-image-base-emlinux-bookworm-qemu-arm.ext4,if=none,format=raw: Could not open '/home/build/work/build/tmp/deploy/images/qemu-arm/emlinux-imagey

build sdk result:

| Removing /etc/schroot/isar-build-0a4a0d7c-e105-4ff7-940f-cf49d59cedeb-337267
| Removing /etc/schroot/chroot.d/isar-build-0a4a0d7c-e105-4ff7-940f-cf49d59cedeb-337267
| DEBUG: Shell function do_image_tar finished
| DEBUG: Executing python function do_create_sdk_installer
| DEBUG: Executing shell function create_sdk_installer_script
| cat: /home/build/work/build/tmp/deploy/images/qemu-arm64/emlinux-bookworm-emlinux-image-base-sdk/emlinux-image-base-sdk-emlinux-bookworm-qemu-arm64.tar.xz: No such file or directory
| WARNING: exit code 1 from a shell command.
| DEBUG: Python function do_create_sdk_installer finished
ERROR: Task (virtual:sdk:/home/build/work/build/../repos/meta-emlinux/recipes-core/images/emlinux-image-base.bb:do_image_tar) failed with exit code '1'
NOTE: Tasks Summary: Attempted 192 tasks of which 147 didn't need to be rerun and 1 failed.

scripts/runqemu

To follow commit 13cb77d, artifact directory and artifact name were changed.

class/sdk-installer.bbclass

To follow commit 13cb77d, artifact name were changed.

Test

scripts/runqem

Tested following architectures both emliunx-bookworm and emlinux-trixie.

  • qemu-amd64
  • qemu-arm64
  • qemu-arm

class/sdk-installer.bbclass

Tested emlinux-image-base sdk both host target sdk and container target.

masami256 added 2 commits May 11, 2026 00:11
Isar changes image name by commit 13cb77d ("meta: Deploy image build artifacts
into distro- and image-specific subdirs"), we need to follow this naming rule
convention.

Signed-off-by: Masami Ichikawa <masami.ichikawa@miraclelinux.com>
Isar changes image name by commit 13cb77d ("meta: Deploy image build artifacts
into distro- and image-specific subdirs"), we need to follow this naming rule
convention.

Signed-off-by: Masami Ichikawa <masami.ichikawa@miraclelinux.com>
@masami256 masami256 changed the title Update image name Update image deploy directory artifact name May 11, 2026
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.

1 participant