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
fd61263c
Commit
fd61263c
authored
Aug 23, 2016
by
eric pellegrini
Browse files
Updated the Debian builder script for computing the installed size field
parent
8b0873c4
Changes
1
Hide whitespace changes
Inline
Side-by-side
BuildServer/Debian/build_deb.sh
View file @
fd61263c
...
...
@@ -100,5 +100,9 @@ cp -r build/lib.linux-x86_64-2.7/MDANSE ${DEBIAN_DIST_DIR}
cp
-r
/usr/local/lib/python2.7/dist-packages/Scientific
*
${
DEBIAN_DIST_DIR
}
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
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