Hi,

        I had time to look into this. The basic issue is that you are
 using sudo, which is deprecated. It creates ./debian as root; but clean
 is not run as root. 

cannot unlink file for
debian/linux-headers-4.4.0+/usr/src/linux-headers-4.4.0+/include/dt-bindings/input/linux-event-codes.h:
Permission denied at /usr/bin/make-kpkg line 950.


        I have now documented this in the man page and in the --targets
 execution.  If you use sudo, run sudo make-kpkg clean as well.

        manoj

 --rootcmd foo
        The command that provides a means of gaining super user access
        (for example, `sudo' or `fakeroot') as needed by
        dpkg-buildpackage's -r option. This option does not work for
        three of the targets, namely, binary, binary-indep, and
        binary-arch.  For those targets the entire make-kpkg command
        must be run as (fake)root.


-- 
I think we're in trouble. Han Solo
Manoj Srivastava <sriva...@acm.org> <http://www.golden-gryphon.com/>  
4096R/C5779A1C E37E 5EC5 2A01 DA25 AD20  05B6 CF48 9438 C577 9A1C

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to