On 5 September 2013 15:19, Burton, Ross <[email protected]> wrote: > On 5 September 2013 14:09, Stanacar, StefanX <[email protected]> > wrote: >> I just tested that the third option can be done (for this case at least) >> by changing ConditionPathExists=/proc/sys/fs/binfmt_misc/ to >> ConditionDirectoryNotEmpty=/proc/sys/fs/binfmt_misc/ for >> proc-sys-fs-binfmt_misc.automount unit file and >> "df" doesn't complain as it doesn't attempt to automount anymore. On a >> system which does have that module loaded there are two files there so >> that's why the condition works. > > Confirmed, patch incoming.
I take it back, this is wrong. When the module is available on disk but not yet loaded the binfmt_misc directory is empty, so this change means it shouldn't be automounting. It is, which is... interesting. Ross _______________________________________________ Openembedded-core mailing list [email protected] http://lists.openembedded.org/mailman/listinfo/openembedded-core
