Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
MariaDB
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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
86f59e86
Commit
86f59e86
authored
Apr 10, 2020
by
Otto Kekäläinen
Committed by
Vicențiu-Marian Ciorbaru
Apr 23, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Deb: Use 'eatmydata' when available to build faster with less disk I/O
parent
03119c58
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
1 deletion
+8
-1
debian/autobake-deb.sh
debian/autobake-deb.sh
+8
-1
No files found.
debian/autobake-deb.sh
View file @
86f59e86
...
...
@@ -128,10 +128,17 @@ then
BUILDPACKAGE_FLAGS
=
"-b"
fi
# Use eatmydata is available to build faster with less I/O, skipping fsync()
# during the entire build process (safe because a build can always be restarted)
if
which eatmydata
>
/dev/null
then
BUILDPACKAGE_PREPEND
=
eatmydata
fi
# Build the package
# Pass -I so that .git and other unnecessary temporary and source control files
# will be ignored by dpkg-source when creating the tar.gz source package.
fakeroot dpkg-buildpackage
-us
-uc
-I
$BUILDPACKAGE_FLAGS
fakeroot
$BUILDPACKAGE_PREPEND
dpkg-buildpackage
-us
-uc
-I
$BUILDPACKAGE_FLAGS
# If the step above fails due to missing dependencies, you can manually run
# sudo mk-build-deps debian/control -r -i
...
...
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