[PATCH] Install PAM modules and systemd units into /usr
authorMichael Biebl <biebl@debian.org>
Mon, 22 Jan 2024 21:52:25 +0000 (22:52 +0100)
committerOtto Kekäläinen <otto@debian.org>
Fri, 17 May 2024 05:02:04 +0000 (22:02 -0700)
Since Debian trixie all files need to be installed into their canonical
location under /usr.

Gbp-Pq: Name install-files-into-usr.patch

cmake/install_layout.cmake

index 877b147bc6eef07b404ad8f3d6a8f93dc94c74dd..29fbbccddca8e02858fac0e1e91c94ae4e422272 100644 (file)
@@ -194,10 +194,10 @@ SET(INSTALL_SUPPORTFILESDIR_DEB         "share/mysql")
 SET(INSTALL_MYSQLDATADIR_DEB            "/var/lib/mysql")
 
 SET(INSTALL_UNIX_ADDRDIR_DEB            "/run/mysqld/mysqld.sock")
-SET(INSTALL_SYSTEMD_UNITDIR_DEB         "/lib/systemd/system")
+SET(INSTALL_SYSTEMD_UNITDIR_DEB         "/usr/lib/systemd/system")
 SET(INSTALL_SYSTEMD_SYSUSERSDIR_DEB     "/usr/lib/sysusers.d")
 SET(INSTALL_SYSTEMD_TMPFILESDIR_DEB     "/usr/lib/tmpfiles.d")
-SET(INSTALL_PAMDIR_DEB                  "/lib/${CMAKE_CXX_LIBRARY_ARCHITECTURE}/security")
+SET(INSTALL_PAMDIR_DEB                  "/usr/lib/${CMAKE_CXX_LIBRARY_ARCHITECTURE}/security")
 SET(INSTALL_PAMDATADIR_DEB              "/etc/security")
 
 #