Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754566AbaDOPD5 (ORCPT ); Tue, 15 Apr 2014 11:03:57 -0400 Received: from cantor2.suse.de ([195.135.220.15]:57565 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751116AbaDOPDz (ORCPT ); Tue, 15 Apr 2014 11:03:55 -0400 Message-ID: <534D4A59.6080401@suse.cz> Date: Tue, 15 Apr 2014 17:03:53 +0200 From: Michal Marek User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.3.0 MIME-Version: 1.0 To: Vince Weaver , linux-kernel@vger.kernel.org CC: Jason Cooper , Grant Likely , Russell King , Rob Herring Subject: Re: [bisected] broken make-kpkg kernel build in 3.15-rc1 References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2014-04-15 15:43, Vince Weaver wrote: > > The following commit breaks building the kernel using the debian > make-kpkg command > > commit f4d4ffc03efc864645b990e1d579bbe1b8e358a4 > Author: Jason Cooper > Date: Sun Dec 1 23:56:28 2013 +0000 > > kbuild: dtbs_install: new make target > > > If I run this: > make-kpkg --initrd --rootcmd fakeroot kernel_image > > After this commit it fails with: > > make[2]: Entering directory `/home/vince/research/linux-kernel/linux-git' > sh /home/vince/research/linux-kernel/linux-git/arch/x86/boot/install.sh > 3.14.0-rc6+ arch/x86/boot/bzImage \ > System.map > "/home/vince/research/linux-kernel/linux-git/debian/linux-image-3.14.0-rc6+//boot" > run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 3.14.0-rc6+ > /home/vince/research/linux-kernel/linux-git/debian/linux-image-3.14.0-rc6+//boot/vmlinuz-3.14.0-rc6+ > /etc/kernel/postinst.d/apt-auto-removal: 84: > /etc/kernel/postinst.d/apt-auto-removal: cannot create > /etc/apt/apt.conf.d//01autoremove-kernels.dpkg-new: Permission denied > run-parts: /etc/kernel/postinst.d/apt-auto-removal exited with return code > 2 I fail to see how the above commit is responsible for this. make install starts /sbin/installkernel and the rest is the job of this script. To me, it looks more like a fakeroot failure than a bug in make install. Michal -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/