]> code.ossystems Code Review - openembedded-core.git/commit
initramfs-framework: Allow directories with spaces
authorOtavio Salvador <otavio@ossystems.com.br>
Mon, 11 Sep 2017 17:37:16 +0000 (14:37 -0300)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 12 Sep 2017 15:53:31 +0000 (16:53 +0100)
commitafc73dd6346325de0a39997a3045b6659f9658b5
tree94a5d1604a83df74ff5b67e5290fe9b5d21d3252
parent2d2b4d7383c93174fe8eeb72440e81345df71295
initramfs-framework: Allow directories with spaces

When mdev module loads the Linux kernel modules, it can visit
directories with spaces. To allow that, we must quote the variable
otherwise it misunderstand it arguments as multiple entries.

Fixes:

,----
| Freeing unused kernel memory: 3072K (80d00000 - 81000000)
| cat: can't open '/sys/devices/platform/Vivante': No such file or directory
| cat: can't open 'GCCore/modalias': No such file or directory
`----

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-core/initrdscripts/initramfs-framework/mdev