[OE-core] [PATCH] qemu: add recommend of kernel-modules for all qemu machines

Burton, Ross ross.burton at intel.com
Thu Sep 5 14:39:52 UTC 2013


On 5 September 2013 15:19, Burton, Ross <ross.burton at intel.com> wrote:
> On 5 September 2013 14:09, Stanacar, StefanX <stefanx.stanacar at intel.com> 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



More information about the Openembedded-core mailing list