On Mon, Dec 19, 2016 at 02:15:14PM +0800, Paul Wise wrote: > On Mon, Dec 19, 2016 at 1:54 PM, gustavo panizzo (gfa) wrote: > > > Is there any tool I can use to rebuild all packages which B-D/D on my > > package? i want to do a local test before bumping it on the archive > > apt install ratt Poor man's alternative I've used several times for dh-elpa's rbuild-deps: #!/bin/sh # build-rdeps foo > dscs # and edit dscs to remove lines that aren't packages while read p; do sbuild --no-apt-update --no-apt-upgrade --no-apt-distupgrade --extra-package="$HOME/src/dh-elpa_1.0_all.deb" \ --no-run-piuparts --no-run-lintian --no-run-autopkgtest \ --add-depends="dh-elpa (>= 1.0)" \ "$p" if [ $? != 0 ]; then echo "$p" >> failures fi done < dscs -- Sean Whitton
Attachment:
signature.asc
Description: PGP signature