From d1faa02d3b3e4d5b92e41b6d0ef40df207d53169 Mon Sep 17 00:00:00 2001 From: Massimo Pennazio Date: Fri, 2 Aug 2024 15:26:06 +0200 Subject: [PATCH] Remove password for LMP_USER --- recipes-samples/images/lmp-partner-arduino-image.bb | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/recipes-samples/images/lmp-partner-arduino-image.bb b/recipes-samples/images/lmp-partner-arduino-image.bb index 5b6b0d0..93c2a73 100644 --- a/recipes-samples/images/lmp-partner-arduino-image.bb +++ b/recipes-samples/images/lmp-partner-arduino-image.bb @@ -69,8 +69,10 @@ CORE_IMAGE_BASE_INSTALL += " \ ${ARDUINO} \ " -# Force new password to be chosen at first login -EXTRA_USERS_PARAMS += "passwd-expire ${LMP_USER};" +# No default password is configured for the device +EXTRA_USERS_PARAMS += "\ + usermod -p '' ${LMP_USER}; \ +" # Packages to be installed in Portenta-X8 machine only IMAGE_INSTALL:append:portenta-x8 = " openocd"