petalinux 报错, do_rootfs:The postinstall intercept hook 'update_xxxx_cache' failed

这是配置 根文件系统rootfs 时相关的模块没有打开导致

具体位置可以在 petalinux-config -c rootfs 的界面中 ,按 ?打开帮助显示配置文件所在位置 

petalinux 报错, do_rootfs:The postinstall intercept hook 'update_xxxx_cache' failed

petalinux 报错, do_rootfs:The postinstall intercept hook 'update_xxxx_cache' failed

在配置文件中搜索 update_xxxx_cache 中的 xxxx,找到具体位置,然后 在 UI 界面打开相应功能即可

 

实例1 

报错

petalinux 报错, do_rootfs:The postinstall intercept hook 'update_xxxx_cache' failed

打开 ... / prj / build / misc / rootfs_config , 查找到 pixbuf ,定位在UI中的位置

petalinux 报错, do_rootfs:The postinstall intercept hook 'update_xxxx_cache' failedpetalinux 报错, do_rootfs:The postinstall intercept hook 'update_xxxx_cache' failed

打开对应的开关,重新编译即可

 

实例2

petalinux 报错, do_rootfs:The postinstall intercept hook 'update_xxxx_cache' failed

petalinux 报错, do_rootfs:The postinstall intercept hook 'update_xxxx_cache' failedpetalinux 报错, do_rootfs:The postinstall intercept hook 'update_xxxx_cache' failed

 

实例3 

petalinux 报错, do_rootfs:The postinstall intercept hook 'update_xxxx_cache' failed

petalinux 报错, do_rootfs:The postinstall intercept hook 'update_xxxx_cache' failedpetalinux 报错, do_rootfs:The postinstall intercept hook 'update_xxxx_cache' failedpetalinux 报错, do_rootfs:The postinstall intercept hook 'update_xxxx_cache' failedpetalinux 报错, do_rootfs:The postinstall intercept hook 'update_xxxx_cache' failed