Comment 14 for bug 156575

Revision history for this message
William Grant (wgrant) wrote :

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
==