rpi-common: Preinstall raspberrypi-sys-mods and udev

Message ID 20241028073635.14600-1-ubely@ilbers.de
State Accepted, archived
Headers show
Series rpi-common: Preinstall raspberrypi-sys-mods and udev | expand

Commit Message

Uladzimir Bely Oct. 28, 2024, 7:36 a.m. UTC
These packages provide udev with rules and functionality required
for proper booting of hardware.

Without them, booting rpi-bookworm images takes much time due to
"/boot" mounting failure and results in falling to emergency mode.

Signed-off-by: Uladzimir Bely <ubely@ilbers.de>
---
 meta-isar/conf/machine/rpi-common.conf | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

Comments

Uladzimir Bely Nov. 4, 2024, 1:54 p.m. UTC | #1
On Mon, 2024-10-28 at 10:36 +0300, Uladzimir Bely wrote:
> These packages provide udev with rules and functionality required
> for proper booting of hardware.
> 
> Without them, booting rpi-bookworm images takes much time due to
> "/boot" mounting failure and results in falling to emergency mode.
> 
> Signed-off-by: Uladzimir Bely <ubely@ilbers.de>
> ---
>  meta-isar/conf/machine/rpi-common.conf | 4 +++-
>  1 file changed, 3 insertions(+), 1 deletion(-)
> 
> diff --git a/meta-isar/conf/machine/rpi-common.conf b/meta-
> isar/conf/machine/rpi-common.conf
> index ba5047ce..949496ec 100644
> --- a/meta-isar/conf/machine/rpi-common.conf
> +++ b/meta-isar/conf/machine/rpi-common.conf
> @@ -13,8 +13,10 @@ KERNEL_IMAGE_PKG ?= "raspberrypi-kernel"
>  KERNEL_HEADERS_PKG ?= "raspberrypi-kernel-headers"
>  
>  IMAGE_PREINSTALL += "raspberrypi-bootloader \
> +                     raspberrypi-sys-mods \
>                       raspi-config \
> -                     systemd-sysv"
> +                     systemd-sysv \
> +                     udev"
>  
>  IMAGE_INSTALL += "bootconfig-${MACHINE}"
>  
> -- 
> 2.45.2
> 

Applied to next.

Patch

diff --git a/meta-isar/conf/machine/rpi-common.conf b/meta-isar/conf/machine/rpi-common.conf
index ba5047ce..949496ec 100644
--- a/meta-isar/conf/machine/rpi-common.conf
+++ b/meta-isar/conf/machine/rpi-common.conf
@@ -13,8 +13,10 @@  KERNEL_IMAGE_PKG ?= "raspberrypi-kernel"
 KERNEL_HEADERS_PKG ?= "raspberrypi-kernel-headers"
 
 IMAGE_PREINSTALL += "raspberrypi-bootloader \
+                     raspberrypi-sys-mods \
                      raspi-config \
-                     systemd-sysv"
+                     systemd-sysv \
+                     udev"
 
 IMAGE_INSTALL += "bootconfig-${MACHINE}"