On Fri, 9 Nov 2018 at 14:48, Donal Morrissey <donal.morris...@gmail.com> wrote: > Thank you for your help. My build is using a layer which is generating a file > in a ROOTFS_POSTPROCESS_COMMAND command. I would like to modify this file as > part of the yocto build, but I'd prefer not to modify/fork this layer as it > is from a vender. > > I'm creating my own layer, which will modify the file created in the vender > layer's ROOTFS_POSTPROCESS_COMMAND command. If I use pkg_postinst, then the > file will not have been created when pkg_postinst is called, because (as far > as i understand) the ROOTFS_POSTPROCESS_COMMAND commands will only be > executed after all packages have been installed on the root filesystem image.
You'll have to set your own ROOTFS_POSTPROCESS_COMMAND in your image recipe. Ross -- _______________________________________________ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto