cancel
Showing results for 
Search instead for 
Did you mean: 

157a-dk1. Hook "update_udev_hwdb" fails.

KSuch.2
Associate II

During build with DISTRO=openstlinux-x11 IMAGE=st-example-image-x11 MACHINE=stm32mp1-disco on Ecosystem-1.2 errors arose:

------------------------------------------------------->

ERROR: st-image-vendorfs-1.0-r0 do_rootfs: The postinstall intercept hook 'update_udev_hwdb' failed, details in /home/support/STM32MP15-Ecosystem-v1.2.0/Distribution-Package/openstlinux-20-02-19/build-openstlinuxx11-stm32mp1-disco/tmp-glibc/work/stm32mp1_disco-ostl-linux-gnueabi/st-image-vendorfs/1.0-r0/temp/log.do_rootfs

ERROR: st-image-vendorfs-1.0-r0 do_rootfs: Function failed: do_rootfs

ERROR: Logfile of failure stored in: /home/support/STM32MP15-Ecosystem-v1.2.0/Distribution-Package/openstlinux-20-02-19/build-openstlinuxx11-stm32mp1-disco/tmp-glibc/work/stm32mp1_disco-ostl-linux-gnueabi/st-image-vendorfs/1.0-r0/temp/log.do_rootfs.16879

ERROR: Task (/home/support/STM32MP15-Ecosystem-v1.2.0/Distribution-Package/openstlinux-20-02-19/layers/meta-st/meta-st-stm32mp/recipes-st/images/st-image-vendorfs.bb:do_rootfs) failed with exit code '1'

ERROR: st-image-userfs-1.0-r0 do_rootfs: The postinstall intercept hook 'update_udev_hwdb' failed, details in /home/support/STM32MP15-Ecosystem-v1.2.0/Distribution-Package/openstlinux-20-02-19/build-openstlinuxx11-stm32mp1-disco/tmp-glibc/work/stm32mp1_disco-ostl-linux-gnueabi/st-image-userfs/1.0-r0/temp/log.do_rootfs

ERROR: st-image-userfs-1.0-r0 do_rootfs: Function failed: do_rootfs

ERROR: Logfile of failure stored in: /home/support/STM32MP15-Ecosystem-v1.2.0/Distribution-Package/openstlinux-20-02-19/build-openstlinuxx11-stm32mp1-disco/tmp-glibc/work/stm32mp1_disco-ostl-linux-gnueabi/st-image-userfs/1.0-r0/temp/log.do_rootfs.16927

ERROR: Task (/home/support/STM32MP15-Ecosystem-v1.2.0/Distribution-Package/openstlinux-20-02-19/layers/meta-st/meta-st-stm32mp/recipes-st/images/st-image-userfs.bb:do_rootfs) failed with exit code '1'

---------------------------------------------------------------------->

Must Starter Package be installed before start build?

Log files are attached.

2 REPLIES 2
Olivier GALLIEN
ST Employee

Hi @KSuch.2​ 

Please confirm you referred to https://wiki.st.com/stm32mpu/wiki/PC_prerequisites and properly install all packages required for Distribution package.

Hope it help,

Olivier

Olivier GALLIEN
In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.
KSuch.2
Associate II

Yes, all prerequisites are fulfilled. But repo init's (or repo sync's) advice to replace /usr/bin/repo is missed. The problem is solved. Suppose to place mention about this advice in step-by-step guide is useful. Thanks.