Commit 0cf7da6d authored by Tim Gardner's avatar Tim Gardner

UBUNTU: [debian] find-obsolete-firmware: Use correct path

Signed-off-by: default avatarTim Gardner <tim.gardner@canonical.com>
parent e7b8fd4b
...@@ -52,7 +52,7 @@ cp debian/build/build-generic/.config . ...@@ -52,7 +52,7 @@ cp debian/build/build-generic/.config .
mkdir -p $LF mkdir -p $LF
make firmware_install INSTALL_MOD_PATH=`pwd` make firmware_install INSTALL_MOD_PATH=`pwd`
cd $LF (cd $LF
find . -type f | while read f find . -type f | while read f
do do
BN="`basename $f`" BN="`basename $f`"
...@@ -73,7 +73,7 @@ do ...@@ -73,7 +73,7 @@ do
echo "$f does not exist in $FW" | $TEE $LO echo "$f does not exist in $FW" | $TEE $LO
fi fi
fi fi
done done)
# #
# Check for firmware files referenced by the kernel # Check for firmware files referenced by the kernel
...@@ -81,12 +81,11 @@ done ...@@ -81,12 +81,11 @@ done
# #
cat $FWINFO | while read fwi f cat $FWINFO | while read fwi f
do do
if [ ! -f $f ] if [ -s lib/firmware/$f ] || [ -s $FW/$f ]
then
if [ ! -f $FW/$f ]
then then
continue
else
echo "Missing firmware $f" | $TEE $LO echo "Missing firmware $f" | $TEE $LO
fi fi
fi
done done
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment