On 11/15/2017 05:10 PM, Martyn Welch wrote:
Sometimes we wish to ensure that files or directories are not installed
somewhere that may prove detrimental to the operation of the system. For
example, this may be the case if files are placed in a directory that is
utilised as a mount point at run time, thus making them inaccessible once
when the mount point is being utilised.

Implement the prohibited paths QA test, which enables such locations to be
specified in a "PROHIBITED_PATHS" variable. This implementation allows for
a colon separated list of paths to be provided. Shell style wildcards can
be used.

The test does nothing if PROHIBITED_PATHS is not set. Can you set it in core-image.bbclass to some reasonable default common to reference images? Something like /mnt /media /tmp /run /var/run /var/tmp (not sure at the moment what the mount points in those images are).

Alex
--
_______________________________________________
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto

Reply via email to