On Fri, 27 Oct 2023, Helmut Grohne wrote: > On Tue, Oct 24, 2023 at 10:08:00AM +0200, Helmut Grohne wrote: > > We want to change dh_installsystemd such that it installs units below > > /usr in order to finalize the /usr-merge transition via DEP17. When > > doing so, autorandr happes to install the upstream unit (via > > dh_auto_install) below /lib and debian/autorand.service (via > > dh_installsystemd) below /usr/lib. Doing so is a policy violation and > > this bug will become release critical once I upload debhelper. I'm > > attaching a patch that disables the installation of the upstream unit. > > Once you go back to the upstream unit, please leave SYSTEMD_UNIT_DIR > > unset, because it'll then pick up the right value from pkgconfig and > > dh_installsystemd now supports generating maintainer scripts from both > > locations. > > Jochen Sprickerhof made me aware that my original patch changes the udev > rules file and breaking it in that way, because systemd is removed from > TARGETS in Makefile. I'm attaching an updated patch to avoid this > unintentional issue. Thanks for the attention to detail.
Thanks for all of the patches! My current plan is to add the build-dependencies so the pkg-config bits work correctly and then just remove the manual setting of the systemd configuration line, so when you do the switch, the build will just happen correctly. [The upstream systemd service is now in pretty good shape, so there's no point in keeping the Debian specific version any more.] -- Don Armstrong https://www.donarmstrong.com I cannot find rest Because I am powerless To amend a broken world. -- Guy Gavriel Kay _Under Heaven_ p295