diff -Nru rsnapshot-1.4.4/debian/changelog rsnapshot-1.4.4/debian/changelog --- rsnapshot-1.4.4/debian/changelog 2022-06-24 12:02:11.000000000 +0000 +++ rsnapshot-1.4.4/debian/changelog 2022-07-17 14:16:36.000000000 +0000 @@ -1,3 +1,10 @@ +rsnapshot (1.4.4-3) unstable; urgency=medium + + * d/rules: specify paths so merged usr build is reproducible (Closes: + #915850). + + -- Mark Hindley Sun, 17 Jul 2022 15:16:36 +0100 + rsnapshot (1.4.4-2) unstable; urgency=medium * d/rules: specify PATH for build so unmerged usr paths are discovered diff -Nru rsnapshot-1.4.4/debian/rules rsnapshot-1.4.4/debian/rules --- rsnapshot-1.4.4/debian/rules 2022-06-24 12:02:11.000000000 +0000 +++ rsnapshot-1.4.4/debian/rules 2022-07-17 14:16:36.000000000 +0000 @@ -3,11 +3,17 @@ export DH_VERBOSE=1 export DEB_BUILD_MAINT_OPTIONS=hardening=+all export PREFIX=/usr -export PATH=/sbin:/usr/sbin:/bin:/usr/bin %: dh $@ +# Specify paths to build reproducibly on merged usr systems +override_dh_auto_configure: + dh_auto_configure -- \ + CP=/bin/cp RM=/bin/rm \ + LVCREATE=/sbin/lvcreate LVREMOVE=/sbin/lvremove \ + MOUNT=/bin/mount UMOUNT=/bin/umount + override_dh_install: dh_install # rename default configfile