Commit 9e1691b7 authored by Andy Whitcroft's avatar Andy Whitcroft Committed by Juerg Haefliger
parent 50551364
...@@ -67,6 +67,9 @@ getall() { ...@@ -67,6 +67,9 @@ getall() {
do do
dpkg-deb --extract $filename tmp dpkg-deb --extract $filename tmp
done done
# FORM 1: linux-image et al extracted here.
if [ -d tmp/boot ]; then
echo -n "images..."
find tmp -name "*.ko" | while read f; do find tmp -name "*.ko" | while read f; do
modinfo $f | grep ^firmware >> $fwinfo modinfo $f | grep ^firmware >> $fwinfo
done done
...@@ -100,6 +103,18 @@ getall() { ...@@ -100,6 +103,18 @@ getall() {
version=`cat $abidir/$arch/$sub.compiler` version=`cat $abidir/$arch/$sub.compiler`
echo -n "$version..." echo -n "$version..."
) )
# FORM 2: moduleinfo packages
# cranky-fix -- modinfo supported
else
echo -n "buildinfo..."
base="tmp/usr/lib/linux/${verabi}-${sub}"
mv "$base/abi" "$abidir/$arch/$sub"
for comp in 'modules' 'retpoline' 'compiler'
do
mv "$base/$comp" "$abidir/$arch/$sub.$comp"
done
cat "$base/fwinfo" >>"$fwinfo"
fi
rm -rf tmp $filenames rm -rf tmp $filenames
echo "done." echo "done."
else else
......
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