public inbox for pbs-devel@lists.proxmox.com
 help / color / mirror / Atom feed
From: "Fabian Grünbichler" <f.gruenbichler@proxmox.com>
To: pbs-devel@lists.proxmox.com
Subject: [pbs-devel] [PATCH proxmox-backup 2/2] build: call dh-cargo-built-using
Date: Wed, 10 Jul 2024 14:29:25 +0200	[thread overview]
Message-ID: <20240710122925.573552-2-f.gruenbichler@proxmox.com> (raw)
In-Reply-To: <20240710122925.573552-1-f.gruenbichler@proxmox.com>

to record the linked dependencies/crates for future analysis.

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
---

Notes:
    REQUIRES some of our crates to be converted to machine-readable copyright and
    bumped before it can be applied!
    
    /usr/share/cargo/bin/dh-cargo-built-using: abort: Not in machine-readable format: /usr/share/doc/librust-proxmox-acme-dev/copyright
    /usr/share/cargo/bin/dh-cargo-built-using: abort: Not in machine-readable format: /usr/share/doc/librust-proxmox-borrow-dev/copyright
    /usr/share/cargo/bin/dh-cargo-built-using: abort: Not in machine-readable format: /usr/share/doc/librust-proxmox-fuse-dev/copyright
    /usr/share/cargo/bin/dh-cargo-built-using: abort: Not in machine-readable format: /usr/share/doc/librust-proxmox-uuid-dev/copyright
    /usr/share/cargo/bin/dh-cargo-built-using: abort: Not in machine-readable format: /usr/share/doc/librust-pxar-dev/copyright

 debian/rules | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/debian/rules b/debian/rules
index a03fe11ba..ed93ab1ea 100755
--- a/debian/rules
+++ b/debian/rules
@@ -48,6 +48,9 @@ override_dh_auto_install:
 	    PROXY_USER=backup \
 	    LIBDIR=/usr/lib/$(DEB_HOST_MULTIARCH)
 
+execute_after_dh_auto_install:
+	/usr/share/cargo/bin/dh-cargo-built-using $(DEB_CARGO_PACKAGE)
+
 override_dh_installsystemd:
 	dh_installsystemd -pproxmox-backup-server  proxmox-backup-daily-update.timer
 	# note: we start/try-reload-restart services manually in postinst
-- 
2.39.2



_______________________________________________
pbs-devel mailing list
pbs-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pbs-devel

  reply	other threads:[~2024-07-10 12:29 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-07-10 12:29 [pbs-devel] [PATCH proxmox-backup 1/2] build: ensure wrapper config is picked up Fabian Grünbichler
2024-07-10 12:29 ` Fabian Grünbichler [this message]
2024-07-18 10:38 ` [pbs-devel] applied: " Thomas Lamprecht

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20240710122925.573552-2-f.gruenbichler@proxmox.com \
    --to=f.gruenbichler@proxmox.com \
    --cc=pbs-devel@lists.proxmox.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal