Skip to content

Commit

Permalink
debian: do Use ${env:...} syntax for installing with rename
Browse files Browse the repository at this point in the history
This wasn't supported by older dh-exec but it is now, so let's use it to
be more consistent with other files
  • Loading branch information
3v1n0 committed Mar 27, 2024
1 parent d3d6581 commit 10b16e8
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion debian/authd-example-broker.install
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/dh-exec

usr/bin/examplebroker-bin => ${AUTHD_DAEMONS_PATH}/authd-examplebroker
usr/bin/examplebroker-bin => ${env:AUTHD_DAEMONS_PATH}/authd-examplebroker

examplebroker/com.ubuntu.authd.ExampleBroker.conf /usr/share/dbus-1/system.d
examplebroker/com.ubuntu.authd.ExampleBroker.service /usr/share/dbus-1/system-services
2 changes: 1 addition & 1 deletion debian/authd.install
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ ${env:BUILT_PAM_LIBS_PATH}/pam_authd.so ${env:AUTHD_PAM_MODULES_PATH}
${env:BUILT_PAM_LIBS_PATH}/go-loader/pam_go_loader.so ${env:AUTHD_PAM_MODULES_PATH}

# Install NSS library with right soname
target/${DEB_HOST_RUST_TYPE}/release/libnss_authd.so => /usr/lib/${DEB_TARGET_GNU_TYPE}/libnss_authd.so.2
target/${env:DEB_HOST_RUST_TYPE}/release/libnss_authd.so => /usr/lib/${env:DEB_TARGET_GNU_TYPE}/libnss_authd.so.2
2 changes: 1 addition & 1 deletion debian/control
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Build-Depends: debhelper-compat (= 13),
dbus <!nocheck>,
dh-apport,
dh-cargo,
dh-exec,
dh-exec (>= 0.29),
dh-golang,
dctrl-tools,
golang-go (>= 2:1.22~),
Expand Down

0 comments on commit 10b16e8

Please sign in to comment.