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
f86d546b
Commit
f86d546b
authored
Feb 24, 2012
by
Michal Marek
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'kbuild/rc-fixes' into kbuild/misc
Reason: Serialize changes to scripts/package/builddeb
parents
65b2576c
42f1c01b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
12 deletions
+6
-12
scripts/depmod.sh
scripts/depmod.sh
+0
-6
scripts/package/builddeb
scripts/package/builddeb
+6
-6
No files found.
scripts/depmod.sh
View file @
f86d546b
...
...
@@ -9,12 +9,6 @@ fi
DEPMOD
=
$1
KERNELRELEASE
=
$2
if
!
"
$DEPMOD
"
-V
2>/dev/null |
grep
-q
module-init-tools
;
then
echo
"Warning: you may need to install module-init-tools"
>
&2
echo
"See http://www.codemonkey.org.uk/docs/post-halloween-2.6.txt"
>
&2
sleep
1
fi
if
!
test
-r
System.map
-a
-x
"
$DEPMOD
"
;
then
exit
0
fi
...
...
scripts/package/builddeb
View file @
f86d546b
...
...
@@ -238,14 +238,14 @@ EOF
fi
# Build header package
(
cd
$srctree
;
find
.
-name
Makefile
-o
-name
Kconfig
\*
-o
-name
\*
.pl
>
/tmp/files
$$
)
(
cd
$srctree
;
find
arch
/
$SRCARCH
/include include scripts
-type
f
>>
/tmp/files
$$
)
(
cd
$objtree
;
find .config Module.symvers include scripts
-type
f
>>
/tmp/objfiles
$$
)
(
cd
$srctree
;
find
.
-name
Makefile
-o
-name
Kconfig
\*
-o
-name
\*
.pl
>
"
$objtree
/debian/hdrsrcfiles"
)
(
cd
$srctree
;
find
arch
/
$SRCARCH
/include include scripts
-type
f
>>
"
$objtree
/debian/hdrsrcfiles"
)
(
cd
$objtree
;
find .config Module.symvers include scripts
-type
f
>>
"
$objtree
/debian/hdrobjfiles"
)
destdir
=
$kernel_headers_dir
/usr/src/linux-headers-
$version
mkdir
-p
"
$destdir
"
(
cd
$srctree
;
tar
-c
-f
-
-T
/tmp/files
$$
)
|
(
cd
$destdir
;
tar
-xf
-
)
(
cd
$objtree
;
tar
-c
-f
-
-T
/tmp/objfiles
$$
)
|
(
cd
$destdir
;
tar
-xf
-
)
rm
-f
/tmp/files
$$
/tmp/objfiles
$$
(
cd
$srctree
;
tar
-c
-f
-
-T
"
$objtree
/debian/hdrsrcfiles"
)
|
(
cd
$destdir
;
tar
-xf
-
)
(
cd
$objtree
;
tar
-c
-f
-
-T
"
$objtree
/debian/hdrobjfiles"
)
|
(
cd
$destdir
;
tar
-xf
-
)
rm
-f
"
$objtree
/debian/hdrsrcfiles"
"
$objtree
/debian/hdrobjfiles"
arch
=
$(
dpkg
--print-architecture
)
cat
<<
EOF
>> debian/control
...
...
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