|
|
@@ -33,6 +33,14 @@ calc_installed_size() {
|
|
|
echo "$total"
|
|
|
}
|
|
|
|
|
|
+# NOTE: a DEBIAN/control file takes NO comments - dpkg-deb rejects a '#' line
|
|
|
+# with "parsing file ... near line N". So the reasoning behind the relationships
|
|
|
+# in templates/control.* lives here instead:
|
|
|
+# server Breaks an older runner, and runner Breaks an older server, because
|
|
|
+# both link libsmartbotic-db-client and are compiled against the same
|
|
|
+# DB_CLIENT_VERSION pin. Every 2.x client shares one SONAME, so a mismatched
|
|
|
+# pair installs cleanly and only segfaults on the next restart - the two
|
|
|
+# binaries have to move together.
|
|
|
build_deb() {
|
|
|
local pkg_name="$1" staging_dir="$2" arch="$3"
|
|
|
local installed_size; installed_size="$(calc_installed_size "$staging_dir")"
|