Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Scientific Software
MDANSE
Commits
d77e40e0
Commit
d77e40e0
authored
Aug 23, 2016
by
eric pellegrini
Browse files
Updated the Debian builder script for computing the installed size field
parent
9a9e4010
Changes
1
Hide whitespace changes
Inline
Side-by-side
BuildServer/Debian/build_deb.sh
View file @
d77e40e0
...
...
@@ -102,7 +102,7 @@ cp -r /usr/local/lib/python2.7/dist-packages/MMTK* ${DEBIAN_DIST_DIR}
# Compute the Installed-Size field for the debian package
instSize
=
$(
du
${
DEBIAN_ROOT_DIR
}
-b
-s
|
cut
-f1
)
sed
-i
"s/Installed-Size:.*/Installed-Size:
$((
1
+(
instSize/1024
))
)/g"
BuildServer/Debian
/DEBIAN/control
sed
-i
"s/Installed-Size:.*/Installed-Size:
$((
1
+(
instSize/1024
))
)/g"
${
DEBIAN_ROOT_DIR
}
/DEBIAN/control
export
TMPDIR
=
.
fakeroot dpkg-deb
-b
${
DEBIAN_ROOT_DIR
}
${
DEBIAN_ROOT_DIR
}
/MDANSE-
${
VERSION_NAME
}
-
${
DISTRO
}
-
${
ARCH
}
.deb
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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