From bd5f7cc09db30f8ace71ff607bc41aab290d0a90 Mon Sep 17 00:00:00 2001 From: Chih-Wei Huang Date: Fri, 29 Jul 2016 19:49:58 +0800 Subject: [PATCH] init.rc: symlink /lib to /system/lib Currently more linux drivers use request_firmware_nowait() to load firmwares. It requires the firmwares exist in the standard path. Create the symlink before ueventd started to ensure firmwares could be loaded correctly. --- rootdir/init.rc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/rootdir/init.rc b/rootdir/init.rc index bb76a0189..49c2bb5cf 100644 --- a/rootdir/init.rc +++ b/rootdir/init.rc @@ -28,6 +28,9 @@ on early-init mount debugfs /sys/kernel/debug /sys/kernel/debug mode=755 + # for /lib/firmware + symlink system/lib /lib + start ueventd on init -- 2.11.0