Only a root-user can modify the files under /lib/firmware.
Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>
echo "Installing firmware..."
tmpfwfile=`mktemp`
cat carlfw/carl9170.fw carlfw/carl9170.dsc > $tmpfwfile
echo "Installing firmware..."
tmpfwfile=`mktemp`
cat carlfw/carl9170.fw carlfw/carl9170.dsc > $tmpfwfile
- install $tmpfwfile /lib/firmware/carl9170-$CONFIG_CARL9170FW_RELEASE_VERSION.fw
+ sudo install $tmpfwfile /lib/firmware/carl9170-$CONFIG_CARL9170FW_RELEASE_VERSION.fw