Source: setserial
Version: 2.17-53
Tags: patch trixie sid
User: [email protected]
Usertags: dep17m2

We want to finalize the /usr-merge transition by moving all aliased
files from / to /usr via DEP17 to avoid negative effects arising from
aliasing. setserial is involved, because it installs both /bin/setserial
and systemd units. While the systemd units will move automatically on
the next upload due to using dh_installsystemd, /bin/setserial will not
move automatically. Hence, I'm attaching a patch. This patch should not
be uploaded to bookworm-backports or earlier as it would violate the
file move moratorium there.

Helmut
diff --minimal -Nru setserial-2.17/debian/changelog 
setserial-2.17/debian/changelog
--- setserial-2.17/debian/changelog     2020-12-02 00:39:00.000000000 +0100
+++ setserial-2.17/debian/changelog     2024-02-10 10:01:23.000000000 +0100
@@ -1,3 +1,10 @@
+setserial (2.17-53.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Move setserial to /usr/bin. (Closes: #-1)
+
+ -- Helmut Grohne <[email protected]>  Sat, 10 Feb 2024 10:01:23 +0100
+
 setserial (2.17-53) unstable; urgency=medium
 
   * update watch file
diff --minimal -Nru setserial-2.17/debian/dirs setserial-2.17/debian/dirs
--- setserial-2.17/debian/dirs  2020-12-02 00:39:00.000000000 +0100
+++ setserial-2.17/debian/dirs  2024-02-10 10:00:53.000000000 +0100
@@ -1,5 +1,5 @@
-bin
 etc/init.d
+usr/bin
 usr/share/doc/setserial
 usr/share/man/man8
 var/lib/setserial
diff --minimal -Nru setserial-2.17/debian/rules setserial-2.17/debian/rules
--- setserial-2.17/debian/rules 2020-12-02 00:39:00.000000000 +0100
+++ setserial-2.17/debian/rules 2024-02-10 10:00:26.000000000 +0100
@@ -56,7 +56,7 @@
        dh_prep
 
        dh_installdirs
-       install -g root -m 755 -o root setserial   $(DESTDIR)/bin
+       install -g root -m 755 -o root setserial   $(DESTDIR)/usr/bin
        install -g root -m 644 -o root    setserial.8 \
                $(DESTDIR)/usr/share/man/man8/setserial.8
        echo ${arch}

Reply via email to