Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
e7b8fd4b
Commit
e7b8fd4b
authored
Nov 28, 2012
by
Tim Gardner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
UBUNTU: [debian] get-firmware: Filter new files through fwinfo
Signed-off-by:
Tim Gardner
<
tim.gardner@canonical.com
>
parent
e94db9b9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
5 deletions
+19
-5
debian/scripts/misc/get-firmware
debian/scripts/misc/get-firmware
+19
-5
No files found.
debian/scripts/misc/get-firmware
View file @
e7b8fd4b
...
...
@@ -18,6 +18,17 @@ then
echo
You must run this script from the root of the repo
exit
1
fi
.
debian/debian.env
NFWINFO
=
"
`
find
$DEBIAN
-name
fwinfo|wc
-l
`
"
if
[
!
"
$NFWINFO
"
=
"1"
]
then
echo
Your repo is hosed. There can only be one fwinfo file.
find
$DEBIAN
-name
fwinfo
exit
1
fi
FWINFO
=
"
`
pwd
`
/
`
find
$DEBIAN
-name
fwinfo
`
"
CDIR
=
`
pwd
`
OFW
=
$1
...
...
@@ -30,12 +41,15 @@ cd $NFW
(
find
.
-type
f | egrep
-v
"debian|git|LICEN|WHEN|READ|Make|configure"
|
sed
's;\./;;'
|
\
while
read
f
do
if
[
!
-f
$OFW
/
$f
]
then
echo
$f
elif
!
cmp
$f
$OFW
/
$f
>
/dev/null
if
grep
-q
$f
$FWINFO
then
echo
$f
if
[
!
-f
$OFW
/
$f
]
then
echo
$f
elif
!
cmp
$f
$OFW
/
$f
>
/dev/null
then
echo
$f
fi
fi
done
)
|
\
while
read
f
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment