[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: repeatable dpkg-buildpackage



On Tue, May 27 2014, Ralf Mardorf wrote:

> "Note that when building a headers package you must run the entire
> make-kpkg command under fakeroot: you can't use the --rootcmd fakeroot
> option in this case." -
> https://lists.debian.org/debian-user/2012/10/msg00002.html

        Is that accurate?
--8<---------------cut here---------------start------------->8---
 % cd /usr/local/src/kernel/linus-tree
 % git pull
 % make-kpkg clean
 % make-kpkg -j6 --initrd --rootcmd fakeroot    \
     --revision=$(date +%Y.%m.%d)               \
     --append-to-version '-anzu' kernel_headers
This is kernel package version 13.013.
 ...
dpkg-deb: building package `linux-headers-3.15.0-rc7-anzu' in
  `../linux-headers-3.15.0-rc7-anzu_2014.05.27_amd64.deb'.
--8<---------------cut here---------------end--------------->8---

        manoj
-- 
If it heals good, say it.
Manoj Srivastava <srivasta@acm.org> <http://www.golden-gryphon.com/>  
4096R/C5779A1C E37E 5EC5 2A01 DA25 AD20  05B6 CF48 9438 C577 9A1C

Attachment: signature.asc
Description: PGP signature


Reply to: