Hi Marc, On Tuesday, 7 February 2017 2:20:09 PM NZDT Marc Ferland wrote: > I would like to disable the /etc/version file from being installed to > the rootfs. How do I proceed? It looks hard-coded at first glance...?
It is hardcoded, however it would be trivial to delete it in a shell function added to ROOTFS_POSTPROCESS_COMMAND e.g. in the image recipe (or a class inherited from the image recipe): remove_etc_version () { rm ${IMAGE_ROOTFS}${sysconfdir}/version } ROOTFS_POSTPROCESS_COMMAND += "remove_etc_version ; " Cheers, Paul -- Paul Eggleton Intel Open Source Technology Centre -- _______________________________________________ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto