Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
B
bcc
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
bcc
Commits
738a617a
Commit
738a617a
authored
Feb 09, 2017
by
4ast
Committed by
GitHub
Feb 09, 2017
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #958 from iovisor/dpkg-deb-compress
Use fast compression in test deb builds
parents
74155c5b
7a462762
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletion
+7
-1
scripts/build-deb.sh
scripts/build-deb.sh
+7
-1
No files found.
scripts/build-deb.sh
View file @
738a617a
...
@@ -24,14 +24,20 @@ pushd $TMP
...
@@ -24,14 +24,20 @@ pushd $TMP
tar
xf bcc_
$revision
.orig.tar.gz
tar
xf bcc_
$revision
.orig.tar.gz
cd
bcc
cd
bcc
debuild
=
debuild
if
[[
"
$buildtype
"
=
"test"
]]
;
then
if
[[
"
$buildtype
"
=
"test"
]]
;
then
# when testing, use faster compression options
debuild+
=
" --preserve-envvar PATH"
echo
-e
'#!/bin/bash\nexec /usr/bin/dpkg-deb -z1 "$@"'
\
|
sudo tee
/usr/local/bin/dpkg-deb
sudo chmod
+x /usr/local/bin/dpkg-deb
dch
-b
-v
$revision
-
$release
"
$git_subject
"
dch
-b
-v
$revision
-
$release
"
$git_subject
"
fi
fi
if
[[
"
$buildtype
"
=
"nightly"
]]
;
then
if
[[
"
$buildtype
"
=
"nightly"
]]
;
then
dch
-v
$revision
-
$release
"
$git_subject
"
dch
-v
$revision
-
$release
"
$git_subject
"
fi
fi
DEB_BUILD_OPTIONS
=
"nocheck parallel=
${
PARALLEL
}
"
debuild
-us
-uc
DEB_BUILD_OPTIONS
=
"nocheck parallel=
${
PARALLEL
}
"
$
debuild
-us
-uc
popd
popd
cp
$TMP
/
*
.deb
.
cp
$TMP
/
*
.deb
.
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