Skip to content

fix base image build error due to unable to locate sshd-regen-keys#648

Merged
huaqianli merged 1 commit intosiemens:masterfrom
ananthakr23:akr/fix-sshd-regen-keys
Feb 11, 2026
Merged

fix base image build error due to unable to locate sshd-regen-keys#648
huaqianli merged 1 commit intosiemens:masterfrom
ananthakr23:akr/fix-sshd-regen-keys

Conversation

@ananthakr23
Copy link

Base image build failed with error:

| DEBUG: Executing shell function rootfs_install_pkgs_download
| Reading package lists...
| Building dependency tree...
| Reading state information...
| E: Unable to locate package sshd-regen-keys
| WARNING: exit code 100 from a shell command.
| DEBUG: Executing shell function rootfs_do_umounts
| DEBUG: Shell function rootfs_do_umounts finished
| DEBUG: Python function do_rootfs_install finished

use IMAGE_INSTALL instead of IMAGE_PREINSTALL to fix the issue as sshd-regen-keys is provided by isar.

@huaqianli
Copy link
Collaborator

Hi @ananthakr23 ,

Thank you for recognizing this issue and for your contribution!
Before we proceed, I'd like to confirm: is SSH support an expected requirement for the base image from your angle?

@huaqianli
Copy link
Collaborator

Hi @ananthakr23 ,

Thank you for recognizing this issue and for your contribution! Before we proceed, I'd like to confirm: is SSH support an expected requirement for the base image from your angle?

If you agree that SSH functionality (like ssh-root-login and sshd-regen-keys) would be better suited for an example image rather than the base image, please help move those configurations. I believe that would be a cleaner and more modular solution.

Let me know your thoughts!

@ananthakr23
Copy link
Author

@huaqianli Thank you for the inputs. Though it is convenient to have ssh-root-login part of base image it is not necessary customization for a base image. I'm ok to remove the ssh-root-login from base image and have it only on example image. I will update the Merge request as suggested.

Base image build failed due to unable to locate sshd-regen-keys

Error log:
> | DEBUG: Executing shell function rootfs_install_pkgs_download
> | Reading package lists...
> | Building dependency tree...
> | Reading state information...
> | E: Unable to locate package sshd-regen-keys
> | WARNING: exit code 100 from a shell command.
> | DEBUG: Executing shell function rootfs_do_umounts
> | DEBUG: Shell function rootfs_do_umounts finished
> | DEBUG: Python function do_rootfs_install finished

Move `ssh-root-login` functionality completly to example image.

Signed-off-by: Anantha K R <anantha.kr@siemens.com>
@ananthakr23 ananthakr23 force-pushed the akr/fix-sshd-regen-keys branch from f51da60 to 6e2c50c Compare February 10, 2026 11:14
@ananthakr23
Copy link
Author

@huaqianli Updated the MR. Please review.

@huaqianli huaqianli merged commit b29b663 into siemens:master Feb 11, 2026
6 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