在构建 openstlinux-5.4-dunfell-mp1-20-06-24 时,我总是遇到以下错误:
- ERROR: st-image-resize-initrd-1.0-r0 do_rootfs: The postinstall intercept hook 'update_desktop_database' failed, details in /mnt/data/dist-pack/openstlinux-5.4-dunfell-mp1-20-06-24/build-openstlinuxweston-STM32mp1/tmp-glibc/work/stm32mp1-ostl-linux-gnueabi/st-image-resize-initrd/1.0-r0/temp/log.do_rootfs
- ERROR: Logfile of failure stored in: /mnt/data/dist-pack/openstlinux-5.4-dunfell-mp1-20-06-24/build-openstlinuxweston-stm32mp1/tmp-glibc/work/stm32mp1-ostl-linux-gnueabi/st-image-resize-initrd/1.0-r0/temp/log.do_rootfs.3210
- ERROR: Task (/mnt/data/dist-pack/openstlinux-5.4-dunfell-mp1-20-06-24/layers/meta-st/meta-st-openstlinux/recipes-st/images/st-image-resize-initrd.bb:do_rootfs) failed with exit code '1'
日志文件包含以下内容:
- [...]
- NOTE: Running intercept scripts:
- NOTE: > Executing update_desktop_database intercept ...
- NOTE: Exit code 127. Output:
- /mnt/data/dist-pack/openstlinux-5.4-dunfell-mp1-20-06-24/build-openstlinuxweston-stm32mp1/tmp-glibc/work/stm32mp1-ostl-linux-gnueabi/st-image-resize-initrd/1.0-r0/intercept_scripts-485140355b6661d2198dd5380565982fade0f39d951f5e0daaeccda7f3a73ed0/update_desktop_database: line 7: update-desktop-database: command not found
- ERROR: The postinstall intercept hook 'update_desktop_database' failed, details in /mnt/data/dist-pack/openstlinux-5.4-dunfell-mp1-20-06-24/build-openstlinuxweston-stm32mp1/tmp-glibc/work/stm32mp1-ostl-linux-gnueabi/st-image-resize-initrd/1.0-r0/temp/log.do_rootfs
- DEBUG: Python function do_rootfs finished
为什么找不到 `update-desktop-database` 命令?我该如何解决这个问题?
非常感谢。
亲切的问候!