Three things need doing:
- Remove the PPA purpose check from the dh_strip replacement.
- Uncomment the dpkg-distaddfile invocation in pkg-create-dbgsym.
- Fix pkg-create-dbgsym to add a Source field to produced ddebs if one isn't already present. Something like the below works fine, and isn't any more revolting than the rest of it.
I've tested a version with these modifications on a few packages with my local Soyuz setup, and it works fine.
==
# binaries named the same as the source will lack a Source field.
# since we are renaming binaries, we might need to add one.
if [ -z "`grep ^Source: $dp/DEBIAN/control`"]; then
sed -i "s/^Package:.*$/&\nSource: $pkgname/" $dp/DEBIAN/control
fi
==
Three things need doing:
- Remove the PPA purpose check from the dh_strip replacement.
- Uncomment the dpkg-distaddfile invocation in pkg-create-dbgsym.
- Fix pkg-create-dbgsym to add a Source field to produced ddebs if one isn't already present. Something like the below works fine, and isn't any more revolting than the rest of it.
I've tested a version with these modifications on a few packages with my local Soyuz setup, and it works fine.
== control` "]; then .*$/&\nSource: $pkgname/" $dp/DEBIAN/control
# binaries named the same as the source will lack a Source field.
# since we are renaming binaries, we might need to add one.
if [ -z "`grep ^Source: $dp/DEBIAN/
sed -i "s/^Package:
fi
==