linux: fix build if /lib/firmeware is not avaible before creating the symlink

Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
Stephan Raue 2014-10-16 14:30:28 +02:00
parent 55f7da3dbc
commit 4a82afe95b

View File

@ -213,7 +213,8 @@ makeinstall_init() {
}
post_install() {
ln -sf /storage/.config/firmware/ $INSTALL/lib/firmware/updates
mkdir -p $INSTALL/lib/firmware/
ln -sf /storage/.config/firmware/ $INSTALL/lib/firmware/updates
enable_service cpufreq-threshold.service
}