ltq-vmmc: update permission handling
authorSebastian Kemper <sebastian_ml@gmx.net>
Tue, 9 Jun 2020 17:18:55 +0000 (19:18 +0200)
committerPetr Štetiar <ynezz@true.cz>
Sat, 11 Jul 2020 12:49:10 +0000 (14:49 +0200)
commitff8b8fee890dae345d6a5189a8633214f6a4da3a
treeef3e266d04a8c27079639360fb92c666fb16783f
parent2a5460b11b9718ed5f398fcc381edc89bce72695
ltq-vmmc: update permission handling

The firmware is currently just copied. It can end up with o= on the
device (this is the case for voice_ar9_firmware.bin for instance).
Instead of copying it the Makefile is changed to use the macro
"$(INSTALL_DATA)" in order for the file to be world-readable.

While at it refactor the device node creation in the init script with
loop.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
[removed 2nd part with custom group handling for device nodes]
Signed-off-by: Petr Štetiar <ynezz@true.cz>
package/kernel/lantiq/ltq-vmmc/Makefile
package/kernel/lantiq/ltq-vmmc/files/vmmc.init