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 <ja...@lakedaemon.net>
> 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 majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to