From 6e2c50c551ca9eba53c75c2d1e04634f619291fe Mon Sep 17 00:00:00 2001 From: Anantha K R Date: Tue, 10 Feb 2026 12:10:34 +0530 Subject: [PATCH] Move ssh-root-login to example image 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 --- meta-example/recipes-core/images/iot2050-image-example.bb | 1 + meta/recipes-core/images/iot2050-image-base.bb | 2 -- meta/recipes-core/images/meta-packages.inc | 1 - 3 files changed, 1 insertion(+), 3 deletions(-) diff --git a/meta-example/recipes-core/images/iot2050-image-example.bb b/meta-example/recipes-core/images/iot2050-image-example.bb index 6f9812879..9c8d337ea 100644 --- a/meta-example/recipes-core/images/iot2050-image-example.bb +++ b/meta-example/recipes-core/images/iot2050-image-example.bb @@ -28,6 +28,7 @@ IMAGE_PREINSTALL += "${@ ' \ IMAGE_INSTALL += " \ expand-on-first-boot \ + ssh-root-login \ sshd-regen-keys \ install-on-emmc \ iot2050-nm-settings \ diff --git a/meta/recipes-core/images/iot2050-image-base.bb b/meta/recipes-core/images/iot2050-image-base.bb index dccd798e0..dc5a7b7f3 100644 --- a/meta/recipes-core/images/iot2050-image-base.bb +++ b/meta/recipes-core/images/iot2050-image-base.bb @@ -13,8 +13,6 @@ inherit image DESCRIPTION = "IOT2050 Debian Base Image" -IMAGE_PREINSTALL += "sshd-regen-keys" - IMAGE_INSTALL += "${IOT2050_META_PACKAGES}" IMAGE_PREINSTALL += "libubootenv-tool" diff --git a/meta/recipes-core/images/meta-packages.inc b/meta/recipes-core/images/meta-packages.inc index b1f349a8c..7aa6df7b7 100644 --- a/meta/recipes-core/images/meta-packages.inc +++ b/meta/recipes-core/images/meta-packages.inc @@ -14,7 +14,6 @@ IOT2050_META_PACKAGES ?= " \ iot2050-firmware \ iot2050-base-packages \ regen-rootfs-uuid \ - ssh-root-login \ iot2050-status-led \ iot2050-switchserialmode \ "