Comment 4 for bug 1443364

Revision history for this message
Martin Pitt (pitti) wrote : Re: gpu-manager systemd unit doesn't always work as expected

Ah, indeed /var/lib/dpkg/info/ubuntu-drivers-common.postinst has no unit enablement code at all. I suspect the conditional code in debian/rules which is supposed to call this stopped working:

        # on architectures where we build gpu-manager, install the systemd unit
        if [ -d debian/tmp/lib/systemd ]; then \
                dh_systemd_enable; \
                dh_install -p ubuntu-drivers-common lib/systemd; \
        fi

indeed the build log shows:

Can't stat debian/nvidia-common: No such file or directory
 at /usr/bin/dh_systemd_enable line 180.
Can't stat debian/fglrx-pxpress: No such file or directory
 at /usr/bin/dh_systemd_enable line 180.