From b0f8410e806cdd326a7ebb6654f6fb8a47bc739c Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Sat, 6 Jan 2018 01:33:00 +0000 Subject: [PATCH] dgit-user(7): Recommend mk-build-deps rather than apt-get build-dep. Closes:#863361. Suggested-by: Nikolaus Rath Signed-off-by: Ian Jackson --- debian/changelog | 2 ++ dgit-user.7.pod | 8 ++------ 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/debian/changelog b/debian/changelog index e85192f8..b2b512f8 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,6 +1,8 @@ dgit (4.2~) experimental; urgency=medium Documentation improvements: + * Recommend mk-build-deps rather than apt-get build-dep. + Suggestion from Nikolaus Rath. Closes:#863361. * dgit-maint-merge(7): many updates. [Sean Whitton] Closes:#864873,#878433. * dgit-*(7): Mention first upload trick. [Andrew Shadura, diff --git a/dgit-user.7.pod b/dgit-user.7.pod index c33cf300..c74396a5 100644 --- a/dgit-user.7.pod +++ b/dgit-user.7.pod @@ -35,7 +35,7 @@ or L and L. % curl 'https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=28250;mbox=yes;msg=89' | patch -p1 -u % git commit -a -m 'Fix libc lost output bug' % gbp dch -S --since=dgit/dgit/sid --ignore-branch --commit - % sudo apt-get build-dep glibc + % mk-build-deps --root-cmd=sudo --install % dpkg-buildpackage -uc -b % sudo dpkg -i ../libc6_*.deb @@ -288,15 +288,11 @@ a complete treatment is beyond the scope of this tutorial. =over 4 - % sudo apt-get build-dep glibc + % mk-build-deps --root-cmd=sudo --install % dpkg-buildpackage -uc -b =back -apt-get build-dep installs the build dependencies according to the -official package, not your modified one. So if you've changed the -build dependencies you might have to install some of them by hand. - dpkg-buildpackage is the primary tool for building a Debian source package. C<-uc> means not to pgp-sign the results. -- 2.30.2