commit a1f58b0ef2fbfdd40d7b3540b8b8e787a95556d5
parent 2a3c3e5ae18c36e53760e6b5733d0cb051b72f3e
Author: Christian Grothoff <christian@grothoff.org>
Date: Wed, 23 Jul 2025 00:43:10 +0200
fix #10203
Diffstat:
3 files changed, 9 insertions(+), 3 deletions(-)
diff --git a/packaging/ng/buildscripts/generic.sh b/packaging/ng/buildscripts/generic.sh
@@ -52,10 +52,15 @@ mk-build-deps --install --tool='apt-get -o Debug::pkgProblemResolver=yes --no-in
# We do a sparse checkout, so we need to hint
# the version to the build system.
-echo $DEB_VERSION >.version
-dpkg-buildpackage -rfakeroot -b -uc -us
+echo "$DEB_VERSION" >.version
+export DEB_DBG_SYMBOLS_REPO="debian/.debhelper/"
+mkdir -p "${DEB_DBG_SYMBOLS_REPO}"
+touch "${DEB_DBG_SYMBOLS_REPO}/debian-symbols-pool"
+export DEB_BUILD_MAINT_OPTIONS=debug
+dpkg-buildpackage -rfakeroot -b -uc -us
cp ../*.deb /pkgdir/
+cp ../*.ddeb /pkgdir/
# Save current deb file names for this package.
echo >/pkgdir/$PACKAGE.built.current
diff --git a/packaging/ng/server-side/include-ubuntu-noble.sh b/packaging/ng/server-side/include-ubuntu-noble.sh
@@ -5,3 +5,4 @@ set -eu
cd www/apt/ubuntu
reprepro includedeb noble ~/ubuntu-noble/*.deb
+reprepro includeddeb noble ~/ubuntu-noble/*.ddeb
diff --git a/packaging/ng/taler-pkg b/packaging/ng/taler-pkg
@@ -250,7 +250,7 @@ def publish(cfg):
return
debs = [Path(f"./packages/{distro}/") / x for x in debs]
subprocess.run(
- ["ssh", f"taler-packaging@{host}", f"rm -f '/home/taler-packaging/{distro}/'*.deb"], check=True
+ ["ssh", f"taler-packaging@{host}", f"rm -f '/home/taler-packaging/{distro}/'*.deb '/home/taler-packaging/{distro}/'*.ddeb" ], check=True
)
subprocess.run(
["scp", "--", *debs, f"taler-packaging@{host}:{distro}/"], check=True